Link to home
Start Free TrialLog in
Avatar of Matt Pinkston
Matt Pinkston

asked on

Excel Lookup Assistance

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
Avatar of NBVC
NBVC
Flag of Canada image

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")))
Avatar of Matt Pinkston
Matt Pinkston

ASKER

all I am looking for is one formula for one column

sum of all deals column M when all deals column J = civilian
isn't it something like this

=SUMIF(!all dealsJ:J, "Civilian", !all deals M:M)
ASKER CERTIFIED SOLUTION
Avatar of NBVC
NBVC
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial