ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   muliple sheet range + sumif / sumproduct (https://www.excelbanter.com/excel-worksheet-functions/148023-muliple-sheet-range-sumif-sumproduct.html)

Andy

muliple sheet range + sumif / sumproduct
 
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:C 1000)

either way no result however.

thanks for helping.
andy

Teethless mama

muliple sheet range + sumif / sumproduct
 
Try this:

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


"andy" wrote:

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:C 1000)

either way no result however.

thanks for helping.
andy


driller

muliple sheet range + sumif / sumproduct
 
another way is

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


regards,
driller
--
*****
birds of the same feather flock together..



"andy" wrote:

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:C 1000)

either way no result however.

thanks for helping.
andy


Andy

muliple sheet range + sumif / sumproduct
 
both work just fine, thanks !

"driller" wrote:

another way is

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


regards,
driller
--
*****
birds of the same feather flock together..



"andy" wrote:

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:C 1000)

either way no result however.

thanks for helping.
andy



All times are GMT +1. The time now is 11:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com