logo
search
Calculation Issues

Fix Excel Web SUBTOTAL Not Recalculating Hidden Rows

Maira MehtabMaira Mehtab Sep 20, 2026 870 views

Question details

The user needs a solution for the SUBTOTAL function failing to update automatically when hiding rows in the web version of Excel.

Product
Excel for the Web
Device & OS
not provided
Scenario
Hiding rows in an Excel spreadsheet containing SUBTOTAL(109) formulas to view updated dynamic totals.
Observed behavior
The SUBTOTAL formula does not immediately recalculate when rows are hidden in the web app, though it updates if the formula is re-entered, rows are unhidden, or if the file is opened in desktop Excel.
Before you start

Verify whether this calculation issue is isolated to Excel for the Web by testing the same spreadsheet in the desktop version of Excel to confirm it is a web-engine discrepancy.

Solution 1Recommended

Use a SUMPRODUCT and OFFSET Formula Workaround

Apply an advanced array-style formula that forces Excel for the Web to dynamically recalculate visible rows.

Excel for the Web sometimes struggles with dynamically recalculating the standard SUBTOTAL(109) function when rows are manually hidden, due to limitations in its browser-based calculation engine. You can bypass this bug by combining SUMPRODUCT, SUBTOTAL, and OFFSET to force immediate evaluation.

1
Select the target cell

Click on the cell containing your current malfunctioning SUBTOTAL formula.

2
Input the workaround formula

Replace the existing formula with `=SUMPRODUCT(SUBTOTAL(109,OFFSET($H$9,ROW($H$9:$H$2007)-ROW($H$9),,1)))`.

3
Adjust cell references

Modify the `$H$9` and `$H$9:$H$2007` ranges in the formula to exactly match the starting cell and the full data array of your specific spreadsheet.

4
Test the calculation

Press Enter to apply the formula, then right-click any row number in your dataset and select 'Hide Row' to verify that the sum updates immediately.

Compatibility: This formula workaround updates properly in Excel for the Web while maintaining full compatibility with desktop versions of Excel.
Free Microsoft Office alternative

Switch to WPS Office for Reliable Spreadsheet Calculations

Tired of dealing with web-based formula bugs? WPS Office provides a robust, desktop-grade spreadsheet application that accurately processes SUBTOTAL and other complex functions in real-time, completely free of web-engine calculation delays.

  1. 1. Download WPS Office: Visit the official WPS website and download the free desktop application for your operating system.
  2. 2. Open your workbook: Launch WPS Spreadsheet and easily open your existing Excel (.xlsx) file.
  3. 3. Experience accurate calculations: Use your standard SUBTOTAL formulas without complex workarounds and watch them update instantly when hiding rows.
Highly compatible with Microsoft Excel formats (.xlsx, .xls) and standard formulas.Reliable, instant formula recalculation even when filtering or hiding thousands of rows.Free and lightweight desktop application that works flawlessly offline.Familiar user interface requiring zero learning curve for Excel users.
microsoft office alternative - wps office

Frequently Asked Questions

What does the 109 in the SUBTOTAL formula mean?

The number 109 is a function_num argument that tells the SUBTOTAL function to calculate the SUM of a range while explicitly ignoring any rows that have been manually hidden.

Why does SUBTOTAL work on desktop Excel but not on the web?

Excel for the Web uses a lightweight, browser-based calculation engine. Occasionally, this web engine fails to detect UI changes like manually hiding rows as a trigger for recalculating certain dynamic formulas, resulting in delayed or static outputs.

Does this calculation issue affect filtered rows as well?

No, filtering rows usually triggers a proper recalculation event even in Excel for the Web. This specific bug primarily manifests when rows are manually hidden using the right-click 'Hide' context menu.