Compatibility All versions ◉ 4 views

=FORECAST()

Predicts a future value based on a linear trend (the legacy FORECAST.LINEAR)

=FORECAST(x, known_y's, known_x's)
Hover argument names in the table for details.
Output typeNumber
Popularity35 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =FORECAST() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download FORECAST.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
x Number Required The value to predict
known_y's Range Required Known result values (y)
known_x's Range Required Known predictor values (x)

▣ Examples

Example 1 =FORECAST(13, B2:B13, A2:A13)
Example 2 =FORECAST(80, C2:C25, B2:B25)

✦ Tips

  • In the arguments, the y values (results) come first, then the x values (predictors).
  • It only considers a linear trend; for seasonal data FORECAST.ETS is more suitable.

⚠ Common Errors

#N/A The two ranges do not contain the same number of data points, or one of them is empty
Fix: Make the two ranges the same size

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.