Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Excel + AI
  1. Tracks
  2. ›Excel + AI: Module 1
  3. ›Claude for Excel: Formula Debugging and Pivot Tables in Plain English
3

Level 3 · Lesson 5 of 32 · Free

Claude for Excel: Formula Debugging and Pivot Tables in Plain English

After this, you'll be able to use Claude to diagnose a broken formula, trace its root cause across multiple cells, and build or edit a pivot table by describing what you want in plain language, without opening the PivotTable wizard.

Before you start

Do In-Excel assistants: Claude for Excel and Copilot first.

The idea

The Claude for Excel sidebar debugs a broken formula by tracing it to the root cause and builds or edits a pivot table from a plain-English description, the two tasks that eat the most Excel time. Two Excel tasks consume more time than almost anything else: debugging a formula that returns an error and building a pivot table from scratch. The Claude for Excel sidebar handles both, and it shows you the root cause, not just the fix.

Worked example

Before and after

Without the sidebar, a #VALUE! error sends you hunting through precedent cells (the cells a formula pulls its numbers from) one by one, checking each for text where a number should be. With the sidebar, you click the broken cell and type "why is this broken?"

You may wonder if the sidebar will just patch the error and leave you none the wiser. The lesson has you ask it to name the guilty cell and why, and stopping after your first traced error is fine. Copilot in Excel can explain an error too: whatever you use, ask for the cause before you accept the fix.

How the trace and the pivot work

Claude traces backwards: "Cell F12 multiplies D8, but D8 holds the text N/A instead of a number. Fix: replace it with a number, or wrap the formula in IFERROR (a formula that shows a blank or message instead of an error)." It also highlights D8 in the spreadsheet so you can click the citation and jump straight there.

A pivot table is a summary that totals your rows by category, such as revenue per product per month. Describe the view you want in plain English and Claude builds or edits it, so you skip the PivotTable wizard (the step-by-step menu for building one by hand). It also explains what each section represents, and if you have no add-in, Claude chat can describe the steps for you to click through.

Check a pivot before you trust it

Claude can build or edit the pivot, but you still check its source range, the block of cells the pivot reads from, so new rows are included. Then check the refresh behavior: a pivot does not update itself when your data changes until you choose Refresh.

Now try it: this needs the Claude for Excel add-in from the last lesson, which needs a paid Claude plan. If you have none, paste the same sample rows into claude.ai (lesson 1) and ask for the same trace.

Open a workbook with a #VALUE! or #N/A error, click the broken cell in the sidebar, and ask "trace this error back to its root cause and explain what was wrong." Then ask Claude to build a pivot table by describing the rows, columns, and values you need, no PivotTable wizard required.

Put module 1 together

Module check: A coworker sends you a messy export where order dates are text in three different formats, and your work laptop blocks add-ins. You need a formula that turns those dates into real dates and a quick summary of sales by month, so which tool do you use for each job and what do you check before you trust either result? One good answer: I would paste 8 sample rows into a chat window (lesson 1) and ask for a date formula plus the reason it works, then ask the same chat to describe the steps for a pivot table that I click through myself, and check the formula on 5 rows and the pivot's source range before I send anything.

Ask which cell caused the problem and why, so you understand the pattern and don't repeat it. The same sidebar builds or edits pivot tables from a plain-English description.

Try it (19 min)

Paste this into Claude

Open a new Excel workbook and create two sheets: "Sales" and "Products".

In the Products sheet (A1:C6):
| SKU | Category | Unit Price |
|-----|----------|------------|
| SKU-001 | Mugs | 24.99 |
| SKU-002 | Office | 45.00 |
| SKU-003 | Electronics | 32.50 |
| SKU-004 | Kitchen | 18.75 |
| SKU-005 | Lighting | 29.99 |

In the Sales sheet (A1:E11), type these columns and 10 rows (Order ID, SKU, Month, Units Sold, Revenue). Leave Revenue empty for now.
| Order ID | SKU | Month | Units Sold |
|----------|-----|-------|------------|
| O-1001 | SKU-001 | Jan | 10 |
| O-1002 | SKU-002 | Jan | 4 |
| O-1003 | SKU-003 | Jan | 6 |
| O-1004 | SKU-004 | Feb | 8 |
| O-1005 | SKU-005 | Feb | N/A |
| O-1006 | SKU-001 | Feb | 5 |
| O-1007 | SKU-002 | Feb | 3 |
| O-1008 | SKU-003 | Mar | 7 |
| O-1009 | SKU-004 | Mar | 9 |
| O-1010 | SKU-005 | Mar | 2 |

