Solved

MS Excel 2007 - Sum $ amount for my filtered selection.

Posted on 2012-04-06
2
279 Views
Last Modified: 2012-04-06
How do I add a cell to sum up the value that I select in a filter?

I have a list locations and $ amounts. Each location has its own dollar amount. The column headers for this data has the drop down filter turned on.  I want to add to my spread sheet a cell that sums the dollar values for the location that I select in from my filter.  If I select from my filter Albany I want the summary cell to only total Albany $ amounts. If I change to a new location the sum should change accordingly.

SUM: $926,000

Location      Amount            
Albany      $340,000
Albany      $123,000
Rensselaer  $456,234
Rensselaer $156,000
Saratoga      $340,000
Saratoga      $123,000
Albany      $340,000
Albany      $123,000
Rensselaer $456,234
Rensselaer $156,000

I know I can do this with a Piviot table  or insort subtotals into the data. My question is specific to summing data for a selected filter.

Thanks for your assistance
Ldufresne
0
Comment
Question by:Lou Dufresne
2 Comments
 
LVL 33

Accepted Solution

by:
Norie earned 500 total points
Comment Utility
Try SUBTOTAL.

=SUBTOTAL(9,B3:B12)

Where B3:B12 is the range with the dollar amounts.
0
 
LVL 1

Author Closing Comment

by:Lou Dufresne
Comment Utility
Can you please tell me what the "9" is in the formula  =Subtotal(9,B3:B12)

Other than that the fornula works great.

Thanks
Ldufresne
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now