I’m trying to create a waterfall chart, but having trouble working out how to calculate the contributions from the components that gets you from budget to actual...
For example – I have a "budget" list of groceries, with a price and a quantity, and then I’ll have an "actual" grocery list with the final price and quantity… which looks like the below
Budget
| Item | Price | Quantity |
|---|---|---|
| Apples | 2.1 | 5 |
| Oranges | 3.4 | 7 |
| Bananas | 5.1 | 10 |
| Mangos | 15.3 | 3 |
| Grapes | 3.8 | 20 |
| Total | 4.6 | 45 |
Actual
| Item | Price | Quantity |
|---|---|---|
| Apples | 2.5 | 9 |
| Oranges | 3.7 | 6 |
| Bananas | 4.3 | 11 |
| Mangos | 13.3 | 4 |
| Grapes | 9.5 | 22 |
| Total | 6.8 | 52 |
So if the waterfall were to begin at the weighted average of $4.6 per grocery item, how do I calculate each grocery item's contribution to get to the actual weighted contribution to $6.8 per item? Is there a nice simple calculation to work this out, ensuring that it factors in changes to each item's price as well as changes in quantity...
hoping to achieve something like this waterfall:
Thanks
