Exponential smoothing in Google Sheets
Exponential smoothing forecasts the next value from the last forecast, corrected by part of its error. Recent data counts most, and older data fades out gradually. Example: the same 18 months of demand used in the moving average guide.
Damping factor and alpha
Textbooks write the method with a smoothing constant alpha (a) between 0 and 1:
Forecast(t) = a * Actual(t - 1) + (1 - a) * Forecast(t - 1)
Excel's Exponential Smoothing dialog asks for a damping factor instead, and the damping factor is 1 - a. StatPak uses the same convention so results match Excel. A damping factor of 0.7 means a = 0.3; the default of 0.3 means a = 0.7. Microsoft's ToolPak documentation suggests smoothing constants of 0.2 to 0.3, which is a damping factor of 0.7 to 0.8.
Run the Exponential Smoothing tool
- Open Extensions, StatPak, Data Analysis and choose Exponential Smoothing.
- Input range:
B1:B19with Labels in first row ticked. - Damping factor: 0.7.
- Tick Standard errors, choose Output range
C2and click Run.
Column E shows a second run with damping factor 0.3, for comparison. The column headers give the damping factor.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Demand | Forecast 0.7 | Std error | Forecast 0.3 |
| 2 | Jan 2025 | 120 | #N/A | #N/A | #N/A |
| 3 | Feb 2025 | 132 | 120 | #N/A | 120 |
| 4 | Mar 2025 | 128 | 123.6 | #N/A | 128.4 |
| 5 | Apr 2025 | 141 | 124.92 | 11.85926 | 128.12 |
| 6 | May 2025 | 150 | 129.744 | 15.14631 | 137.136 |
| 7 | Jun 2025 | 138 | 135.8208 | 14.98467 | 146.1408 |
| 8 | Jul 2025 | 155 | 136.4746 | 15.89808 | 140.4422 |
| 9 | Aug 2025 | 162 | 142.0322 | 15.77608 | 150.6327 |
| 10 | Sep 2025 | 149 | 148.0225 | 15.73595 | 158.5898 |
| 11 | Oct 2025 | 170 | 148.3158 | 17.02816 | 151.8769 |
| 12 | Nov 2025 | 176 | 154.821 | 17.50913 | 164.5631 |
| 13 | Dec 2025 | 168 | 161.1747 | 17.93821 | 172.5689 |
| 14 | Jan 2026 | 181 | 163.2223 | 16.44363 | 169.3707 |
| 15 | Feb 2026 | 190 | 168.5556 | 16.5579 | 177.5112 |
| 16 | Mar 2026 | 184 | 174.9889 | 16.90273 | 186.2534 |
| 17 | Apr 2026 | 197 | 177.6923 | 17.45327 | 184.676 |
| 18 | May 2026 | 205 | 183.4846 | 17.48239 | 193.3028 |
| 19 | Jun 2026 | 199 | 189.9392 | 17.49096 | 201.4908 |
How to read the output
- Each row holds the forecast for that month, made with data up to the month before. The first row is #N/A because there is no earlier data, and the second row's forecast is simply the first actual value, 120.
- Standard error is the square root of the average squared forecast error over the latest 3 periods, so it starts in row 5. The last one is 17.49096 with damping 0.7 and 9.914795 with damping 0.3.
- Demand here rises steadily, so the heavily damped forecast (0.7) keeps falling behind, and its errors are larger. A lower damping factor reacts faster but also passes more noise into the forecast.
Forecasting the next month
The output stops at the last actual month. Apply the formula once more for July 2026: with damping 0.7, =0.3 * B19 + 0.7 * C19 gives 192.6574.
With formulas
Put the damping factor in a cell, for example G1 = 0.7. Then C3 is =B2, and C4 is =(1 - $G$1) * B3 + $G$1 * C3, filled down. The standard error in D5 is =SQRT(SUMXMY2(B3:B5, C3:C5) / 3). Change G1 to try other values, or use Solver with the Nonlinear method to find the damping factor that minimises the squared errors.
Simple exponential smoothing has no trend or seasonal term, so on trending data it will always lag. For a trend, use a regression on time or a method with a trend component (Holt's method).