Gemini in Google Sheets can create a pivot table from a prompt, which turns a long sales list into a summary by category and month in seconds. A pivot built by AI still needs its totals checked against hand sums, because a wrong grouping will hide inside a tidy summary.
Prerequisites
- Google Sheets with Gemini
- A sales table with category and month columns
- A copy of the source file, so the original stays untouched.
Steps
- Open the sheet with the sales table and click Ask Gemini at the top right.
- Ask Gemini to create a pivot table of total sales by category and month.
- Check the pivot rows and columns against the categories and months in the source table.
- Add the pivot totals by hand from the source table and compare them with the pivot totals.
- If a total differs, check whether a category spelling variant split one category into two.
Worked example: Fictional bookshop pivot by category and month
The practice table below is a fictional five-sale list behind the pivot. The amount column is the sale value, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| Category | Month | Amount |
|---|---|---|
| Books | October | 120.00 |
| Books | November | 95.50 |
| Stationery | October | 60.25 |
| Stationery | November | 48.75 |
| Books | December | 110.00 |
| Total | 434.50 |
Expected result. Five sales pivoted, each total matches the hand sum, and the amounts add to 434.50. UNTESTED: no Gemini pivot was generated for this guide; the table shows the expected values a check should produce.
Limits
- Gemini needs an eligible Google Workspace or Google AI plan, so the feature may not appear on every account.
- A pivot groups by the exact text in the source, so spelling variants will split a category.
