Getting Started
This tutorial guides you through building revenue forecasting formulas in Excel (or Google Sheets). You will do all the work in your own spreadsheet, then come back here to verify your answers.
Setup Steps
Two Ways to Check Your Work
- Quick Check: Paste a few specific cell values and get instant feedback with error diagnosis
- Full Check: Upload your completed spreadsheet for a comprehensive scorecard of every cell
Each task also has a progressive hint system if you get stuck — try to work through it yourself first!
Inflation Adjustment — Real Dollars
Raw sales tax revenue can be misleading because a dollar in 2001 had more purchasing power than in 2022. We adjust for inflation using the Consumer Price IndexCPI measures the average change in prices paid by consumers over time to convert to "real dollars"Dollars expressed in constant purchasing power, removing the effect of inflation.
Why Adjust for Inflation?
If a city collected $2M in October 2001 and $7.5M in January 2022, has revenue really grown that much? Part of the increase is just because everything costs more. Converting to real dollars lets us see the true growth in economic activity.
Worked Example — October 2001 (Row 4)
In today's dollars, the Oct 2001 collection of $2.08M is equivalent to about $3.83M.
What to Do in Excel
=($C$248/C4)*B4
$ signs in $C$248 lock that cell so it doesn't shift when you copy the formula down. Without them, row 5 would incorrectly reference C249 (which doesn't exist). The other references (C4 and B4) should be relative so they shift to C5/B5, C6/B6, etc.
=($C$248/C4)*B4Copy this from D4 down to D248. Cell D248 should equal $7,209,726 (since the CPI ratio is 211.693/211.693 = 1, the last row's real dollars equals its nominal dollars).
Paste the values from these cells in your spreadsheet. You can paste with or without the $ sign and commas.
Year-over-Year Percentage Change
Sales tax revenue has strong seasonalityRegular patterns that repeat each year (e.g., holiday shopping in December). To control for this, we compare each month to the same month one year earlier.
Why Year-over-Year?
Comparing Oct 2002 to Oct 2001 (not Sep 2002) removes seasonal effects. The result tells us: "compared to last year at this same time, is revenue growing or shrinking?"
We start at row 16 (Oct-02) because the first 12 months serve as the baseline.
Worked Example — Oct-02 (Row 16)
Oct-02 Real Dollars (D16) compared to Oct-01 Real Dollars (D4):
Complete Task 1 first to see the actual numbers here.
What to Do in Excel
=((D16-D4)/D4)*100
=((D16-D4)/D4)*100Copy from E16 through E248. Cell E16 should show approximately 6.67%, meaning Oct-02 real collections were about 6.67% higher than Oct-01.
Paste the percentage values from these cells (with or without the % sign).
12-Month Moving Average
Even after adjusting for inflation and seasonality, revenue data is "noisy." A moving averageThe average of a fixed window of data points that slides forward one period at a time smooths out random fluctuations to reveal the true underlying trend.
How the Sliding Window Works
- First window: Average of % changes from rows E16 through E27 (Oct FY2 to Sep FY3)
- Second window: Slides one month forward — rows E17 through E28
- Each new average drops the oldest month and adds the newest
What to Do in Excel
=AVERAGE(E16:E27)
E16:E27 contains 12 cells (16, 17, 18, ... 27). When copied to F28, it becomes E17:E28. When copied to F29, it becomes E18:E29. No absolute references are needed — relative references handle the sliding naturally. Make sure you start in row 27, not row 16 or row 28.
=AVERAGE(E16:E27)Copy from F27 through F248. Cell F27 should show approximately 7.01%.
Paste the moving average values from these cells.
Graphing the Data
Visualizing the moving average on a line chart reveals trends that are hard to spot in numbers. Follow the steps below in Excel, then upload your file to see the reference chart here.
What to Do in Excel
=Sheet1!$A$27:$A$248 (or the equivalent date range).
What to Look For
- Dips around FY3 (2003–04) and FY13–15 (2013–15) correspond with recessions
- The current trend appears to be declining, though revenue is still growing (above 0%)
- The trendline shows the overall long-term trajectory
(Uses your verified data from Tasks 1–3, or answer-key data if not yet verified)
Analysis & Forecasting
Guidance
- (a) Increasing at increasing rate: Line above 0 and sloping upward
- (b) Increasing at decreasing rate: Line above 0 but sloping downward
- (c) Decreasing at increasing rate: Line below 0 and sloping downward
- (d) Decreasing at decreasing rate: Line below 0 but sloping upward
Hint
The most recent segment appears to be case (b): the line remains above zero but has been trending downward (growth is decelerating).
Prediction Calculator
Enter an assumed year-over-year percentage change. The tool projects using actual collections from the same month last year.
Rationale Hints
- Look at the last 6 months of % Change (column E) to gauge recent momentum
- Compare last 6 months avg of column E vs. column F — if E is lower, the trend is worsening
- Increases compound: a 2% growth rate builds on the prior year's already-higher figure
Forecast Template
Key Assumptions to Discuss
- Does the recent deceleration trend continue, stabilize, or reverse?
- Are there expected economic events that would affect sales tax?
- Does the seasonal collection pattern remain stable?
Answer Key
Use this to spot-check individual values after you have attempted each task. Click to reveal.