Statistical Excel 2016 ◉ 32 views

=FORECAST.LINEAR()

Predicts a future value based on the linear trend of past data

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=FORECAST.LINEAR(x, known_y's, known_x's)
Hover argument names in the table for details.
Output typeNumber
Popularity50 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =FORECAST.LINEAR() 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.LINEAR.xlsx ~ 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 for which the prediction is made
known_y's Range Required Known result values
known_x's Range Required Known factor values

▣ Examples

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

§ Remarks

  • اگر x غیرعددی باشد، FORECAST.LINEAR خطای #VALUE! را برمی‌گرداند.
  • اگر known_y's و known_x's خالی باشند یا تعداد نقاط داده آن‌ها متفاوت باشد، FORECAST.LINEAR خطای #N/A را برمی‌گرداند.
  • اگر واریانس known_x's صفر باشد، FORECAST.LINEAR خطای #DIV/0! را برمی‌گرداند.

✦ Tips

  • In the inputs, first come the y values (result) and then the x values (factor).
  • It only considers a linear trend; FORECAST.ETS is more suitable for seasonal data.
  • Predictions for points far from the existing data have low accuracy.

⚠ Common Errors

#VALUE! مقدار x غیرعددی است.
Fix: برای x مقدار عددی وارد کنید.
#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
#DIV/0! واریانس known_x's صفر است.
Fix: مطمئن شوید مقادیر known_x's یکسان نیستند و حداقل دو مقدار متفاوت دارند.

💬 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.