MultiTab Sumif

JetreL

New Member
Joined
Mar 3, 2011
Messages
1
OK, I have tried a few things with no luck and was hoping that someone here could help me out.

I am trying to do a multitab sumif. Here is a simpler breakdown of what I am trying to accomplish. I have a 5 page workbook,

Two Supervisor Pages
S1, S2
Three Worker Pages
D1, D2, D3

On all the tabs I have a cell that contains which supervisor the person belongs to. (On the Supervisor Page it's Cell A5 and on the Worker pages it's Cell C5) I am trying to do a check if the worker belongs to a supervisor and the add the appropriate cell withing the workbook.

Ex
Sheet S1 Cell A5 = Smith
Sheet S2 Cell A5 = Jones

Sheet D1
Code:
     C  D
5  Smith
..
10   7  8
11   6  8

Sheet D2
Code:
     C  D  
5  Jones 
..
10   9  8  
11   6  8
Sheet D3
Code:
     C  D  
5  Smith
..
10   6  7  
11   8  7
So on Smith's Workbook for C10 I want to do:
=Sumif(D1:D3!$C5,A5,D1:D3!$C10)
which should equal 13
So on Jones's Workbook for C10 I want to do:
=Sumif(D1:D3!$C5,A5,D1:D3!$C10)
which should equal 9

I have tried selecting all the Workers sheets and named them Agents and doing this but it doesn't seem to work.

=SUMPRODUCT(SUMIF(INDIRECT("'"&Agents&"'!C5",1),"A5",INDIRECT("'"&Agents&"'!C10")))

Any help anyone can give would be appreciated!!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
try
=SUMPRODUCT(SUMIF(INDIRECT("'"&Agents&"'!C5"),A5,INDIRECT("'"&Agents&"'!C10")))
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,239
Members
452,898
Latest member
Capolavoro009

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