?
Solved

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

Posted on 2014-03-04
4
Medium Priority
?
190 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
[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
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

765 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