2024: Week 16 - Budget vs Actuals
Challenge by: Michał Mioduchowski
We're continuing with DS43's challenges so over to Michał to explain the next challenge.
_____________________________________
For this week, Superbytes has requested us to look at their budget sheet for 2022. The company believes that their rough budget estimates were very close to the final budget allocations for that year. Examining historical budget data allows the company to identify trends in spending patterns over time. This can provide valuable insights into how expenses have evolved and help predict future expenditure trends. CEO Phil Down would like us to find the exact areas of mismatch between predicted and actual spending.
Inputs
- Forecasted Spending
- Actual Spending
Requirements
- Input the Excel file
- Match Sheet 1 and Sheet 2 in formatting. Both should include:
- Category field [String]
- Budget/Actual field [Number (Decimal)]
- Join both sheets based on Category field to create a single table with 3 columns:
- Category [String]
- Budget [Number]
- Actual [Number]
- Rename the fields to:
- Category
- Forecasted Spending
- Actual Spending
- Create a new calculated column with the differences between forecasted and actual values.
- Values in the new column should be rounded to whole numbers [ROUND(...)]
- Output the data
Output
- 4 fields
- Category
- Forecasted Spending
- Actual Spending
- Difference
- 9 rows