Sum Formula For A Filtered Sheet

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,196
Office Version
  1. 2010
Platform
  1. Windows
If I have 200 rows in a report and each row has an amount in column T, so then I filter it and now have 50 rows. How can I get the sum of those 50 rows without the hidden rows? I tried the normal =sum(T4:T200) but it also shows any hidden rows. What can I use? The rows I want may be in 4 differant groups with hidden rows in between. Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If I have 200 rows in a report and each row has an amount in column T, so then I filter it and now have 50 rows. How can I get the sum of those 50 rows without the hidden rows? I tried the normal =sum(T4:T200) but it also shows any hidden rows. What can I use? The rows I want may be in 4 differant groups with hidden rows in between. Thanks
Try this...

=SUBTOTAL(9,T4:T200)
 
Upvote 0
That still shows hidden rows. Isnt there a way to only sum visable rows? Thanks
 
Upvote 0
That still shows hidden rows. Isnt there a way to only sum visable rows? Thanks
What version of Excel are you using?

This will ignore rows that are hidden by using filters such as autofilter and rows hidden by other means. It requires Excel 2003 or later.

=SUBTOTAL(109,T4:T200)
 
Upvote 0
OPPS sorry. I see that it only works on filtered rows, if I just hid rows it still adds all. Thanks for the formula!!
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top