To show multiple columns in a Google Sheets pivot table, drag more than one field into the Columns section of the pivot table editor, or place a field in both Rows and Values to get multiple data columns. The exact layout depends on whether you want side-by-side categories, multiple value metrics, or a combination of both.
What a Pivot Table Column Actually Does
A pivot table reorganizes raw data into a summary grid. The Columns area in the pivot table editor controls the horizontal axis of that grid. Each unique value in a field you place there becomes a separate column header. For example, if you drag a “Region” field into Columns, you get one column for North, one for South, one for East, and one for West. If you drag two fields into Columns, Google Sheets nests them—the second field’s values appear under each value of the first field, creating a multi-level column header.
This is different from Values, which holds the numbers you are summarizing (sums, averages, counts). Many people confuse “multiple columns” with “multiple value fields.” Both are valid, but they produce different layouts. Understanding that distinction is the first step to controlling your pivot table.
How to Add Multiple Columns (Step by Step)
Assume your raw data is in a sheet with headers in row 1, like Date, Region, Product, and Sales. Here is the exact process in Google Sheets (web browser):
- Click anywhere inside your data range.
- Go to Insert > Pivot table.
- In the “Create pivot table” dialog, choose either a new sheet or existing sheet, then click Create.
- In the pivot table editor panel on the right, under Rows, add
Region. - Under Columns, add
Product. You now have one column per product. - Under Values, add
Sales(it defaults to SUM). - To add a second column layer, drag another field, e.g.,
Year, into Columns belowProduct. Now you have nested columns: each product has a sub-column for each year.
If you instead want multiple value columns (e.g., Sum of Sales and Average of Sales), add Sales twice to Values, then click the dropdown arrow next to the second instance and change the summarize by to AVERAGE. The pivot will show two separate value columns side by side.
Choosing Between Rows, Columns, and Values
The pivot table editor has four areas: Rows, Columns, Values, and Filters. Each serves a distinct purpose:
- Rows: vertical grouping—each unique value becomes a row label.
- Columns: horizontal grouping—each unique value becomes a column header.
- Values: the numbers you aggregate (sum, count, average, etc.).
- Filters: limits the entire pivot to a subset of data without adding a dimension.
A common mistake is putting a categorical field like “Product” into Values. That only counts the number of entries, not the sum of sales. Always put numeric fields into Values and categorical fields into Rows or Columns. If you want both region and product as row labels, put both in Rows—this creates a hierarchical row layout, which is often easier to read than many columns.
Common Problems and Fixes
Several issues come up frequently when working with multiple columns:
- Columns are too wide or too many: If you have hundreds of unique values in a column field, the pivot becomes unwieldy. Use a filter on that field to limit to the top 10 or a specific set, or move that field to Rows instead.
- Values appear as “Count of” instead of Sum: Google Sheets guesses the aggregation. Click the value field’s dropdown in the editor, choose Summarize by, then select SUM or AVERAGE.
- Column headers show “(blank)”: This means some cells in your source column are empty. Clean the data by replacing blanks with a placeholder like “N/A” before creating the pivot.
- You want to reorder columns: In the pivot table editor, drag the field name up or down in the Columns list to change the nesting order. You cannot manually drag individual column headers on the grid.
- Pivot doesn’t update when you add new rows: If your source range is not a named range or a table, Google Sheets may not auto-expand. Go to Data > Named ranges and define a range that includes extra rows, or use
Insert > Table(in Google Sheets, it’s called “Convert to table”) to make it dynamic.
Google Sheets vs. Excel Pivot Tables
Excel and Google Sheets pivot tables are similar but have key differences. In Excel for Microsoft 365, you add multiple columns by dragging fields into the Columns area of the PivotTable Field List, exactly like Sheets. However, Excel offers a Tabular Layout option (under Design > Report Layout) that repeats row labels and makes the grid easier to copy. Google Sheets does not have that layout option; it always uses a compact layout with merged row cells.
Another difference: Excel lets you set a custom column width and freeze panes within the pivot, while Sheets applies sheet-wide formatting. For calculations, Excel has GETPIVOTDATA to reference pivot values; Google Sheets has GETPIVOTDATA too, but it is less commonly used. If you are collaborating online, Sheets is easier; if you need advanced formatting or Power Pivot, Excel is stronger.
Practical Example: Sales by Region and Product
Suppose you have this raw data (rows 1–5):
A: Date B: Region C: Product D: Sales
1/1/2024 North Widget 100
1/1/2024 South Gadget 150
1/2/2024 North Gadget 200
1/2/2024 South Widget 120
To create a pivot with regions as rows and products as columns, plus total sales in each cell:
- Select A1:D5, go to Insert > Pivot table.
- In Rows: add
Region. - In Columns: add
Product. - In Values: add
Sales(summarize by SUM).
The resulting pivot table will look like:
Region Widget Gadget
North 100 200
South 120 150
If you also add Date to Columns (below Product), you get a matrix with each product split by date. If you add Sales twice to Values, you can show both Sum and Count side by side.
Frequently Asked Questions
How do I show multiple columns of values in a pivot table?
Add the same numeric field multiple times to the Values area, then change each instance’s aggregation (e.g., one as SUM, another as AVERAGE). Each becomes a separate column in the pivot grid.
Can I have more than two columns in a pivot table?
Yes. You can drag as many fields as you want into the Columns area. They will nest in the order you list them. There is no hard limit, but performance may slow with very large datasets.
Why does my pivot table show only one column even though I added two fields?
Check that you added the fields to Columns, not to Rows or Filters. Also, if the second field has only one unique value, it will appear as a single column header. Verify your source data has multiple distinct values in that field.
How do I rename pivot table column headers?
You cannot rename the generated headers directly, but you can edit the cell that contains the header text after the pivot is created. However, if the pivot refreshes, the edit may be overwritten. To have custom labels, create a separate formula-based summary instead.
Can I make a pivot table with multiple columns but no row labels?
Yes, but it is unusual. If you leave Rows empty and put fields only in Columns and Values, the pivot will show a single row with aggregated totals for each column group. This is useful for a summary dashboard.
Does adding multiple columns slow down my Google Sheets?
It can, especially if you have thousands of unique column values. To improve performance, limit the column field to a smaller set using a filter, or move one dimension to Rows. Also, avoid using entire columns as source data; use a defined range.
Related
- Random Number Generator Between Two Numbers
- Auto Sum Shortcut in Excel: Quick Keys & Steps
- Computer Data Entry Job Vacancy: Real Answers
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Excel 100% Stacked Bar Chart: How to Create OneTo create a 100% stacked bar chart in Excel for Microsoft 365 on Windows, select a table with…
- Google Sheets Pivot Table Design: Layout, Sort, FilterTo design a pivot table in Google Sheets, you insert it from the menu (Insert > Pivot table),…
- How to Make a Graph in Excel the Easy WayTo make a graph in Excel, put your labels and numbers in a simple table, select the data,…
- Manual Sort Pivot Chart in Excel: Control Category OrderTo manually sort a PivotChart in Excel for Microsoft 365 on Windows, reorder the chart’s categories in its…
- Bubble Chart in Excel: Make Each Bubble a Different SizeYes. To make bubbles different sizes in an Excel bubble chart, give each data point its own size…
- Excel Trendline Values: Show, Calculate, and Use ThemIn Excel, trendline values are the estimated y-values produced by a trendline for particular x-values. To see a…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.