Using SUMIFS to gain a values over multiple worksheets

Alexandervanzijl

New Member
Joined
Mar 3, 2011
Messages
1
Hello,

Im having a problem
I use the function:

=SUMIFS('WK (1)'!J:J;'WK (1)'!A:A; "COLEUS GIANT";'WK (1)'!B:B; "Oppotten")

This gives me a value I need to calculate the amout of hours ( in the 'j' column) people are 'oppotten'(planting plants in dutch's ) Coleus Giants (name of a plant).

This works great but I need it to work over multiple worksheets.
For some strange reason I just can't get it to work.

I look on multiple forums and they say I need something like:
=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!A2:A10"),D2,INDIRECT("'"&SheetList&"'!B2:B10")))

The reason why this cannot work is because I dont have all the worksheets yet. (each worksheet is an worklist for each emplyee per week)

The worksheets name is WK (1) and add 1 so its something like , wk(2), wk (3)....

Should I try a different way or can somebody help me.
Thank you in advance

Alex
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top