=LOGEST(known_y's, [known_x's], [const], [stats])
=LOGEST(B2:B10)
In this example, the LOGEST function is used to perform an exponential regression analysis on a set of data points in the range B2:B10. The function returns the parameters of the exponential model "y = b * m^x," where "b" is the base of the natural logarithm of the constant term, and "m" is the base of the natural logarithm of the growth factor. The formula returns the value of "m," the growth factor, which can be used to predict future values based on the exponential model.
=LOGEST(B2:B10, A2:A10, TRUE, TRUE)
In this example, the LOGEST function is used to perform an exponential regression analysis on a set of data points with known Y-values in the range B2:B10 and known X-values in the range A2:A10. The third argument (TRUE) specifies that the constant term "b" should be calculated, and the fourth argument (TRUE) specifies that additional regression statistics should be returned. The formula returns an array of values, including the growth factor "m," the constant term "b," and additional regression statistics such as the coefficient of determination (R-squared).
The LOGEST function is used to calculate an exponential curve using data and returns an array of values which describe the curve's shape. It must be entered as an array formula in Microsoft 365.