Selective weighted average

UndwaterExcelWeaver

New Member
Joined
Mar 2, 2019
Messages
38
Office Version
  1. 365
Platform
  1. Windows
In the table below I need to be able to calculate the weighted average of salt results using only the recipes that have a salt result present. While I have total recipe lbs for all recipes, I do not have salt results for all recipes. So, I need to be able to exclude those recipes that do not have salt results. Can someone help me with a formula to accomplish this? Thanks

Nancy Plant Mass Balance 1023.xlsm
EFGHIJK
144LbsMoistureFatSalt
145Nancy Water Packed Big Size4,83060.2816.950.88
146Nancy Marinade9,72061.3716.851.02
147Nancy Water Packed <2oz16,27261.0016.900.82
148Nancy Thermoform118,53860.6417.571.06
149Nancy Water Packed <2oz NT II66361.0016.90 
150Nancy Water Packed Big Size NT II00.000.00 
151Nancy Thermoform NT II31,91060.3017.280.76
152Nancy Marinade NT II00.000.00 
153Burrata00.000.00 
154FS Weighted av (065)181,93360.6517.400.98
19
 
that is exactly the equation I posted in post#6 just with different rows numbers!! so you could mark it as the answer
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

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