How to Use ChatGPT with Excel: Practical Examples

By Raj Singh, Microsoft Certified Trainer · Published 8 April 2026 · Updated 12 August 2026 · 9 min read

Where ChatGPT genuinely helps in Excel work, the prompt pattern that produces usable formulas, and what to never paste into it.

ChatGPT does not sit inside your workbook. It is a thinking and drafting tool beside it. Used that way it removes a lot of the slow parts of Excel work — the fiddly formula, the error you cannot place, the cleanup sequence you have to plan.

The prompt pattern that works

Weak prompts describe the goal. Strong prompts describe the sheet. Give ChatGPT the column letters, the headers, a couple of sample rows, your Excel version, and the exact output you want.

Excel 365. Sheet "Sales", Table named tSales.
Columns: A Date, B Region, C Salesperson, D Amount (numeric), E Status (Paid/Pending).
Write one formula returning total Amount for Region "West" where Status is "Paid" and Date is in the current financial year (April–March).
Use structured references. Explain each argument in one line.
Context, then a single specific ask.

Five tasks it does well

  1. Writing a formula you can describe but not construct, including nested SUMIFS and dynamic array combinations
  2. Explaining an error — paste the formula and the error and ask what condition produces it
  3. Converting a long nested IF into an IFS or LET version that a colleague can read
  4. Planning a data-cleanup sequence before you touch Power Query
  5. Drafting a small VBA routine, which you then read line by line before running

Cleaning a messy export

Describe the mess honestly — mixed date formats, names in one column, amounts with currency symbols, duplicate rows — and ask for an ordered cleanup plan with the Excel or Power Query step for each. You get a checklist rather than a single magic formula, which is what the job actually needs.

Verify before you trust

  • Test any generated formula on a small block where you already know the answer
  • Check that the range references match your real headers, not the ones it assumed
  • Be sceptical of functions it invents; confirm the function exists in your Excel version
  • Never paste confidential customer, salary or client data into a public AI tool — describe the structure instead, or use your organisation's approved tool

Used with that discipline, ChatGPT shortens Excel work considerably. Used without it, it produces confident formulas that quietly return the wrong number.

Frequently asked questions

Can ChatGPT open my Excel file?
In the standard chat interface it cannot read your local workbook. You describe the structure, or use a version with file upload where your organisation's data policy allows it. Copilot for Excel is the tool that works inside the file itself.
Is it safe to paste company data into ChatGPT?
Treat public AI tools as external parties. Describe columns and structure rather than pasting real customer, employee or financial records, and follow your organisation's data policy.
Will ChatGPT replace learning Excel?
No. It writes formulas quickly, but you still need to know whether the answer is right, how the data should be structured, and what the number actually means.

Learn this properly, with a trainer

Advanced Excel with Raj Singh — classroom in Vasai or live online. Batch timings are confirmed when you enquire.

See course options & fees

Related reading