Skip to content

10AM–5PM by appt.
24h urgent appts

📞 0279-088880

All prices include GST

Cart
0 items

Computer Repair Guides

Make an Excel Total Follow the Filtered Rows

by AEPC / AKL East PC 27 Sep 2026

A total beneath a filtered list can be misleading if it still includes records you cannot see. Decide whether the figure should describe every record or only the filtered selection, and label it accordingly.

For a vertical list in desktop Excel, SUBTOTAL can calculate a sum that excludes rows removed by a filter. The function number also determines what happens to rows hidden manually, which is a separate action from filtering.

Choose the hidden-row rule explicitly

For amounts in B2:B20, =SUBTOTAL(9,B2:B20) sums the filtered selection but still includes manually hidden rows. Using 109 instead of 9 also excludes manually hidden rows. Both versions exclude filtered-out rows.

Place the formula outside the range it totals and keep its label visible. Describe the intended rule, such as “Filtered total, excluding manually hidden rows,” rather than simply “Total” when several interpretations are possible.

SUBTOTAL is designed for vertical ranges. Hiding a column is not the equivalent of hiding a row for this purpose, so do not apply the same expectation to a horizontal collection of amounts.

Prove the result with a tiny sample

In a separate test sheet, enter three fictional records with amounts 10, 20 and 30. With all rows visible, the sum is 60. Filter out the record worth 20; both sum variants should show 40.

Clear the filter, then manually hide the row worth 20. The version using 9 should remain 60, while the version using 109 should show 40. Unhide the row after the test.

Apply the chosen rule to the real list and compare one filtered group with an independent calculation. Confirm that the formula covers the newest records and excludes unrelated notes or totals. When exporting or printing, keep the filter context with the reported figure so another reader knows which records it represents.

References: Microsoft: SUBTOTAL function.

Prev Post
Next Post

Thanks for subscribing!

This email has been registered!

Shop the look

Choose Options

Edit Option
Terms & Conditions
Unless otherwise stated, brand new accessories are guaranteed for one year. Second-hand parts are guaranteed for three months. Repair (hardware) is guaranteed for one month. The software is not covered by the warranty, you should contact the software development organization for technical support and after-sales service. The warranty is limited to the same position fault; the customer should provide the warranty with the complete Warranty sticker and the receipt of payment. Otherwise, it will not be guaranteed. (If the warranty label is damaged for any reason, is not covered by warranty.) Returns and refunds Please read our Return & Refund Policy for the current return timeframe, conditions, fees, return methods and refund processing time.
this is just a warning
Login
Shopping Cart
0 items