1. Calculate spending variance for a single category
| Category | Month | Budgeted | Actual | Variance |
| Groceries | January | 300 | 280 | -20 |
| Utilities | January | 150 | 160 | 10 |
| Transport | January | 200 | 190 | -10 |
| Groceries | February | 300 | 320 | 20 |
| Utilities | February | 150 | 150 | 0 |
| Transport | February | 200 | 210 | 10 |
| Groceries | March | 300 | 300 | 0 |
| Utilities | March | 150 | 145 | -5 |
| Transport | March | 200 | 220 | 20 |
| Category | ||||
| Groceries |
=DVAR(A1:E9,"Actual",A12:A13)Result: 400
This calculates variance of actual grocery spending across three months: 280, 320, and 300. With a mean of 300, the variance is 400, indicating moderate variability. This tells you how much grocery spending fluctuated around its average.