SUMIF multiple criteria in 1 range

G

Guest

Hi

I am having trouble summing a range of cells that meet multiple criteria.

I have 3 resources clin040, clin060 and clinmix. These resource codes appear
in column K. Column K also contains many other resource codes. I need to sum
all the cells in column AL that have either clin040, clin60 or clinmix in
column K.

I also need to do this over a number of sheets - clin1, clin2 clin3 etc to
clinEND, and have a total of all cells with those resources across all the
sheets.

Please help!
 
J

JE McGimpsey

One way:

On each sheet in an out-of-the-way cell, say, BZ1, array-enter
(CTRL-SHIFT-ENTER, or CMD-RETURN):

=SUM(SUMIF(K:K,{"clin040","clin060","clinmix"},AL:AL))

Then on your summary sheet, enter:

=SUM(clin1:clinEND!BZ1)

where clin1 is the left-most sheet and clinEND is the right-most sheet.
 
A

Aladin Akyurek

Mike@Q said:
Hi

I am having trouble summing a range of cells that meet multiple
criteria.

I have 3 resources clin040, clin060 and clinmix. These resource codes
appear
in column K. Column K also contains many other resource codes. I need
to sum
all the cells in column AL that have either clin040, clin60 or clinmix
in
column K.

I also need to do this over a number of sheets - clin1, clin2 clin3 etc
to
clinEND, and have a total of all cells with those resources across all
the
sheets.

Please help!

If you install Longre's morefunc.xll add-in...

=SUMPRODUCT(--ISNUMBER(MATCH(THREED(clin1:clin3!K2:K60),{"clin040";"clin60";"clinmix"},0)),THREED(clin1:clin3!AL2:AL60))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top