TREND Function in Excel: Extend a Straight-Line Trend

TREND Function in Excel: Extend a Straight-Line Trend featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

StatisticsLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. TREND in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

TREND fits a straight line and returns values on it, for existing points or new ones. In Excel 365 it spills several forecasts at once.

Advertisement

Syntax

=TREND(known_ys, [known_xs], [new_xs], [const])
Argument What it means
new_xs The x-values to predict for.

Examples

Example 1

=TREND(C2:C25, A2:A25, A26:A31)

Next six months on the same trend.

TREND in practice

Where you will use it

  • Linear forecast for several months
  • Fill gaps along a straight line
  • Budget projections

Worked example

MonthFormulaResult
7=ROUND(TREND({100,108,115,124,130,139},{1,2,3,4,5,6},A2),1)146.3
8=ROUND(TREND({100,108,115,124,130,139},{1,2,3,4,5,6},A3),1)154
9=ROUND(TREND({100,108,115,124,130,139},{1,2,3,4,5,6},A4),1)161.8

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Curved growthUse GROWTH
Argument orderknown_y's, known_x's, new_x's

FORECAST.LINEAR Β· GROWTH Β· SLOPE

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Statistics advanced33 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 36 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong