Help needed understanding a formula

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
573
Office Version
  1. 365
Platform
  1. Windows
Hello

I need help understanding how the formula is calculating the end result.

=SUMPRODUCT(J$21:J$97,$H$21:$H$97,--($B$21:$B$97<>1),--($C$21:$C$97=$C104))/$H104

The first part is summing column J 5,429,225.00
The second part is summing column H 482.71
The third part I believe is counting the number of items in column B 77
The fourth part I believe is looking for a match in column C to the value in C104 (which is there)
The fifth part is taking the results of the first four part and dividing it by the value in H104 151,006
The end result is 4.25 yet I cannot back into this when looking at the results of the individual sections.

Any help in understanding how this formula came to the end result of 4.25 would be appreciated.

Thank you
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
My thoughts are that the formula is looking for the row that matches the value in C104, if it finds a match I believe it is taking the value for that row in column J and multiplying it by the value in column H and dividing that by the value in H104.

Would this be a correct assumption?
 
Upvote 0
Yes, although there could be more than one matching row (at least as far as the formula is concerned). Also, it only looks at rows where column B is not 1.
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,661
Members
449,114
Latest member
aides

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