Looking for an excel formula for my Sumifs of multiple sheets, multiple columns sum range, and multiple criteria.

suri7891

New Member
Joined
Dec 24, 2020
Messages
24
Office Version
  1. 2016
Hi There,

I am looking for an excel formula for my sumifs of Multiple sheets, multiple column sum range, and multiple criteria. I tried to use Indirect+sumifs+sumproduct. But I am unable to select the multiple column sum range in the excel.

I have uploaded 2 images to understand the requirement. I need to consolidate all the sheets sum into the consolidated sheet. Please help.

Regards,
Suresh
 

Attachments

  • Worksheet image 1.PNG
    Worksheet image 1.PNG
    24.8 KB · Views: 36
  • Worksheet image 2.PNG
    Worksheet image 2.PNG
    25.6 KB · Views: 36
Here's an example that consolidates only two months. You'll need to add the remaining months to the list of months in Column I, and adjust the formula accordingly.

suri.xlsm
ABCDEFGHIJ
1Resource NameProject AProject BProject CProject DProject ESheet Names
2A733610Jan
3B57479Feb
4C37466
5D756610
6E97755
7F49759
8
Consolidation
Cell Formulas
RangeFormula
B2:F7B2=SUMPRODUCT(SUMIF(INDIRECT("'"&$I$2:$I$3&"'!A2:A7"),$A2,OFFSET(INDIRECT("'"&$I$2:$I$3&"'!B2:F7"),0,MMULT(IF(T(OFFSET(INDIRECT("'"&$I$2:$I$3&"'!B1:F1"),0,COLUMN(INDIRECT("B:F"))-COLUMN(INDIRECT("B:B")),1,1))=B$1,COLUMN(INDIRECT("B:F"))-COLUMN(INDIRECT("B:B")),0),TRANSPOSE(COLUMN($B$1:$F$1))^0),,1)))


suri.xlsm
ABCDEFG
1Resource NameProject CProject AProject EProject BProject D
2E44453
3B24524
4C32235
5A25521
6D52541
7F42443
8
Jan


suri.xlsm
ABCDEFG
1Resource NameProject EProject CProject AProject DProject B
2A51251
3D51551
4C41114
5E13522
6B42135
7F53225
8
Feb


Hope this helps!
Hi there,

Thank you very much. The formula is exactly matching my requirement. Thanks for your help again.

Thanks,
Suresh.K
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Thank you very much. The formula is exactly matching my requirement.
The marked solution post has been changed accordingly.

@suri7891: In your future questions, please mark the post that answered your question as the solution to help future readers. No further action is required for this thread.
 
Upvote 0
Hi there,

Thank you very much. The formula is exactly matching my requirement. Thanks for your help again.

Thanks,
Suresh.K
That's great, I'm glad I could help, and thanks for your feedback.

Cheers!
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

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