Solved

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

Posted on 2012-04-06
2
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

Accepted Solution

by:
Norie earned 500 total points
ID: 37816270
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
ID: 37816620
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

729 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