Best AI tools for analysing Excel and CSV data
Choose Copilot in Excel, ChatGPT or Claude by workflow and access, then require traceable cleaning, clearly defined totals and an export you can check.

Choose Microsoft Copilot in Excel if you want to work inside your workbook and have access; ChatGPT if you prefer analysing an attached file with inspectable calculations; or Claude for a downloadable workbook. These are workflow recommendations, not an accuracy ranking. For verifiable analysis, the deciding factor is whether you can explain the cleaning, define the population being analysed and check the exported result.
No product trial or timing exercise was conducted for this article. The exercise below is synthetic: its expected results follow from explicit rules and elementary arithmetic, not observed vendor performance. Before choosing, check the permissions and capabilities available in your account.
Three choices based on where you work
Microsoft Copilot in Excel: stay inside the workbook
The Copilot pane for exploring Excel data can suggest summaries and charts; its results require checking.
Choose this route when the question, data and output should remain close together. The tradeoff is the need to distinguish a suggestion from an edit already applied. Specify the range, permitted columns and cells to preserve before requesting changes. Still keep your own starting copy. The QAILT walkthrough for analysing data with Copilot in Excel develops this working context.
ChatGPT: analyse an attached file
For attachments, the ChatGPT data analysis documentation describes Excel and CSV support, charts and, for some tasks, inspectable Python. Capabilities vary by account; accepting a file does not guarantee that it can be analysed completely.
Keep the original separate from the derived analysis and request transformation details. Use the QAILT spreadsheet analysis guide for ChatGPT to prepare requests while continuing to demand checkable evidence.
Claude: organise file-based work in the conversation
Claude can produce a downloadable workbook from files supplied in the conversation.
Request a controls sheet and transformation log. Compare both with the raw input before sharing the deliverable. The QAILT walkthrough for working with Excel files in Claude develops this method.
Selection criteria that matter more than an attractive chart
Start with a transformation agreement. What does one row represent? Which field identifies an observation? Which changes are authorised? An exact repeat and an identifier associated with two different amounts are different problems. The former may meet a deduplication rule; the latter needs a decision, not automatic deletion.
Next, inspect the actual import. A CSV should produce the intended columns, not a single column containing each entire line. In Excel on Windows, the regional list separator affects the CSV delimiter, as explained in Microsoft’s separator guidance. Do not generalise that settings path to Mac or the web. Also inspect types: text identifiers, numeric amounts and genuinely empty cells. A silent conversion can alter meaning before analysis starts.
Finally, require three distinct outputs: cleaned data, a filtered view and controls. Cleaning should not erase observations merely because they fall outside one question. A sum must name its population and disclose what it leaves out. A chart cannot repair a missing value or an ambiguous selection rule. Decide in advance what evidence would make you reject an otherwise plausible conclusion.
For writing a formula that fits your Excel settings or understanding what changes when it is copied, our guide to AI tools for Excel formulas offers a complementary exercise with two expected results.
Proposed exercise: clean six rows without inventing an amount
Apply these rules before calculating anything: preserve the raw file; keep IDs as text; remove only the second fully identical T004 occurrence, matching all four fields. If another file contains contradictory values for the same ID, flag them for a decision. T005’s missing amount must become neither zero nor an estimate, and its row must remain. The main analysis includes only Status=Paid.
ID,Region,Amount,Status
T001,North,120,Paid
T002,South,80,Paid
T003,North,50,Pending
T004,North,30,Paid
T004,North,30,Paid
T005,South,,PaidIf headers occupy the first worksheet row, the data occupies A2:D7: the second T004 occurrence is row 6, and T005’s amount is blank in C7. These references describe the raw file, not positions after deletion. Keep field names in the log so that moving rows does not make the explanation hard to follow.
Expected controls
| Stage | Rows | Known amounts | Missing amounts | Known sum |
|---|---|---|---|---|
| Raw, all statuses | 6 | 5 | 1 | 310 |
| Cleaned, all statuses | 5 | 4 | 1 | 280 |
| Paid view after cleaning | 4 | 3 | 1 | 230 |
The change from 310 to 280 is explained entirely by removing the duplicate worth 30. The change from 280 to 230 reflects excluding T003, Pending, for this analysis only. 230 is the sum of known Paid amounts, never the complete Paid total. That complete total remains unknown because T005 has no amount.
The expected cleaned table retains T001, T002, T003, the first T004 occurrence and T005 with its blank amount. The log should identify the discarded row and the “same four fields” rule, rather than merely saying “duplicates removed”. That detail makes the decision open to challenge and reproducible. It also prevents a future reviewer from assuming that every repeated identifier was automatically discarded.
Within the Paid view, North has 150 known and South has 80 known plus one missing-amount row. This does not establish that North’s complete total exceeds South’s. Any chart must say “known Paid amounts” and flag South’s missing value. Avoid a title implying a complete regional ranking, and avoid a display that visually turns the blank into zero.
A reusable prompt
Work on a copy and preserve the raw file. Check the delimiter, columns and types; keep ID as text. Remove only the second T004 row that is identical across all four fields. Flag conflicting IDs for a decision. Do not impute amounts, replace blanks with zero or drop T005. Produce a transformation log identifying the removed row and rule, a before/after table of row counts, known amounts, missing amounts and sums, followed by the full cleaned table. Analyse Status=Paid separately. Provide inspectable calculations or code as available in your workflow. Label any chart as showing known amounts and flag South’s missing value. Supply an export or recoverable table; explain limitations and never describe 230 as a complete Paid total.
Verify the deliverable rather than trusting the conclusion
If a file is supplied, reopen it: it should contain five cleaned rows, preserve T005’s blank and reproduce 280 for known amounts across all statuses, then 230 in the Paid view. Also check that Pending was not deleted from the main table. If only a recoverable table is available, repeat the same checks after retrieving it. Inspect the reopened data rather than relying on the accompanying narrative.
Keep the raw input, prompt, deduplication rule, transformation log, available calculations, cleaned table and reviewed deliverable together. Reproducing a result requires explaining every difference, not simply rerunning a conversation. Choose the tool whose access conditions and working environment let you complete that whole chain. If one step cannot be verified, narrow the conclusion instead of increasing the confidence of its wording.
Put it into practice
Related tools

Microsoft Copilot
Microsoft AI Assistant designed to improve productivity, research, and task organization

Claude
AI Assistant for analysis, writing and code support to work faster on complex tasks

ChatGPT
Versatile AI assistant to search, write, analyze and automate many everyday tasks






