Guides Claude

How to Use Claude in Excel: Clean Data, Fix Formulas, and Build a Report

Learn how to use Claude in Excel to clean data, fix formulas, and build a sales report.

beginner 6 steps 6 resources
How to Use Claude in Excel: Clean Data, Fix Formulas, and Build a Report
How to Use Claude in Excel: Clean Data, Fix Formulas, and Build a Report

Introduction

Updated October 6, 2026

Claude in Excel puts an AI assistant beside your workbook. You can ask it to explain formulas, clean data, and build a report without moving your work into another app. Anthropic offers these features through its Claude for Microsoft 365 add-in.

In this guide, you will turn a messy sales export into a monthly report, then check the numbers. The example includes duplicate orders, amounts stored as text, refunds, and a summary that looks plausible but uses the wrong calculation.

University Pro members get the practice workbook, a checked reference, prompts, and an answer key. You can also follow the workflow with a small workbook your team permits you to use. The sample totals below apply only to our fictional dataset.

Step-by-step 6 steps

Instructions

  1. Step 1 of 6

    Install Claude in Excel and save a working copy

    Open the official Claude for Microsoft 365 listing and select Get it now. Check that the publisher is Claude by Anthropic for Office before installing. The listing describes an add-in that can read and change your document and send data over the internet.

    Open Excel, activate the add-in, and sign in with Claude. Follow Anthropic's installation steps: on Windows, check Home → Add-ins; on Mac, check Tools → Add-ins.

    Open the practice workbook and save a separate working copy. Keep the checked reference closed while you try the exercise. Open only the files you need and let each task finish before editing cells yourself.

    Claude in Excel open beside the fictional practice workbook with its three source sheets visible.
    Claude in Excel open beside the practice workbook, with the Read Me, Raw Data, and Old Report sheets visible.

    The practice workbook starts with three sheets:

    SheetWhat it contains
    Read MeThe reporting month, field definitions, and cleaning rules.
    Raw DataThe original export, with 22 rows and six columns.
    Old ReportAn incorrect September summary for Claude to inspect.
  2. Step 2 of 6

    Ask Claude to inspect the workbook first

    Start by stating what each row means and what the report should count. The practice data uses one row per order, US dollars, and US month/day/year for dates written with slashes.

    Paste this into the Claude sidebar:

    Read the Read Me, Raw Data, and Old Report sheets. Make no changes yet. We need a September 2026 sales report. Count only Paid orders dated September 1 through September 30. Net sales means Sales USD minus Refund USD. Count each order once. Check for duplicate order IDs, inconsistent labels, dates stored as text, amounts stored as text, missing fields, and formulas that break these rules. Cite the sheet and cells for each issue. Explain how Old Report calculates its total. List the fixes you propose. Flag unclear values for my review. Wait for my approval before editing. Use only this workbook; do not browse, connect other apps, or send anything.

    Read the response beside the source cells. Follow a cited cell reference and check that it supports the claim.

    Claude's workbook inspection cites the fictional source cells containing duplicate orders and formula issues.
    Claude identifies duplicate orders and formula issues, citing the affected workbook cells before making changes.

    A useful diagnosis should identify both repeated order IDs, the text-formatted amounts, inconsistent labels, and the missing region. It should also question a formula that simply adds the raw sales column.

    The meaning of the data comes from you. A column called “sales” does not tell Claude whether it includes tax, canceled orders, or refunds. State those rules before it starts.

  3. Step 3 of 6

    Clean a copy and keep a record of the changes

    Review the proposed fixes, then send:

    Create a Clean Data sheet and a Change Log. Keep Raw Data and Old Report unchanged. Follow the Read Me rules. Convert dates into real Excel dates and amounts into numbers. Trim spaces and standardize the listed region and status names. A missing region becomes Unassigned; keep that order and its amount. Keep one row per Order ID only when all normalized source fields agree. Record the source rows you exclude. If two rows with the same ID disagree, stop and ask me. Do not guess missing amounts. Put the cleaned rows in an Excel table named Sales. Retain the original six columns and add a Net sales USD formula column and a Raw source rows column. Keep canceled and out-of-period orders in Clean Data so the report can filter them. Record each correction and its source cells in Change Log.

    In the supplied workbook, 22 raw rows should become 20 distinct orders. Two extra rows repeat orders already present. The order with no region must remain, labeled Unassigned.

    The fictional cleaned Sales table in Excel with the Clean Data and Change Log sheets visible.
    The cleaned Sales table keeps one row per order while the Change Log records each correction.

    Removing a repeated export row differs from removing a real order. A shared customer name, date, or amount is not enough to decide that two orders are duplicates.

    Pro member resource: Use the separate answer key to check the cleaning decisions, including the exact repeated rows and changed labels. Keep it out of Claude's first attempt so you can judge the result fairly.

  4. Step 4 of 6

    Fix the report logic, then add the chart

    The old report returns a number without showing a formula error. That makes the mistake easy to miss: it adds raw amounts without applying the reporting rules.

    Ask for a new report:

    Create a Report sheet using formulas that reference the Sales table. Leave Old Report unchanged. Use a visible reporting-month cell set to September 2026. Include only Paid orders within that month. Show paid-order count, sales before refunds, refunds, net sales, and net sales per paid order. Explain the formula for each metric. Add a regional summary that includes Unassigned. Its total must match the headline net sales figure. Use formulas for calculated results, not pasted totals. Handle a month with no paid orders without dividing by zero. List any remaining data concerns.

    Inspect the formulas before asking for charts. The net sales per paid order calculation divides total net sales by the number of eligible paid orders.

    Once the figures pass your checks, request the chart:

    Add one column chart showing net sales by region. Link it to the visible regional summary so it changes when those formulas recalculate. Label the chart with the reporting month and USD. Start the value axis at zero. Keep the source table visible and the chart clear of other cells. Format dollar amounts consistently, use clear headings, and freeze the data headers. Keep the layout simple enough to read without zooming in.
    The fictional September Excel report with checked headline totals, a regional summary, and a column chart.
    The finished September report shows the checked totals and a linked regional net-sales chart.

    Excel tables can extend calculated columns as rows are added. That makes them useful for a report you intend to reuse, but you still need to test the formulas and chart.

  5. Step 5 of 6

    Check the numbers against the answer key

    For the supplied fictional workbook, these are the correct September results:

    CheckExpected result
    Rows in the untouched export22
    Distinct orders after removing repeated rows20
    Paid orders within September16
    Sales before refunds$15,150.00
    Refunds on those orders$170.00
    Net sales$14,980.00
    Net sales per paid order$936.25

    We calculated these figures independently from the sample inputs. They are an answer key, not a claim about what Claude produced in a live test.

    Spot-check two orders. S1006 has $1,200 in sales and a $120 refund, giving $1,080 net sales. S1011 has $650 in sales and a $50 refund, giving $600. Check that each appears once in the report.

    The $300 Unassigned order must remain in the total. Two canceled September orders and two orders outside September must stay out of the report.

    If something differs, ask:

    Trace the difference between this report and the expected result. Show the source rows, filters, and formulas involved. Explain the cause before changing anything. Do not replace a formula with the expected number just to make the check pass.

    A matching total is one check. Also inspect the rows and formulas. Two separate mistakes can cancel each other out.

  6. Step 6 of 6

    Test whether the report updates

    Save another copy of the reviewed workbook. Inside its Sales table, add one test order:

    Order IDOrder dateRegionStatusSales USDRefund USD
    S1021September 29, 2026EastPaid$500.00$0.00

    Confirm the new row is part of the table and its net-sales formula fills in. The report should now show 17 paid orders, $15,480 in net sales, and $4,400 for East. The East bar should update too. Net sales per paid order should display $910.59.

    If those values do not change, inspect the table boundary, formula coverage, chart source, and Excel's calculation setting. In Manual calculation mode, results can remain stale until recalculation.

    Remove only the test row and confirm the report returns to its original figures. Keep a record of both checks.

    Then ask Claude to add a short monthly-use note:

    Add instructions explaining where new exports belong, which cleaning rules need review, how to change the reporting month, and how to run the checks again. Keep the sample source data intact. Do not create a schedule or change other files.

    Next month's export still needs review. New region names, duplicate IDs, and missing values can break assumptions that worked for this sample. A reusable report does not clean a fresh export by itself.

