muliple sheet range + sumif / sumproduct

G

Guest

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
 
G

Guest

Try this:

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

Guest

another way is

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


regards,
driller
 
G

Guest

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