Sumif with criteria across sheets with a weight multiplier

MSO_user

New Member
Joined
Jul 3, 2022
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
Dear Friends

I kindly and humbly request, if any of you have the time to solve my query.

Please find the attachment. The formula....

Excel Formula:
=SUMPRODUCT((SUMIF(INDIRECT("'"&$I$6:$I$8&"'!"&"C5:C15"),C6,INDIRECT("'"&$I$6:$I$8&"'!"&"D5:D15"))))

applied SUMIF formula across multiple sheets and then sum the item based on a criteria using SUMPRODUCT.

My query is simple, I want to get the sum of the quantities to be multiplied by a weight no.

I have also explained the resultant value which I need, please review the snaps in series as per attachment.

Please review my sheet and help me in this regards. Any improvement in the previous code will be more than welcome.

Much Much Thanks for your support and time.....

0001_2022-07-03_122422.png


0002_2022-07-03_122448.png


0003_2022-07-03_122501.png



0004_2022-07-03_122516.png


0006_2022-07-03_122554.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Sumif with criteria across sheets with a weight multiplier
and Sumif with criteria across sheets with a weight multiplier

If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Last edited:
Upvote 0
Dear Sir [B]Fluff[/B]

Noted. I am also asking the query with my office IT staff.

So, yes indeed. If I get the solution to my answer, then I shall humbly share it.

Thanks for your support in this regards.
 
Upvote 0
Dear Fellows

It took me some time....but I have understood the issues....and again thanks to ...kvsrinivasamurthy .....otherwise I would at zero....

There was an issue with the original solution....when we delete the items in the sheet list, then the we get errors in the formulae, in order to resolve the issue, we have to update the formulae. And the formulae starts working correctly...

I order to avoid changes in the original formulae...A unique list with zero weights should be added... so that when we modify the sheet list....we do not get errors.....this way we do not have to change the formulae....

I am posting the original file (ending with (1)) and...posting the updated solution file (ending with (3))

I hope that this work shall help others as well....since it has helped me alot......indeed a lot....

Also I shall be sharing this solution with other forum members as well...

Much thanks and Much prayer for all of you guys.......

please download form the link below.....

sumif & criteria accross sheets with a multiplier (1)

sumif & criteria accross sheets with a multiplier (3)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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