LOGEST Function
Return the statistics of the exponential curve that best fits the data, y = b·mˣ. known_y holds the dependent values, which must be greater than 0, and known_x the independent ones (1, 2, 3 and so on when omitted). const TRUE or omitted calculates b and FALSE sets it to 1, and stats TRUE adds rows of regression statistics. The result is an array that spills, with m first and b second; a known_y value of 0 or less returns #NUM!.
Syntax
LOGEST(known_y, known_x, const, stats)
Category: Statistics. Minimum arguments: 1. Maximum arguments: 4.
Available for supported offline calculation.
Examples
=LOGEST({2;4;6},{1;2;3})
The formula returns m = 1.7320508076 and b = 1.2114137286 in two cells of a row, the exponential curve closest to the values 2, 4 and 6.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.