logo
search
Pivot Table Issues

How to Disable Extra Rows in Excel PivotTable Drill-Down Sheets

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Open the VBA Editor

Press ALT + F11 on your keyboard to launch the Microsoft Visual Basic for Applications window.

2
Locate the affected macro

In the Project Explorer panel on the left, find and double-click the module containing the macro that processes your PivotTable drill-down sheets.

3
Adjust the starting row logic

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.

4
Save and test

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.

Known Product Issue: This behavior has been reported to Microsoft as a product issue. There is currently no confirmed native user setting to disable the additional drill-down rows.
Free Microsoft Office alternative

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. 1. Download and install WPS Office: Visit the official WPS website to download and install the free suite on your device.
  2. 2. Open your Excel workbook: Launch WPS Spreadsheet and open your existing .xlsx file containing the PivotTable.
  3. 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.
Highly compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Classic PivotTable drill-down functionality without unwanted extra header rows.Lightweight installation and a highly familiar user interface.Free to use with comprehensive data analysis and spreadsheet processing tools.
microsoft office alternative - wps office

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.