Type the text N/A (a word, not a number) in D6 on purpose. In E2 enter this formula and fill it down to E11 (select E2, then drag the small square at its bottom-right corner down to E11):
=D2*VLOOKUP(B2,Products!A:C,3,0)
(It multiplies Units Sold by the Unit Price looked up for that SKU.) E6 will show #VALUE! because D6 holds text.

Then in the Claude sidebar:
1. Click on cell E6 and ask: "This formula is returning #VALUE!. Why is it broken? Trace back to the root cause."
2. After Claude explains the fix, ask: "Fix the problem so the Revenue column works for all rows."
3. Then ask: "Create a pivot table on a new sheet showing total Revenue by SKU, with Month as columns, using the Sales data."

Check yours against

  • Claude correctly identified that the text N/A in D6 is the root cause of the #VALUE! error in E6
  • Claude's explanation mentioned the specific cell or column causing the problem, not just the formula
  • The Revenue column was fixed across all rows after Claude applied the correction
  • A pivot table was created on a new sheet with SKU in rows, Month in columns and totals calculated correctly
  • Claude explained what the pivot table rows and columns represent in plain English
ProofMove through Claude for Excel: Formula Debugging and Pivot, check proof, then fix only the weak part.
yesnorun it again
StartBegin with the real task
Claude for Excel: FormulaAfter this, you'll be able to use Claude to diagnose a broken formula, trace its root
1Proof visible?Claude correctly identified that column C formatted as Text is the root cause of the
Ready to useIdentify the root cause of a VALUE! error using the sidebar's chain-tracing, apply
Fix the weak partBreaks on data tables, macros, or VBA, because current Claude for Excel docs exclude
  • Asking Claude to 'just fix it' without reading the explanation. The explanation teaches you what pattern to avoid; read it even if you don't fully understand it yet
  • Expecting Claude to fix data tables, macros, or VBA from the add-in. Current docs exclude those advanced capabilities, so use Excel's native tools or the web app for code help
  • Building a pivot table and then skipping Excel's refresh and source-range checks. Claude can build or edit pivot tables, but you still verify the source data and refresh behavior
  • Not turning your data into a proper Excel Table (a range Excel treats as one named block that grows with new rows) before asking for a pivot table. Plain ranges are harder for Claude to reference consistently; select your data and use Insert > Table first
  • Treating Claude's formula fix as final without testing edge cases. Claude's fix is correct for the cases it saw; test with a blank cell, a zero value, and an unexpected format to confirm it handles real-world variation

When this breaks

  • Breaks on data tables, macros, or VBA, because current Claude for Excel docs exclude those advanced capabilities from the add-in.
  • Fails when source data is an unnamed range instead of an Excel Table, because Claude has no stable reference to grab. It can guess at column boundaries, but the guess silently shifts as rows are added or removed.
  • Degrades when you trust a fix without edge-case testing, because Claude's correction is right for the values it observed. A blank cell, a zero, or an unexpected text value can re-break the same formula in a way the sidebar didn't anticipate.

AI can help with this

Ask for the cause before the fix. Claude for Excel traces an error across cells; Copilot in Excel (Edit mode) can fix it in the sheet; Gemini in Sheets offers a fix on an error cell; ChatGPT works from a pasted sample or the add-in. Keep the error cell, the expected result and sample rows visible.

You can now

✓

You can complete the lesson outcome on a real or realistic spreadsheet sample.

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

Without scrolling up, name a number in your own workbook that came out wrong. Say what you'd ask the sidebar to find, how you'd get to the cell it blames, and what the data should look like first.

One good answer: 'My payroll sheet's hours lookup keeps erroring. I'd turn the data into a proper Table, ask the sidebar to trace the error to its root cause, then click its citation to jump to the cell with the mismatched employee ID.' If yours prepares the data and asks for the cause, that works. An answer that only patches the cell misses the cause.

Key takeaways

Ask which cell caused the problem and why, so you understand the pattern and don't repeat it. The same sidebar builds or edits pivot tables from a plain-English description.

  1. 1The sidebar traces formula errors back to their root cause, not just the symptom, so you learn the pattern, not just the fix.
  2. 2Pivot tables can be built or edited by describing the view you want in plain English. Claude walks you through what each section represents.
  3. 3Cell-level citations let you click a reference in the sidebar and jump directly to the offending cell. This is a native-add-in-only capability.
  4. 4Format your data as a proper Excel Table before pivots and analysis. Unnamed ranges produce drifting references.
  5. 5Data tables, macros, and VBA are out of scope for the add-in. For code help, use the web app and verify manually.

Go deeper

  • F9 Finance: Claude for Excel vs. Copilot head-to-headf9finance.com (opens in a new tab) ↗
Up nextBuild Your Budget vs Actuals Tracker→

Was this helpful?

← Back to Excel + AI