Sample Data
Monthly sales data for the first six months of the year.
| Cell | Value |
|---|---|
| A1 | Month |
| B1 | Sales |
| A2 | Jan |
| B2 | 100 |
| A3 | Feb |
| B3 | 120 |
| A4 | Mar |
| B4 | 130 |
| A5 | Apr |
| B5 | 150 |
| A6 | May |
| B6 | 170 |
| A7 | Jun |
| B7 | 160 |
Monthly sales data for the first six months of the year.
| Cell | Value |
|---|---|
| A1 | Month |
| B1 | Sales |
| A2 | Jan |
| B2 | 100 |
| A3 | Feb |
| B3 | 120 |
| A4 | Mar |
| B4 | 130 |
| A5 | Apr |
| B5 | 150 |
| A6 | May |
| B6 | 170 |
| A7 | Jun |
| B7 | 160 |
FORECAST(SUM([Sales])) OVER (ORDER BY [Month])A B 1 | Month | Sales | 2 | Jan | 100 | 3 | Feb | 120 | 4 | Mar | 130 | 5 | Apr | 150 | 6 | May | 170 | 7 | Jun | 160 | Arrows: Sales values in column B feed into the FORECAST calculation.
A B C 1 | Month | Sales | Forecast | 2 | Jan | 100 | 100 | 3 | Feb | 120 | 120 | 4 | Mar | 130 | 130 | 5 | Apr | 150 | 150 | 6 | May | 170 | 170 | 7 | Jun | 160 | 160 | 8 | Jul | | 179 |