A pivot summary without learning pivot tables with Gemini
The struggle: You know a pivot table would answer the question, but you never learned how to build one and the deadline is today.
What you end up with: A pivot table and a chart on a new tab, with two totals checked by hand.
Ask Gemini in Sheets to build the pivot table and chart from a plain question, and then prove it is right by checking two totals yourself.
Tools: Gemini. Level: Pro. Time: 30 min.
Use it if
- You need totals by month, product, region or person
- You have clean data in rows and columns
- You never learned the pivot table dialog
Skip it if
- The data is not in a table with headings, because Gemini cannot pivot loose cells
- The summary goes to a regulator or auditor without a person checking it
What you need first
- Gemini in Sheets (an eligible Google Workspace or Google AI plan)
- Data in one table with one heading per column and no merged cells; for .xlsx use File, then Save as Google Sheets
The method
Check the data shape first (Gemini: Google Sheets)
Make a copy of the sheet. Click Ask Gemini and ask whether the table is ready for a pivot. Fix merged cells, blank rows and mixed number formats it finds before building anything.
Prompt to copy:
Check whether the data in [range] is ready for a pivot table. List problems such as merged cells, blank rows, numbers stored as text, or mixed date formats, by column. Do not change anything.
You get: A table ready to be summarised.
Tip: Check that each column holds one kind of value. A number stored as text breaks totals.
Ask the business question in plain words (Gemini: Ask Gemini)
In Ask Gemini, write the question the way a manager would: what to total, by what, over what period. Gemini creates the pivot table, and you review the preview before applying.
Prompt to copy:
Create a pivot table on a new tab: rows = [field], columns = [field], values = sum of [field]. Filter to [period or condition]. Then say in one sentence what the table shows. If a field name is unclear, ask me before guessing.
You get: A pivot table on its own tab.
Tip: Name the rows, columns and the number to sum, so Gemini does not choose for you.
Add a chart on a new tab (Gemini: Ask Gemini)
Ask for one chart that answers the question, inserted in a new tab. Read its axes and title. Charts made from generated data do not update, so rebuild it if the data changes.
Prompt to copy:
Create a [bar or line] chart from the pivot table on the new tab. Title it with the finding in plain words. Label the axes with units. Do not add a second chart.
You get: One chart that matches the pivot table.
Tip: Ask for one chart, not five. A single clear chart gets read.
Prove two totals by hand (Gemini: Google Sheets)
Pick two cells in the pivot, such as one row total and the grand total. Recompute them with a plain SUM or filter on the source data. If they differ, ask Gemini why, and fix the source or the pivot.
You get: A pivot you trust.
Tip: If the two totals match, the rest is likely right. If not, stop and find why before presenting.
Where this goes wrong
- Charts built from generated data do not update when the source data changes
- Gemini may group or filter differently from what you meant; check the filter on the pivot
- Gemini output can be inaccurate: Have a qualified person check this before you sign, file or send it. Use this for any figures going to investors, regulators or auditors.
Sources
More like this
- Sort a year of bank lines into categories
- A polite late payment email ladder
- Your spreadsheets, explained and charted
Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.