TREND function - Zoho Sheet - Help Guide

TREND

Predicts future values for an ideal straight line based on the given data set.

 

Syntax

 

TREND(y_values; [x_values]; [new_x_values]; [type])

y_values: The array or range containing the known (dependent) y values. E.g. B2:B11

x_values: The array or range containing the known (independent) x values. It can have more than one variable. It must be of the same size as that of y_values. Defaults to {1,2,3...} if omitted. E.g. A2:A11

new_x_values: The new x values that you want the corresponding y values of. E.g. D2:D5

type: If FALSE, the factor b in y = mx+b equation is set to 0; if allow_factor is non-zero, TRUE, or omitted, the factor b is calculated from the data.

 

Examples

 

Formula

Result

=TREND(B2:B11;A2:A11;D2:D5)

823744

909124

994503

1079883


Get a hands-on experience of the function in the embedded range below. 



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.

 

Similar Functions