Pivot Table Layouts: A Step-by-Step Guide
In this article
This guide shows you how to control the layout of an Excel pivot table—the way fields are arranged in rows, columns, and filters—so you can present your data clearly and make it easier to read and analyze. You’ll learn how to switch between the three main layout forms, move fields around, and adjust settings like subtotals and grand totals. No prior pivot table experience is needed, but you should have a basic pivot table already created from your data.
What You'll Need
- A computer with Microsoft Excel (2016 or later, or Microsoft 365).
- A dataset with column headers (e.g., Sales, Region, Date, Product).
- An existing pivot table (if you don't have one, select your data, go to Insert > PivotTable, and click OK).
Step-by-Step
- Select your pivot table. Click anywhere inside the pivot table. This activates the PivotTable Analyze and Design tabs in the ribbon.
- Open the Layout group. Go to the Design tab. On the left side, you’ll see the Layout group with options like Subtotals, Grand Totals, Report Layout, and Blank Row.
- Choose a report layout. Click Report Layout. You’ll see three options:
- Compact Form – The default. All row fields are in a single column, and each field’s items are indented. It saves space but can be harder to read.
- Outline Form – Each row field gets its own column, and subtotals appear at the top of each group. Good for a classic, hierarchical view.
- Tabular Form – Each field gets its own column, with subtotals at the bottom of each group. This is the most spreadsheet-like and is great for copying data elsewhere.
- Adjust subtotals. In the Layout group, click Subtotals. You can choose:
- Do Not Show Subtotals – Removes all subtotals.
- Show all Subtotals at Bottom of Group – Subtotals appear after the last item in each group (this is the default for Tabular Form).
- Show all Subtotals at Top of Group – Subtotals appear before the first item (common in Outline Form).
- Include Filtered Items in Totals – A checkable option that includes filtered items in the subtotal calculations.
- Toggle grand totals. Click Grand Totals and select whether to show them for rows, columns, both, or neither. For large reports, you might turn them off to reduce clutter.
- Add blank rows after each item. If you want visual separation between groups, click Blank Row and choose Insert Blank Line after Each Item. This is often used in printed reports.
- Rearrange fields manually. To move a field, click the field header in the pivot table (e.g., "Region") and drag it to a new position. Alternatively, use the Field List pane on the right: drag fields between the Rows, Columns, Values, and Filters areas. To change a field’s position within the Rows area, drag it up or down in the list.
- Change field settings for more control. Right-click a field header and choose Field Settings. Under the Layout & Print tab, you can:
- Check Show item labels in outline form or Show item labels in tabular form (depending on your layout).
- Choose to Repeat item labels – this fills down the field value for every row, which is essential when copying the pivot table to another sheet.
- Insert a blank line after each item.
- Use the Field List to add or remove fields. If the Field List is hidden, right-click the pivot table and choose Show Field List. Check or uncheck fields to add or remove them. Drag fields between areas to change their role.
- Apply a PivotTable style. On the Design tab, you can pick a style from the gallery. This doesn’t change the layout but can make the report look cleaner. For better readability, enable Banded Rows in the PivotTable Style Options group.
Common Mistakes
- Leaving blank rows or columns in your source data. This can cause the pivot table to ignore some data or create incorrect groupings. Always format your source as a clean table (Ctrl+T) before creating the pivot.
- Not refreshing after changing source data. Pivot tables don’t update automatically. Right-click the pivot and choose Refresh (or press Alt+F5) after editing your data.
- Mixing up row and column fields. Putting a date field in Columns when you meant it in Rows can make the table wide and hard to read. Think about which dimension should be on the left (rows) and which across the top (columns).
- Using Compact Form for large data sets. The indentation can hide the hierarchy, making it difficult to see which row belongs to which group. Switch to Tabular Form for clarity.
- Forgetting to repeat item labels. If you copy the pivot table to another sheet, the blank cells in the first column can break filters or sorting. Enable "Repeat item labels" in Field Settings.
Tips
- Use Tabular Form for data export. If you plan to use the pivot as a data source for another chart or formula, Tabular Form with repeated labels is the most compatible.
- Create a default layout. You can set a default layout for all new pivot tables: Right-click a pivot table, choose PivotTable Options, go to the Layout & Format tab, and check Switch to tabular form (or outline) and Repeat item labels. Then click Set as Default.
- Use the Field List to reorder fields. Dragging fields up or down in the Rows area changes the hierarchy. The topmost field is the outermost grouping.
- Hide subtotals for a cleaner look. If your report is already grouped visually, turning off subtotals can reduce noise. You can always re-enable them later.
- Leverage the "Show values as" feature. Right-click a value field and choose Show Values As to display percentages, running totals, or differences instead of raw sums. This works with any layout.
Troubleshooting
- My pivot table doesn't show the layout options. Make sure you’ve clicked inside the pivot table. The Design tab only appears when a pivot table is selected. If it’s still missing, check that you’re not in a cell outside the pivot range.
- The Field List is gone. Right-click anywhere in the pivot table and choose Show Field List. If it doesn’t appear, go to PivotTable Analyze > Field List (or press Alt+F10).
- My subtotals are showing twice. This often happens when you have multiple row fields and you’ve enabled subtotals for each. To fix, go to Design > Subtotals and choose a single option, or right-click the specific field and uncheck Subtotal "Field Name".
- I can't drag fields in the pivot table. Dragging works only when the field headers are visible. If you're in Compact Form, you may need to switch to Outline or Tabular Form to see the headers. Alternatively, use the Field List pane to move fields.
- My pivot table is showing "Cannot compute" for a value. This usually means the formula in the calculated field is invalid, or the data contains errors. Check the source data for #DIV/0! or other errors, and fix them.
- Changes to my source data don't reflect. Remember to refresh. Also, if you added new rows/columns, you may need to update the source range: PivotTable Analyze > Change Data Source.
Frequently Asked Questions
What is the difference between Compact, Outline, and Tabular layouts?
Compact Form puts all row fields in one column with indentation, saving space. Outline Form gives each field its own column and places subtotals at the top of each group. Tabular Form also gives each field its own column but places subtotals at the bottom, making it the most spreadsheet-like.
How do I repeat item labels in a pivot table?
Right-click the field header, choose Field Settings, go to the Layout & Print tab, and check Repeat item labels. This fills down the field value for every row, which is useful for copying data.
Why are my subtotals not showing?
Check the Design tab: click Subtotals and ensure you haven’t selected "Do Not Show Subtotals." Also, subtotals only appear for row or column fields, not for value fields.
Can I change the layout of an existing pivot table without recreating it?
Yes. Simply click anywhere in the pivot table, go to the Design tab, and choose a different Report Layout. You can also drag fields in the Field List to rearrange them.
How do I move a field from Rows to Columns?
In the Field List pane, drag the field name from the Rows area to the Columns area. Or, right-click the field header in the pivot table and select Move to Columns.
Is there a way to set Tabular Form as the default for all new pivot tables?
Yes. Right-click any pivot table, choose PivotTable Options, go to the Layout & Format tab, check Switch to tabular form and Repeat item labels, then click Set as Default.