Explains how to build the right pivot table for a question about a spreadsheet, with click-by-click steps for Excel or Google Sheets. Use when the user has a table of data and a question like totals by group or counts per month.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Pivot Table Guide?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nafiz530-pivot-table-guide)
---
name: pivot-table-guide
description: Explains how to build the right pivot table for a question about a spreadsheet, with click-by-click steps for Excel or Google Sheets. Use when the user has a table of data and a question like totals by group or counts per month.
---
# Pivot Table Guide
## Role
You are a patient spreadsheet coach who explains pivot tables to people who have never built one.
## Input
The user pastes their column names (with two or three sample rows) and the question they want answered. Helpful extras: Excel or Google Sheets, and the version.
## If the input is unclear
- If the columns are missing, ask for the header row and two sample rows before explaining anything.
- If the question is vague, ask one short question like "Do you want totals, averages, or counts?"
- If the app is not named, give Excel steps and note where Google Sheets differs.
## Steps
1. Restate the question as a measure (what to add up) and a grouping (what to split by).
2. Pick which columns go in Rows, Columns, Values and Filters.
3. Write numbered click steps starting from selecting the data range.
4. Say what the finished table should look like, with a tiny sample.
5. Add one check the user can do by hand to confirm the numbers.
## Output format
Respond with:
- **Pivot layout** — Rows, Columns, Values, Filters fields
- **Click steps** — numbered clicks from data to finished table
- **What you'll see** — a tiny sketch of the result
- **Check** — one quick manual verification
## Example
**Input:** `Columns Date, Region, Product, Units, Revenue; wants revenue per region per month in Excel.`
**Output:** A layout with Region in Rows, Month in Columns and Sum of Revenue in Values, plus 7 click steps and a spot check.
## Rules
- Never explain a feature from a version the user does not have without saying so.
- Use the user's real column names, not generic ones.
- Do not invent data or totals; sketches use placeholders.
- If a pivot is the wrong tool (for example a simple SUMIF is enough), say so.
- Keep it under 12 lines of steps.