Most people do not need an Excel course. They need one formula that works, one messy sheet cleaned up, or one quick explanation of what the numbers mean. ChatGPT is useful when you give it enough spreadsheet context.

Best use cases

  • Write formulas from plain English.
  • Explain why a formula is failing.
  • Clean names, dates, categories, and inconsistent labels.
  • Summarize rows into trends, risks, and next actions.
  • Create a checklist before sending a report to a client or manager.

The workflow

  1. Describe the sheet: Excel version, sheet name, columns, row count, and what one row represents.
  2. Say how ChatGPT is seeing the data: pasted rows, direct file upload, project file, screenshot, CSV, or a copied table. If it may not be reading the workbook correctly, paste headers and representative rows in the chat.
  3. Paste a small sample of the data, not the whole file. Include blank cells, weird dates, duplicate IDs, text numbers, and one or two rows where you know the correct answer.
  4. Say exactly what result you want: a formula, cleanup rule, summary, chart idea, or macro plan.
  5. Ask ChatGPT to explain where to paste the formula, what could break, and how to check the result against known sample rows before trusting it.

Copy this prompt

I am working in Excel and need help with a spreadsheet. Excel version: [Microsoft 365, Excel 2021, Google Sheets, or unknown] How I am sharing the data: [pasted rows, direct file upload, project file, screenshot, CSV, copied table, or unknown] Formula separator: [comma, semicolon, or unknown] Sheet name and row count: [example: Orders, about 1,200 rows] Data size or speed issue: [small sheet, slow workbook, thousands of rows, many formulas, or unknown] Raw data protection: [work on a copy, add helper columns, create a cleaned sheet, use Power Query, or unknown] Each row represents: [example: one customer order] My columns are: [paste column names and explain any confusing ones] Here are 5 sample rows: [paste sample rows, including blanks, duplicate IDs, unusual dates, or text numbers if they exist] I need to: [describe the result] Expected result on sample rows: [show the answer you expect for 1 to 3 rows if you know it, or write "unknown"] Put the result here: [cell, column, new sheet, or "not sure"] Return: 1. The exact Excel formula or cleanup steps 2. Where to place it 3. A plain-English explanation 4. A version that works in older Excel if the first formula uses newer functions 5. Edge cases that could break the result 6. Whether this should be one formula, helper columns, Power Query, or a manual cleanup step 7. A quick check I can run on 5 to 10 rows before trusting it 8. If the sheet is large or slow, the safest approach for performance 9. What extra columns, sample rows, or sheet details you need if the file upload or project source is not enough 10. A short plan to keep the raw data unchanged if this is a cleanup task

Example

If you have customer orders and want to flag late shipments, tell ChatGPT the order date column, ship date column, and the rule for “late.” It can then create a formula and explain how to apply it down the sheet.

Do not paste private customer data into any AI tool. Use sample rows, fake names, or removed identifiers when possible.

If ChatGPT cannot read the Excel file

Do not keep asking it to inspect the same workbook if the answer looks generic, misses sheets, or refers to columns that are not in your file. Switch to a small pasted sample that includes the headers, sheet name, row count, and a few rows where you know the correct answer. Ask ChatGPT to say what it can verify from the sample and what it cannot know from the full workbook.

ChatGPT may not be reading my Excel file correctly. How I shared the data: [direct upload, project file, screenshot, copied table, CSV, or pasted rows] Workbook structure: [sheet names, row count, important columns, hidden tabs, formulas, pivots, or merged cells if known] Visible sample: [paste headers and 5 to 10 representative rows] What I need: [formula, cleanup rule, summary, chart idea, or analysis] Known correct answer: [show the answer for one row or write "unknown"] Return: 1. What you can verify from the pasted sample 2. What you cannot verify without the full workbook 3. The safest next step: paste more rows, export CSV, simplify the workbook, use Power Query, or test a formula on a copy 4. The exact formula, cleanup rule, or analysis plan only if the sample supports it 5. A check I can run before applying the answer to all rows

For messy imports or bulk cleanup

When a spreadsheet has thousands of rows, do not ask ChatGPT to clean the whole file in one pass. Use it to find the cleanup rules on a small sample first, then apply those rules in Excel or Power Query on a copy of the data.

Help me clean a messy Excel or CSV export without changing the original data. Raw sheet: [sheet name and what one row represents] File size and repeat schedule: [row count, number of columns, whether this cleanup happens once or every week/month] Problems I see: [mixed date formats, duplicate rows, inconsistent categories, extra spaces, text numbers, pasted data in one cell, etc.] Approved category or format rules: [example: refunded and refund should become Refund; dates should be YYYY-MM-DD; emails should be lowercase] Sample rows: [paste 8 to 12 representative rows, including the worst examples] Rules: - Keep the original raw data unchanged. - Do not guess a category, date, amount, or name when the sample is unclear. - If a value cannot be cleaned safely, mark it as Needs review. - Prefer helper columns or Power Query steps if the cleanup must be repeated. - If the file is large, return repeatable rules and checks instead of trying to rewrite every row in chat. - Return CSV only if I specifically ask for cleaned sample output. Return: 1. The cleanup rules you can infer 2. Any values that are ambiguous or need review 3. A cleaned sample table 4. A repeatable Excel formula or Power Query plan 5. Whether the plan will stay manageable on the full row count 6. Checks to run before applying the cleanup to the full file: row count, duplicate count, blank count, category list, date range, and totals

Where people usually fail

They ask “write me an Excel formula” without showing the column names, separator style, sample rows, exact rule, or real row count. ChatGPT guesses, and the formula breaks or becomes too slow to use. Treat it like a spreadsheet assistant sitting next to you: show the sheet structure, the desired result, and at least one row where you know what the answer should be.

Fix a formula that still fails

The formula or cleanup step did not work. Diagnose it before giving a new answer. Excel version: [version] Formula separator: [comma or semicolon] Formula or step I tried: [paste it] Error or wrong result: [example: #VALUE!, #NAME?, wrong total, blank result, spill error, or works only on some rows] Expected result on one row: [what the formula should return for a row you can verify] Sample rows where it fails: [paste 5 to 10 rows] Return: 1. The three most likely causes 2. The corrected formula or steps 3. Why the correction works 4. If the formula is too complex, break it into helper-column steps I can inspect 5. A simpler alternative if one exists 6. Whether the issue is caused by comma vs semicolon separators, Excel version, data type, hidden spaces, or date format 7. Whether the new answer actually changes the broken logic or just repeats the same formula 8. How to test it safely before applying it to the whole sheet

When not to use only a prompt

If the workbook has many tabs, thousands of rows, hidden formulas, pivots, or a report that must refresh every week, use ChatGPT to plan and check the workflow, but do not rely on one pasted prompt to control the whole file. Work on a copy, test a small section, and keep the original workbook unchanged until the result is checked.

If ChatGPT gives you a giant formula that technically works but nobody can review, ask it to split the logic into helper columns or clear steps. A slightly longer workbook is often safer than one fragile formula that only one person understands.

If the sheet is already slow, ask for a lighter plan before asking for another formula. For example: “Give me the simplest repeatable method for 80,000 rows. Tell me whether to use a formula, helper columns, Power Query, a pivot table, or manual review, and explain what I should test first.”

Related guides