You're done

That's the whole workflow

Mark it complete to save your progress. Background and answers to common questions follow below.

Keep going

Keep learning with Rundown Pro

A guide shows you one workflow. Pro opens the full course library, so you can learn the whole system behind it.

  • Every on-demand course
  • Certifications on completion
  • Group office hours and member perks

$29/mo, cancel anytime

Overview Back to the steps

Background and context

What can Claude do in Excel?

Claude can read and edit cells, work with formulas, format sheets, and create charts and pivot tables. Its workbook answers can include clickable cell references, which help you trace a result to its source.

Start with a small task you can check. Ask why a total changed, clean one export, or repair a formula before requesting a whole report.

For this exercise, the finished workbook will have a Clean Data sheet, a Report sheet, and a Change Log. The original export and old summary stay intact.

What you need

For the standard Claude sign-in used here, you need a paid Claude Pro, Max, Team, or Enterprise account. Organizations can instead deploy a supported third-party connection without individual Claude accounts. Work accounts may need admin approval.

Use a supported version of Excel: Excel on the web; Microsoft 365 Excel on Windows build 16.0.13127.20296 or later; or Excel on Mac version 16.46, build 21011600 or later. Excel on iPad or Android, older Microsoft 365 builds, and perpetual or volume-license Excel 2016/2019 builds are not supported.

