Add Multiple Columns to a Pivot Table in Excel

Learn how to add multiple fields to the Columns area of an Excel pivot table, build a nested cross-tab grid, and check totals before you share it.

If you have built a pivot table in Excel, you have probably seen the summary stack every category into one long list. That layout works for a single category, but it hides the comparison you usually need, such as sales by region for each quarter. Adding more than one field to the Columns area turns that list into a cross-tabulated grid.

This guide is for anyone working with a list of records, such as sales, survey responses, or attendance, who wants a pivot table with multiple column fields. You will learn how Excel nests those fields, how to set them up step by step, and how to check the totals before you share the result.

If your data is in a PDF, you will also find a short section on getting it into a spreadsheet first. The pivot table itself is built in Excel, not in OmniDoc.

How do you add multiple columns to a pivot table? The short answer

Drag two or more fields into the Columns area of the pivot table, and Excel nests them so that each outer heading holds its own set of inner headings.

Your situationWhat to doWhy
You want to compare one category across columnsPut that category alone in Columns and the amount in ValuesOne column field gives a single row of headings
You want to compare two categories side by sidePut the broader field in Columns first, then the narrower one below itExcel nests the inner headings under each outer heading
You want row labels as well as a column gridKeep the row category in Rows, and the column fields in ColumnsRows and Columns together form the grid
Your source data came from a PDFExport or retype the table, then clean it before building the pivotPivot tables need one clean header row and consistent records
You need to count records, not add amountsSet the value field to CountExcel does not count numbers by default for every field type

Before you start

Check these things in your source data before you build the pivot table. Each one prevents a common problem that shows up later in the grid.

  • One header per column. Every column needs a single label in the top row. Merged cells or blank rows inside the range make Excel read the layout wrongly or split it into separate fields.
  • Consistent category spelling. "North" and "North " (with a trailing space) become two separate headings. Trim spaces and standardize names before you build the pivot.
  • A manageable number of headings. Each column field multiplies the number of headings. Two fields with 3 regions and 4 quarters produce 12 sub-columns, which fits on a screen. A grid with dozens of values in each field usually does not.
  • Numbers stored as numbers. Figures stored as text are counted instead of summed, and the totals look too small. Check that the amount column is numeric before you start.
  • A scanned PDF needs OCR first. If the table exists only as an image, run OCR in the PDF editor in the OmniDoc desktop client, then export to Excel. Compare the recognized numbers with the page, because OCR can misread digits.

Building a cross-tab pivot table in Excel, step by step

  1. Open your data in Excel and select any cell inside the table. This lets the pivot table pick up the full list of records.
  2. Create a new pivot table on a new worksheet. A separate sheet gives the grid room to grow as you add fields.
  3. Drag the row category into Rows. Use the field that identifies each line, such as Product or Sales Rep.
  4. Drag the outer column field into Columns. For example, drag Region. Its values become the top-level headings.
  5. Drag the inner column field into Columns, below the outer one. Drag Quarter. Excel nests it, so each region gets its own set of quarter headings.
  6. Drag the number you want to compare into Values. For example, drag Sales Amount. The grid fills with totals for each row and column combination.
  7. Reorder the column fields if the grid reads poorly. Move fields up or down within the Columns area. Swapping Region and Quarter changes which heading sits on top, so check that the result answers your question.

Check the result

Once the grid is built, run through these checks before you share it.

CheckHow to see itIf it's wrong
Grand totalCompare the bottom-right total with the sum of the source amount columnLook for text-formatted numbers or rows that fell outside the source range
Nested headingsConfirm each outer heading lists the inner items you expectReorder the fields in Columns, or fix spelling in the source data
Summary typeCheck whether the value field sums or countsChange the value field's summary to match the question you are answering
Blank headingsLook for a heading with no labelFill the empty category cells in the source, then refresh the pivot
Changed source dataCompare recent edits with the gridRefresh the pivot table, and extend the source range if you added rows

🎯 Which approach fits you?

If you only need to compare one category, a single column field is simpler and easier to read. Use two column fields when the comparison depends on a second grouping, like region and quarter, and keep the number of headings small enough to scan.

❓ FAQ

1. Can I put three fields in the Columns area?

Yes. Each extra field adds another nested level of headings, so the grid gets wider and harder to read. Try it on a small sample first to confirm the layout still works for your audience.

2. Why does a text field count instead of sum?

Excel uses Count for fields that contain text, because it cannot add words. To total a numeric field, make sure its values are stored as numbers, then set the summary to Sum.

3. Can I show two value fields with multiple column fields?

Yes. Add a second field to Values, and Excel places the value names as another level of column headings. Keep the grid readable by limiting it to the values you need to compare.

4. Do I need to sort my data before building the pivot table?

No. Excel sorts the headings automatically, so your source list can stay in its original order. If the headings appear in an order you do not want, you can change the sort order of the field after the grid is built.

📝 Summary

Adding multiple fields to the Columns area of a pivot table in Excel turns a single list into a cross-tabulated grid. Clean your headers first, nest the broader field above the narrower one, and check the grand total against your source. Once the numbers match, the grid is ready to share.

Open OmniDoc to work on your spreadsheets

Updated 2026-11-04