Pivot table step by step
Professional structure: role, context, objective, details, steps, format, criteria and self-check. Designed for better results, not guaranteed ones: always review the answer.
Never use real personal data. If you need to, run it through the data cleaner.
## Role Act as a patient, practical Excel trainer. ## Context I want to summarise a large table and do not know how to set up the pivot table. ## Objective Get exact instructions to build the pivot table that answers my question. ## Details (fill in what is in square brackets) - [table columns] - [question I want to answer] - [program and version] ## Step-by-step instructions 1. Translate my question into rows, columns, values and filters. 2. Give the click-by-click steps for my version. 3. Say which calculation to use for values (sum, count, average). 4. Suggest a pivot chart if it helps. ## Output format Layout of the table, numbered steps and an example of what the result will look like. ## Quality criteria - Menu names match my version. - It explains how to refresh the table with new data. - It warns if the data needs cleaning first. ## Self-check Before answering, check every quality criterion. If information is missing, ask me instead of making it up, and at the end state what you have assumed.
Objective
Get exact instructions to build the pivot table that answers my question.
When to use it
This prompt is brilliant when you have a massive spreadsheet of raw data and need to extract meaningful insights without getting lost in complex formulas. It is particularly handy for monthly reporting or sales analysis where you need to see trends at a glance. However, it is less effective if your data is unstructured or contains inconsistent formatting. If your goal is to perform advanced statistical modelling rather than summarising categories, you might find a standard pivot table slightly limiting for your specific needs.
Worked example: input (fictional data)
Worked example: full response
Variants
Quick Field Mapping
Provide only the field placements for Rows, Columns, and Values without the step-by-step navigational instructions. Assume I already know how to insert the table but need help with the logic of where to drag each specific header to get the summary I need immediately for a fast turnaround.
Beginner Walkthrough
Explain the concept of each area as you go. Use very simple language and include tips on how to handle common errors. Focus on building confidence with the tool rather than just the final output, explaining why we put certain data in rows versus columns for better results.
Data Cleaning Focus
Before giving the pivot steps, provide a checklist of three specific data cleaning actions based on my columns. Then, explain how to use the Value Field Settings to switch between Sum and Count, ensuring I understand why one might be more appropriate than the other for this specific dataset.
Common mistakes
- Having merged cells or blank rows in the source data.
- Not converting the range into a table before starting.
- Including column headers that contain duplicate names or are entirely missing. How to avoid it: Ensure every column has a unique, descriptive header before creating the pivot table, as Excel uses these names to identify the fields in the layout pane.
- Mixing different data types within a single column, such as text and numbers. How to avoid it: Clean your source data so each column contains only one type of data; otherwise, Excel may fail to group dates or calculate sums correctly for your report.
- Forgetting to format the values as currency or specific number types in the settings. How to avoid it: Use the Value Field Settings menu to apply number formatting directly to the pivot field rather than formatting cells manually, ensuring the style persists after a refresh.
- Overlooking the need to group dates into months, quarters, or years manually. How to avoid it: Right-click any date in your pivot table and select Group to choose the time buckets you need, which prevents a messy list of individual daily entries.
Related guide
General and assistant-specific tips
Tips by assistant
- Gemini: if your plan includes it, you can use it inside Google Docs, Sheets or Gmail without leaving the document.
Getting the most out of it
- Paste the prompt as is and only replace what is in [brackets].
- If the answer does not fit, do not start over: ask for “shorter”, “more formal” or “as a table”.
- Always review the result before using it: AI can get facts, dates or names wrong.
Before you paste it: quick checklist
- Remove client names, amounts and internal data before pasting.
- Say who the text is for and which tone you want.
- Ask for a specific length: “120 words max” or “three bullet points”.
- Read the result aloud and fix anything you wouldn’t say yourself.
How to adapt it to your assistant
The template works the same in ChatGPT, Gemini, Copilot or Claude because it only uses plain language. If your assistant supports fixed instructions (custom instructions, Gems or projects), you can store your preferred tone and format there and paste only the variable part. On a free plan, split long requests into two or three shorter messages.