This walkthrough uses an ordinary workbook and the Excel sidebar. You need no terminal, API key, or connection to your inbox. Your Claude usage allowance applies.

Use the add-in or upload a file to Claude?

Use the Microsoft 365 add-in for this guide. It works in the open workbook.

You can also upload a workbook to a regular Claude conversation and ask for a revised file. That route produces a separate download and has different controls. It does not demonstrate the Excel sidebar steps below.

Save useful instructions for next time

Once the process works, write down your reporting rules: what to count, how to handle refunds, which labels to use, and when to ask a question.

With direct Claude sign-in, Claude for M365 supports enabled Skills for repeated tasks. Skills and connectors may not be available through third-party deployments. You can explore that later. A clear written brief and a checked example are enough to start.

Common Claude in Excel problems

ProblemWhat to check
The add-in is missing.Confirm the official installation, Excel support, and your organization's app policy.
A large job stalls.Name a smaller sheet or range. Let the current operation finish before starting another.
Claude reports a timeout.Wait for Excel to respond, inspect what changed, then save. Office may still be running the last operation.
A new row does not change the report.Check the table boundary, calculated column, date and status filters, and calculation mode.
The chart disagrees with the table.Inspect its source range and check for copied values or omitted rows.
The result looks right but lacks evidence.Ask for source cells and inspect the formulas yourself.

Anthropic recommends smaller, staged requests for heavy workbooks. A timeout ends Claude's wait; it may leave an Office operation running.

Build an AI reporting process you can check

The next step is to test the same workflow on several exports, including incomplete data and cases that failed before.

Nate Grahek's Intro to AI Evals teaches how to choose test inputs, define expected answers, and compare AI results for quality, speed, and cost. Its examples use a spreadsheet and Claude Code; the course teaches testing methods rather than this specific Excel add-in.

Watch Intro to AI Evals with University Pro →

FAQ 5 questions

Frequently asked questions

Is Claude in Excel free?

The standard direct sign-in requires a paid Claude account. Some organizations use a separate, admin-managed connection through a supported cloud provider. Check your organization's setup before buying another subscription.

University Pro is separate. It provides this guide's prepared resources and University courses, not a Claude subscription or Excel license.

Can Claude fix Excel formulas?

It can inspect formulas and propose edits. Ask it to trace the source of an error, then test the fix against known inputs and one changed value.

Can it run macros or VBA?

Anthropic lists macros and VBA operations as unsupported. This exercise uses normal cells, formulas, a table, and a chart.

Can I use it with confidential workbooks?

Check your organization's policy first. Workbook content you ask Claude to use goes to the configured model endpoint. Local chat storage does not make processing local-only. For direct Anthropic connections, inputs and outputs are deleted from the backend within 30 days, subject to policy exceptions. Other providers have their own terms.

The add-in's local history keeps the 50 most recent conversations per user, organization, and Office app. It has no age-based expiry and does not inherit an organization's custom retention period. Review Office add-in data storage and retention before using confidential files.

Start with approved data, keep a backup, and leave unused connectors off. Inspect unfamiliar workbooks before granting access. Instructions in a workbook can try to redirect an AI's task; review unexpected actions.

Can it handle a huge workbook?

Large ranges and heavy formulas can slow Excel. Start with the relevant sheets and a narrow request, then expand the task. Avoid treating an individual read limit as the maximum workbook size.