Multiple Criteria, Multiple Worksheets, Multiple Workbooks!

crabby09

New Member
Joined
Sep 20, 2011
Messages
7
Hi guys,

Would be so chuffed if you could help me!

I have 3 workbooks, each containing about 50 worksheets. They each have about 300 lines of data with the same 'name' in coumn A and months across the top from C onwards. The worksheets are all assigned a 'division' number, and so are identifiable by their name.

So far... This is what I have done.

1.) I copied all the required worksheets to a new workbook.
2.) On a seperate sheet, each division has been designated a consolidation code.
3.) When a consolidation code is selected in a drop down menu, all unrequired divisions are automatically remvoed from the consolidation list.

Code:
=IF('P&L'!$A$1='Roll Up Sheet'!C5,'Roll Up Sheet'!A5,"")

4.) A seperate column takes the consolidation list and condenses it (removes blanks).

Code:
=IFERROR(INDEX(SheetList,SMALL((IF(LEN(SheetList),ROW(INDIRECT("1:"&ROWS(SheetList))))),ROW(A1)),1),"")

5.) I created a dynamic named range on the condensed consolidation list.

Code:
=OFFSET('Roll Up Sheet'!$G$2,0,0,COUNT('Roll Up Sheet'!$G$2:$G$115),1)

6.) I created a SUMPRODUCT code which sums every division with 3 different criteria.

Code:
=SUMPRODUCT(SUMIF(INDIRECT("'"&DynamicSheetList&"'!$A$1:$A$400"),$A7,INDIRECT("'"&DynamicSheetList&"'!$C$1:$C$400")))


The above WORKS! And it works well! HOWEVER, the workbook is cumbersome because of how large it is. I would much prefer being able to link to the worksheets in their original location, rather than having to link through to them.

Any ideas how I can do this?

Thanks,

crabby
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Happy for someone to tell me it's not possible, if it's not? Just need to know if I should scrap my worksheet.

Any ideas? I'm not a VBA whiz, so I'd prefer a simple formula solution?

Thanks,

crabby
 
Upvote 0

Forum statistics

Threads
1,224,591
Messages
6,179,768
Members
452,940
Latest member
rootytrip

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