?
Solved

Excel Lookup Assistance

Posted on 2013-11-14
4
Medium Priority
?
224 Views
Last Modified: 2013-11-15
I have an excel spreadsheet with multiple tabs.  I am working on a tab called summary and I want column C to equal the sum of Tab all deals column M when column J = Civilian
0
Comment
Question by:Matt Pinkston
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39649321
Create a list of all the tabnames in your workbook somewhere, select that list and name it by typing a name in the NameBox just to the left, for example SheetNames

Then enter a formula like:

=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetNames&"'!J:J"),"Civilian",INDIRECT("'"&SheetNames&"'!M:M")))
0
 

Author Comment

by:Matt Pinkston
ID: 39649330
all I am looking for is one formula for one column

sum of all deals column M when all deals column J = civilian
0
 

Author Comment

by:Matt Pinkston
ID: 39649360
isn't it something like this

=SUMIF(!all dealsJ:J, "Civilian", !all deals M:M)
0
 
LVL 23

Accepted Solution

by:
NBVC earned 2000 total points
ID: 39649378
I thought you were going across multiple sheets.... I didn't pick up that it was one sheet...

if it's one sheet named all deals, then

=SUMIF('all deals'!J:J, "Civilian",'all deals'!M:M)
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

588 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