Solved

Calculate summary in one column based on value in another one in Excel 2010

Posted on 2014-03-04
4
181 Views
Last Modified: 2014-03-04
Tried this formula based on one I found on this site. Mine doesn't work.
I want to enter the account numbers in the top summary area and get all of the values from the PO. Trying just one page for now but would like to be able to do it from all 3 pages for larger POs.
=SUMPRODUCT(($A$18:$A$39 =E10)*($J$18:$J$39))
blank.xls
0
Comment
Question by:maryj152
  • 2
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39903588
SUMIF is better for a single condition, i.e.

=SUMIF($A$18:$A$39,E10,$J$18:$J$39)

In this case that works because SUMIF ignores the text values in column J which are leading to #VALUE! errors for SUMPRODUCT

regards, barry
0
 

Author Comment

by:maryj152
ID: 39903656
That works on one page . Now how do I identify the columns on all three different pages?
0
 

Author Comment

by:maryj152
ID: 39903711
This is what i tried
=SUMIF(page1!$A$18:page3!$A39,e10,page1!$J$18:page3!$J$39)
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 39904058
"3d" ranges (ranges across multiple sheets) don't work with SUMIF. For only 3 worksheets you could just add 3 SUMIF formulas together like this:

=SUMIF(page1!$A$18:$A$39,E10,page1!$J$18:$J$39)+SUMIF(page2!$A$18:$A$39,E10,page2!$J$18:$J$39)+SUMIF(page3!$A$18:$A$39,E10,page3!$J$18:$J$39)

or this formula is more easily extensible for multiple worksheets

=SUM(SUMIF(INDIRECT("page"&{1,2,3}&"!$A$18:$A$39"),E10,INDIRECT("page"&{1,2,3}&"!$J$18:$J$39")))

regards, barry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

911 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

15 Experts available now in Live!

Get 1:1 Help Now