muliple sheet range + sumif / sumproduct

A

andy

i would like to sum all values in column C of different sheets when column A
of these sheets matches a certain value.

i tried the following:
sumif(Sheet1:Sheet3!$A:$A,"EU",Sheet1:Sheet3!C:C)
and
sumproduct(--(Sheet1:Sheet3!$A1:$A1000="EU"),Sheet1:Sheet3!C1:C1000)

either way no result however.

thanks for helping.
andy
 
T

Teethless mama

Try this:

=SUM(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!A:A"),"EU",INDIRECT("Sheet"&{1,2,3}&"!C:C")))
 
D

driller

another way is

=SUMproduct(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!A:A"),"EU",INDIRECT("Sheet"&{1,2,3}&"!C:C")))


regards,
driller
 
A

andy

both work just fine, thanks !

driller said:
another way is

=SUMproduct(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!A:A"),"EU",INDIRECT("Sheet"&{1,2,3}&"!C:C")))


regards,
driller
 

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