The rules for organizing the List to create a PivotTable report are as follows:
• The List can have only one header row.
• All cells in the header row must contain unique text.
• The List cannot have subtotal rows, empty rows, empty columns, or a row containing totals under the List.
It is highly recommended that you define a Name that automatically updates its range reference for the List
Screenshot // Rules for Organizing the Source Data in Excel Sheets
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.