Adding more rows to a flat sheet rarely answers the question. The insight usually sits one grouping away, buried under the list you keep scrolling. A pivot table does that grouping for you, but the setup trips people up: wrong field in the wrong box, totals that mean nothing, a layout no one reads. These five ChatGPT prompts pick the fields, build the first pivot, and fix the layout so the summary actually says something.
Where most attempts fall flat
- The value field is a text column or a blank, so the pivot shows counts of nothing useful.
- Rows and columns are swapped, so the reader has to rotate the table in their head.
- The source range is fixed, so the next refresh drops the new rows added this week.
Prompts that fix it
1. Pick the right fields
My data has these columns: [column list]. I want to summarize [question] by [group by]. Tell me which column goes in rows, which in values, and what aggregation fits the data type. Explain why.
What it does: Maps your question onto the four pivot boxes.
How to use: replace [column list], [question], and [group by]; keep the rest as is.
2. Build the first pivot
Write the steps to build a pivot table in [spreadsheet app] from range [range] that shows [value field] by [row field] and [column field]. Include the exact field box each one goes in.
What it does: Gives a click-by-click path to the first view.
How to use: replace [spreadsheet app], [range], [value field], [row field], and [column field]; keep the rest as is.
3. When the totals look wrong
My pivot totals look off: [what you see]. The source is [range] with [value field] as [data type]. Diagnose the likely cause, such as wrong aggregation or blanks, and give the fix.
What it does: Finds why the number misleads before you trust it.
How to use: replace [what you see], [range], [value field], and [data type]; keep the rest as is.
4. Layout that reads clean
My pivot on [range] is hard to read because [layout problem]. Suggest a layout for [value field] by [row field] that a manager scans in ten seconds, including whether to show grand totals.
What it does: Turns a cramped grid into a readable summary.
How to use: replace [range], [layout problem], [value field], and [row field]; keep the rest as is.
5. Refresh and share plan
For a pivot in [spreadsheet app] over [range], write the steps to make the source a table so new rows are included, set the refresh, and export a clean copy to [share format].
What it does: Keeps the report alive after the first build.
How to use: replace [spreadsheet app], [range], and [share format]; keep the rest as is.
Weak ask vs better ask
| Weak ask | Better ask |
|---|---|
| Make a pivot table from my data. | My columns are [column list]; summarize [question] by [group by]; say which field goes in values and what aggregation fits. |
| Why is the total wrong? | My pivot totals look off: [what you see]; source [range], [value field] as [data type]; diagnose and fix. |
The better ask names the columns, the question, and the exact field box you are unsure about.
Keep going
- Browse the Excel & Spreadsheets prompt library
- Need the formula first? See ChatGPT prompts for Excel formulas.
- Join the sources with Claude prompts for Python scripts.
GuPrompt keeps every prompt copy-paste ready. No account needed.