Returns a table of statistics for an exponential curve that best fits a data set.
LOGEST(yvalues, xvalues, allow_const, stats)
yvalues is a single row or column range specifying the y coordinates in a set of data points.
xvalues is a corresponding single row or column range specifying the x coordinates. If xvalues is omitted it defaults to 1, 2, 3, ..., n.
If there is more than one set of x variables, xvalues may be a range with corresponding multiple rows or columns.
LOGEST finds an exponential curve that best fits the data. With more than one set of variables the curve is of the form .
In order to fit the curve, LOGEST uses linear regression (the "least squares" method) based on the equation .
if allow_const is FALSE the constant a is forced to be one; . If omitted, allow_const defaults to TRUE (a value for a is found).
to and a are the coeficients for the equation above.
to are the standard error values for the ln(b) values; is the standard error value for the value.
is the determination coefficient RSQ; is the standard error value for the estimate.
F is the F statistic (F-observed value); df is the number of degrees of freedom.
is the regression sum of squares; is the residual sum of squares.
Example:
In the example above, cells A2:B6 contain the x,y values for a set of points. LOGEST(B2:B6,A2:A6,1,1) returns the statistics for a best fit exponential curve through those points.
Predicting Population Growth
The LOGEST function is particularly useful for analyzing and predicting data that exhibits exponential growth, such as population, compound interest, or the spread of a virus.
Scenario: A regional government wants to predict the future population of a small town based on historical census data. They believe the population is growing at an exponential rate due to new economic opportunities in the area.
Objective: Use the LOGEST function to find the best-fit exponential curve for the historical data and then use that model to predict the population in the year 2026.
Historical Data Table:
Year (x-values) | Population (y-values) | ||
|---|---|---|---|
A | B | ||
1 | 2010 | 5,500 | |
2 | 2012 | 6,100 | |
3 | 2014 | 6,950 | |
4 | 2016 | 7,800 | |
5 | 2018 | 8,900 | |
6 | 2020 | 10,200 |
Understanding the LOGEST Function:
The LOGEST function in a spreadsheet program calculates the parameters for an exponential curve that best fits the given data. The equation for this curve is:
Applying LOGEST:
To use LOGEST, you would select a range of cells to output the results. The function is entered as an array formula.
The syntax is: LOGEST(known_y's, [known_x's])
The LOGEST function will return an array of values, with the growth factor (m) as the first value and the initial value (b) as the second.
Result of the LOGEST Calculation:
Using the data above, the LOGEST function would yield the following approximate values:
The Final Equation:
Using the growth factor found, the exponential model for this data is:
Predicting the Future Population:
To predict the population in the year 2026, we can substitute x = 2026 into our model.
Let's use the simpler model directly with the b and m values from LOGEST.
The predicted population for 2026 is approximately:
This will give a population value of approximately 13,200.
Conclusion:
By using the LOGEST function, we were able to model the town's historical population growth with an exponential curve. This model provided a reliable growth factor (m=1.058), which was then used to make a data-driven prediction for the future population. This type of analysis is crucial for urban planning, resource allocation, and government services.
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof