Syntax

TREND(known_data_y, [known_data_x], [new_data_x], [b])

Arguments

The printed syntax lists 3 argument(s), in order:

  • known_data_y
  • nown_data_ optional
  • ew_data_ optional

“optional” marks an argument Google prints in square brackets; “repeatable” marks one Google prints with “…”.

Description from Google Docs Editors Help

“Given partial data about a linear trend, fits an ideal linear trend using the least squares method and/or predicts further values.”

Google’s help article for TREND →

Source: Google Docs Editors Help, “Google Sheets function list” (support.google.com/docs/table/25273), record record 504 of 516, data fetched 28 September 2026. Data month: September 2026.