Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel Lookup Assistance

Posted on 2013-11-14
4
Medium Priority
?
223 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

926 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