Thursday, 3 Dec 2026 Global Edition
Live Wire
AI Today Daily AI journalism & intelligence
Front Page Tips & Tutorials Baca versi Indonesia

Messy Spreadsheet? Analyze Simple Data with AI — No Complex Formulas Needed

From messy CSV to meeting-ready insights: a practical guide to simple data analysis with AI, complete with copy-paste prompts for real work.

Messy Spreadsheet? Analyze Simple Data with AI — No Complex Formulas Needed

Every office worker knows this moment: an Excel file with thousands of transaction rows lands in your inbox at 4 p.m., the meeting is tomorrow morning, and you start frantically re-googling VLOOKUP tutorials. Here's the good news: you no longer need to memorize formulas. AI assistants like ChatGPT, Gemini, and Claude can now read spreadsheet files directly — inspecting the structure, cleaning messy data, computing summaries, drawing charts, even writing the formulas for you — all through plain-language instructions.

This guide walks you through analyzing simple data with AI step by step, complete with copy-paste prompts. The goal is concrete: turn a messy file into presentation-ready insights in minutes, not hours.

1. Prepare Your File: Simple Format Is AI's Best Friend

Before uploading, fix the small things that commonly trip AI up:

  • Prefer CSV whenever possible. ChatGPT and Claude can read .xlsx too, but CSV rarely causes parsing problems.
  • Make sure one table has exactly one header row at the top. Avoid merged cells, blank rows in the middle of data, and decorative double titles above the table.
  • Strip sensitive data first: customer names, ID numbers, salaries, or health information. Replace them with neutral codes like CUST-001. The pragmatic rule: if a leak of this file would cause panic, don't upload it to a consumer-grade service.

When it's ready, upload the file via the paperclip icon in the chat app, just like attaching a document to an email.

2. Ask the AI to 'Read' First — Don't Jump Straight to Analysis

The most common beginner mistake: immediately commanding 'analyze this data.' The result is generic and often off-target. A far more effective first move is asking the AI to describe what it sees:

Here is my store's monthly sales data. Before any analysis,
please: (1) list all columns and their data types, (2) the row
count, (3) three data quality problems you can spot (missing
values, inconsistent formats, duplicates). Don't compute anything yet.

This step builds conversational context and, more importantly, catches misreads early — like a date column parsed as text, or numbers with thousand separators treated as strings. If something looks wrong, fix it here before moving on.

3. Clean Dirty Data with a Single Prompt

Real-world data is rarely tidy: mixed date formats, one category spelled three different ways, stray spaces clinging to cell ends. This is exactly where AI saves the most time:

Clean this data:
1. Merge categories that match despite casing/typos
   (e.g. 'electroncs', 'Electronics ' → 'Electronics').
2. Standardize the Date column to YYYY-MM-DD format.
3. Remove duplicates and rows where Amount is empty.
4. Output a clean CSV file + a list of every change you made.

Asking for the 'list of changes' matters: you can verify whether the cleanup makes sense instead of trusting a black box. ChatGPT's data analysis feature (which runs Python) and Claude's analysis tool can return an actual downloadable file, not just text on screen.

4. Ask Specific Analytical Questions

'Analyze it' is not a question. Replace it with concrete questions you actually need, grouped by type: aggregation (totals and averages per category, region, or month), trends (up or down, peak months), comparisons (this period vs last period), and outliers (suspicious transactions, top customers).

Now answer these one by one:
1. Total sales per category, sorted from largest.
2. The month with the highest month-over-month growth and its rate.
3. The five customers with the largest transaction values.
Present as a compact table with exact figures.

A small trick: ask for a 'compact table with exact figures.' This phrasing forces the AI to compute from the real data rather than invent a narrative that sounds convincing but is hard to verify.

5. Charts and an Executive Summary in Seconds

For meetings, you need visuals and a summary. ChatGPT can generate charts and deliver them as downloadable image files; Gemini in Google Sheets and Claude's analysis tool offer similar simple visualization capabilities.

Create a bar chart of total monthly sales, plus a trend line for
the last 3 months. Title and labels in English. Then write a
5-sentence executive summary for my manager: key findings, one
worrying item, and two concrete action recommendations.

The findings → concern → recommendations structure almost always produces a summary managers enjoy reading, because the format is clear and decision-oriented rather than just repeating numbers.

6. Ask the AI to Write Formulas — You Don't Always Need to Upload Data

Sometimes the data is too sensitive to upload, or you simply need the formula itself. The trick: paste five to ten sample rows directly into the chat, then request the formula.

Sample of my data (5 rows):
A: Code | B: Date | C: Category | D: Amount
Give me Google Sheets formulas for: the 'Electronics' category
total for October only, and a lookup of customer names from
another sheet by Code. Briefly explain each argument.

The AI will hand you SUMIFS and XLOOKUP with explanations — a far faster way to learn formulas than scrolling forums. Notably, Google Sheets now has a built-in Gemini-powered =AI() function for simple tasks like classifying or summarizing cell contents; you write it just like a regular formula in a cell.

7. Verify the Numbers — Never Trust Blindly

AI can miscalculate, and it sometimes delivers those mistakes with total confidence. Three cheap verification habits that save you:

  • Test with an answer you already know. Ask for the total of a month whose figure you know by heart, then compare.
  • Ask it to show its work: 'show the calculation steps in Python' so the logic is traceable, not just the final result.
  • Cross-check the AI's grand total against the original file. If they differ, some rows were almost certainly dropped during cleaning.

For sensitive company data, use paid or enterprise plans that disable model training on your data, or features like Copilot in Excel that operate inside your company's Microsoft 365 ecosystem.


AI doesn't replace your ability to think about data — it removes the mechanical part: cleaning, computing, charting. Try this workflow on one small file this week. Once it clicks, you'll wonder how you ever tolerated cleaning spreadsheets by hand.

References

Partner Spotlight Explore today’s curated technology offers