Demo: Clean a Messy Sheet With Claude, Then Chart It
A real run on a made-up sheet of 36 sales orders: one request cleans the labels and returns a change list, you decide the blanks, formulas answer three questions, a chart ties out, and one count by hand catches a row Claude missed.
What you will learn
- Ask Claude to standardise messy labels and return a change list
- Decide what to do with blank cells yourself, and say why
- Ask three questions answered with live formulas next to the data
- Check a chart and a filtered count by hand before trusting them
Before you start
- Setting up Claude inside Excel, and where it stops
In this demo you take a messy spreadsheet, clean it, ask it a few questions, and chart it. Then you check the answers before you trust them, and one of them turns out to be wrong.
The recording uses Claude Sheets: a spreadsheet you create inside claude.ai, with an Ask Claude box where you describe a change in plain words and Claude edits the cells. The same idea works in Excel with the Claude add-in. The data is a made-up sheet of 36 sales orders.
Step 1: look at the mess
- Region labels in lowercase: south, north.
- Nrth and N. both mean North, but a spreadsheet counts them as different regions.
- Blank Region cells: rows 4, 10 and 15, and two more further down.
- Product names written several ways: widget a and Widget-A are both Widget A, and Widget B sometimes has two spaces in the middle.
Step 2: ask for the clean-up
One request, worth reading slowly. In plain words, the request said:
Use one spelling for each value in Region and Product: trim the extra spaces and use title case. N. and Nrth become North, and Widget-A and widget a become Widget A. Label blank Region cells Unknown and keep the rows. Don't change dates, units or revenue. Then list what you changed.
You name the variants so it doesn't have to guess, you decide the blanks, you add a guard rail on the numbers, and you ask for a change list.
Step 3: read the change list
Claude's reply says Region and Product are now standardised; dates, rep, units and revenue are untouched; all 36 rows are kept. Then each fix, with row numbers: north, Nrth and N. all become North. And blank to Unknown, five rows: 4, 10, 15, 23 and 31.
Match that against the sheet behind it. Rows 10 and 15 now say Unknown.
Step 4: the blanks are your call
You could guess the region, or delete those rows. But a guess might be wrong, and deleting rows makes the grand total wrong. Labelling them Unknown keeps the rows, so the total stays right and the region totals show an Unknown bucket where you can see the gap. That decision is yours, not Claude's.
Step 5: ask three questions
A second request asks for formulas in small tables starting at H1, so the answers sit next to the data:
- Units and number of orders by region, highest first.
- Revenue by product, highest first.
- Revenue by month, plus the biggest single order in each month.
What came back:
| Question | Answer in the sheet |
|---|---|
| Region | North sold the most: 367 units across 14 orders. Unknown holds 78 units across 5 orders. |
| Product | Widget B earns the most: 11,305 |
| Month | April is best at 4,940, but its largest single order is 2,000, so April leans on one big order |
Click the North units cell and the formula bar shows a formula, not a typed number. It lists the unique regions, adds units and counts orders with SUMIF and COUNTIF, and sorts the result. One formula fills the table, and it updates when the data changes.
Step 6: top five and a chart
Next request: highlight the five highest revenue cells in column F in green, and add a bar chart of revenue by region below the region table, using the cleaned data.
Four of the green cells are on screen (1,365, 1,550 and two of 2,000); the fifth, 1,400, is higher up. The chart shows North 11,720, West 4,830 and South 4,010, and Unknown has its own bar of 2,445 next to East, so the gap stays visible.
Step 7: a filter, and a check
Then: add a filter showing only North and Widget A rows, delete nothing, and check whether the chart's bars add up to the column F total.
- The filter: Claude said it can't set it. Filters in a Claude Sheet are your own view, so you use the filter button in the header row. Honest, and fine.
- The chart check: the bars add up to 25,435, the column F total is the same, difference zero. The chart ties out.
- The row list: it says five rows, then six rows, 170 units, 3,400 revenue. Those two don't agree with each other, so don't take the list on trust.
Step 8: filter it yourself, then count
Set the filter with the header-row button: only North under Region, only Widget A under Product. The sheet says 7 of 36 rows. Count them: rows 5, 8, 13, 14, 19, 27 and 34. Units add up to 177, revenue to 3,540. Claude's list missed the 4 February row.
The chart still shows every region, because a filter only hides rows on your screen; it doesn't change the data. Clear all brings everything back.
Common mistakes
- Letting it guess the blanks. Tell it what to do with them.
- Accepting typed numbers. Ask for formulas so you can click and see.
- Trusting a confident list. If its own numbers disagree, count by hand (see spotting AI fabrications).
If you only need answers from a sheet and don't want it changed, see asking questions of a spreadsheet; for checking any chart before you send it, see charts, summaries and sanity checks.
Recap
| Step | Your job |
|---|---|
| Clean | Name the variants, protect the numbers, ask for a change list |
| Blanks | Decide yourself: Unknown, rows kept |
| Ask | Formulas in tables next to the data |
| Chart | Check the bars add up to the column total |
| Filter | Set it yourself and count one result by hand |
StudyEasy AI Community
Learn AI engineering, share what you build, and connect with other learners.
Free resources: lesson files, notebooks and code
Ask questions and join engineering discussions
Meet real people learning and building with AI
Related course on Udemy
Understand AI and Get the Boring Stuff Done
Use Claude, ChatGPT, Gemini and NotebookLM for everyday work, safely.View on Udemy ↗: Understand AI and Get the Boring Stuff Done (paid course, opens in a new tab)Related posts
Claude.ai Interface Tour: Every Control You Need on One Screen
Sign in to claude.ai and learn the one screen you'll use for everything: the chat box, the model selector, the sidebar with chats and Projects, the attach and tools row, the Artifacts panel and Settings.
The AI Fluency Model: Delegation, Description, Discernment and Diligence
Most people pick up AI skills in a random order. The AI Fluency Model builds them in sequence: Delegation (what to hand off), Description (asking well), Discernment (judging the output) and Diligence (using it responsibly).
Working With Claude: Pick the Surface, Match the Model, Keep the Context Clear
Three questions every time you use Claude: where do I use it, which model fits, and how do I keep it sharp? Learn the five surfaces, the four model tiers and the context window, with three habits that keep the board clear.
Claude's Four Entry Points: Choose Chat, Projects, Artifacts or Research Before You Type
Before you type, pick the room: Chat for a quick word, Projects for recurring work with your files, Artifacts for a deliverable you'll edit and keep, Research for a deep, cited dig. A decision guide with links to each deep dive.
