Auto-create total when filtered

droo09

Board Regular
Joined
May 13, 2011
Messages
52
Hello, so I was wondering if it is possible to auto create a new total when selecting certain data from a auto-filter. So for instance, if I select "John" in auto filter, only his account revenue shows, but there are no grand totals of revenue.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Use the =SUBTOTAL() formula to only sum data in visible rows.

Say you have names in A2:A20 and revenue in B2:B20

in your sum (say B25)

=SUBTOTAL(109,B2:B20)

Without the filter, this will give you a grand total, when filtered, only the visible cells are summed.

Alternatively, you can select all your data and create a pivot table. Put the names in 'rows' or 'row labels' (depends on XL version) and the revenue amounts in the 'data' field. This will give you a sum for each name in the list.

HTH
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,548
Members
452,927
Latest member
rows and columns

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