confused about autofilter

mortgageman

Well-known Member
Joined
Jun 30, 2005
Messages
2,015
I don't understand what the point of autofilter is if when you sum a filtered column, it sums the all the rows - filtered and non filtered.

For example:

Money Code
1 1
2 5
3 1
4 5
5 1
6 5

When I autofiltered on 5 and sumed the money column, I didn't get (as I thought I would) 12. I got the sum of the entire column. Why filter in the first place?

Gene Klein
 

Some videos you may like

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

buxtongt

Well-known Member
Joined
Oct 5, 2011
Messages
709
You could use the subtotal function with 9 as the first argument, that would total just the visible rows.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,964
Messages
5,599,069
Members
414,281
Latest member
Engjamal2021

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
Top