How to Disable Extra Rows in Excel PivotTable Drill-Down Sheets
Question details
The user needs to disable or remove the extra header rows (such as the row beginning with 'Details for') that are automatically created when generating a PivotTable drill-down detail worksheet.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Extracting source data details by double-clicking a PivotTable value, specifically when utilizing automated VBA macros to process the generated sheets.
- Observed behavior
- Excel generates the detail worksheet but inserts additional descriptive rows at the top, which shifts the data table down and disrupts existing worksheets and VBA macros.
Verify your current Excel version, as this specific drill-down formatting is a feature of newer Microsoft 365 updates, and ensure you are familiar with the VBA editor if you need to adjust your existing macros.
Modify Existing VBA Macros to Handle Extra Rows
Since Excel does not currently offer a built-in toggle to disable the 'Details for' rows, the best workaround is to update your VBA code to dynamically locate the actual data table header.
Because Microsoft has not yet provided a setting to revert to the classic drill-down layout, any automation relying on the data starting at Row 1 will fail. Updating the logic in your VBA macros ensures your code remains functional regardless of the newly added summary rows.
Press ALT + F11 on your keyboard to launch the Microsoft Visual Basic for Applications window.
In the Project Explorer panel on the left, find and double-click the module containing the macro that processes your PivotTable drill-down sheets.
Modify your VBA code to dynamically search for the actual table header (e.g., using a `.Find` method for a known column name) instead of hardcoding it to start at Row 1. This ensures the macro successfully skips the 'Details for' text.
Save your VBA changes, return to your Excel workbook, and double-click a PivotTable value to test if the macro now processes the detail sheet correctly.
Check for Excel Updates and Submit Feedback
Keep your Excel application updated in case Microsoft releases a patch or toggle for this feature, and submit user feedback to help prioritize the issue.
Use WPS Spreadsheet for Classic PivotTable Drill-Downs
If the new Excel drill-down formatting disrupts your workflow and breaks your macros, consider switching to WPS Office. WPS Spreadsheet handles PivotTables reliably, maintains the classic drill-down behavior, and offers seamless compatibility with your existing Excel files.
- 1. Download and install WPS Office: Visit the official WPS website to download and install the free suite on your device.
- 2. Open your Excel workbook: Launch WPS Spreadsheet and open your existing .xlsx file containing the PivotTable.
- 3. Perform a drill-down: Double-click any value cell in your PivotTable to generate a clean detail sheet without the disruptive extra header rows.

Frequently Asked Questions
Why does Excel add a 'Details for' row in PivotTable drill-downs?
In newer Microsoft 365 updates to Excel, the default drill-down behavior was changed to include descriptive header rows that summarize the data point you clicked. This is an intended feature update, though it lacks an option to disable it.
Can I disable the extra drill-down rows using Excel Options?
No, there is currently no confirmed built-in setting within Excel Options or PivotTable Options to prevent these additional summary rows from generating.
How do I access the drill-down feature in a PivotTable?
You can access this feature by simply double-clicking on any value cell within the PivotTable. The application will automatically generate a new worksheet displaying the underlying data that makes up that summarized value.
Will older versions of Excel experience this issue?
Older standalone versions of Excel (such as Excel 2016 or 2019) generally generate drill-down details starting directly at Row 1 without the extra 'Details for' header. This behavior is specific to newer builds and Microsoft 365.




