Fix Excel Pivot Tables That Do Not Recognize Row 1 Headers
Question details
The user needs Excel to recognize the first-row column headings when creating a PivotTable.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating a PivotTable from a worksheet range with headings in row 1.
- Observed behavior
- Excel does not recognize the first-row headings, preventing the source data from being interpreted correctly.
Locate the source data and confirm that row 1 contains the intended field names. Identify the full data range, including every column and row you want in the PivotTable.
Check the headers and create a PivotTable from an Excel Table
Use this method to correct the source headings and give the PivotTable a structured data source.
In row 1 of the source worksheet, give every included column a nonblank, distinct heading. Use Home > Merge & Center to unmerge any merged heading cells, then enter a heading in each column.
Select the row numbers around the headings, right-click, and choose Unhide to inspect any hidden rows immediately below row 1. Check that these rows belong in the source data.
Select the full source range, including row 1, and choose Insert > Table. Confirm the range, select My table has headers, and click OK.
Click a cell in the table, then choose Insert > PivotTable. Confirm the table name as the source, choose a destination, and click OK.

Use a named range as the PivotTable source
Use a named range if you want to define the source without converting it to an Excel Table.
Correct the source range of an existing PivotTable
Use this method if an existing PivotTable points to a range that omits row 1 or includes unwanted blank columns.
Create PivotTables in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface for working with spreadsheets. Open compatible Excel files and create PivotTables in WPS Spreadsheets as an alternative workflow; it does not repair Excel itself.

Frequently Asked Questions
Why does Excel say the PivotTable field name is not valid?
The selected source may contain a blank column heading or omit the header row. Check every column in the source range, fill in missing headings, and select the range again through Insert > PivotTable.
Can merged headers cause a PivotTable problem?
Yes. Merged headings can leave some source columns without their own field names. Select the merged cells, use Home > Merge & Center to unmerge them, and enter a heading for each column.
How do I check whether row 1 is included in an existing PivotTable?
Click the PivotTable and choose PivotTable Analyze > Change Data Source. Inspect the Table/Range box and update it to include row 1 if necessary.
Do I need to make the headings bold?
No. Bold formatting can make headings easier to see, but it does not replace valid field names. Each included column needs a nonblank heading in the first row of the selected source.




