How do I compute a weighted average for the following?

LanceCasteau

New Member
Joined
Dec 15, 2018
Messages
2
StoreAverage Daily SalesInventoryDays On Hand (Inv/Sales)
New York, NY20402
Seattle, WA252008
Detroit, MI752253
Dallas, TX55010
Total1255154.12

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


How to calculate what each stores weight is in the aggregate Days On Hand (4.12)?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Ken,

Thank you, that returns the weighted average across all stores, 4.12, which is obviosuly correct and matches my total line. What Im looking for, is the individual stores portion of that 4.12, ie Dallas has 10 days on hand, but they probably account for less than 1 day on hand for the total weighted average. Hopefully my follow up makes sense and hope you can help!

Thanks again
 
Upvote 0
maybe use PivotTable with CalculatedField (Inventory/Sales)

StoreSum of Average Daily SalesSum of InventorySum of WA
Dallas, TX
5​
50​
10​
Detroit, MI
75​
225​
3​
New York, NY
20​
40​
2​
Seattle, WA
25​
200​
8​
Grand Total
125
515
4.12
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,212
Members
449,074
Latest member
cancansova

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