LOGEST function
This article describes the formula syntax and usage of the LOGESTfunction in Microsoft Excel.
Description
In regression analysis, calculates an exponential curve that fits your data and returns an array of values that describes the curve. Because this function returns an array of values, it must be entered as an array formula.
The equation for the curve is:
y = b*m^x
or
y = (b*(m1^x1)*(m2^x2)*_)
if there are multiple xvalues, where the dependent yvalue is a function of the independent xvalues. The mvalues are bases corresponding to each exponent xvalue, and b is a constant value. Note that y, x, and m can be vectors. The array that LOGEST returns is {mn,mn1,...,m1,b}.
Syntax
LOGEST(known_y's, [known_x's], [const], [stats])
The LOGEST function syntax has the following arguments:

Known_y's Required. The set of yvalues you already know in the relationship y = b*m^x.

If the array known_y's is in a single column, then each column of known_x's is interpreted as a separate variable.

If the array known_y's is in a single row, then each row of known_x's is interpreted as a separate variable.


Known_x's Optional. An optional set of xvalues that you may already know in the relationship y = b*m^x.

The array known_x's can include one or more sets of variables. If only one variable is used, known_y's and known_x's can be ranges of any shape, as long as they have equal dimensions. If more than one variable is used, known_y's must be a range of cells with a height of one row or a width of one column (which is also known as a vector).

If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.


Const Optional. A logical value specifying whether to force the constant b to equal 1.

If const is TRUE or omitted, b is calculated normally.

If const is FALSE, b is set equal to 1, and the mvalues are fitted to y = m^x.


Stats Optional. A logical value specifying whether to return additional regression statistics.

If stats is TRUE, LOGEST returns the additional regression statistics, so the returned array is {mn,mn1,...,m1,b;sen,sen1,...,se1,seb;r 2,sey; F,df;ssreg,ssresid}.

If stats is FALSE or omitted, LOGEST returns only the mcoefficients and the constant b.

For more information about additional regression statistics, see the LINEST function.
Remarks

The more a plot of your data resembles an exponential curve, the better the calculated line will fit your data. Like LINEST, LOGEST returns an array of values that describes a relationship among the values, but LINEST fits a straight line to your data; LOGEST fits an exponential curve. For more information, see LINEST.

When you have only one independent xvariable, you can obtain yintercept (b) values directly by using the following formula:
Yintercept (b):
INDEX(LOGEST(known_y's,known_x's),2)You can use the y = b*m^x equation to predict future values of y, but Microsoft Excel provides the GROWTH function to do this for you. For more information, see GROWTH function.

Formulas that return arrays must be entered as array formulas.
Note In Excel Web App you cannot create array formulas.

When entering an array constant such as known_x's as an argument, use commas to separate values in the same row and semicolons to separate rows. Separator characters may be different depending on your regional settings.

You should note that the yvalues predicted by the regression equation may not be valid if they are outside the range of yvalues you used to determine the equation.
Example
Example 1 mcoefficients and the constant b
The example may be easier to understand if you copy it to a blank worksheet.
How do I copy an example?

Select the example in this article. If you are copying the example in Excel Online, copy and paste one cell at a time.
Important: Do not select the row or column headers.Selecting an example from Help

Press CTRL+C.

Create a blank workbook or worksheet.

In the worksheet, select cell A1, and press CTRL+V. If you are working in Excel Online, repeat copying and pasting for each cell in the example.
Important: For the example to work properly, you must paste it into cell A1 of the worksheet. 
To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
After you copy the example to a blank worksheet, you can adapt it to suit your needs.


Note The formula in the example must be entered as an array formula in the Excel desktop application. After copying the example to a blank worksheet, select the range A9:B9 starting with the formula cell. Press F2, and then press CTRL+SHIFT+ENTER. If the formula is not entered as an array formula, the single result is 1.463275628.
When entered as an array, the mcoefficients and the constant b are returned.
y = b*m1^x1 or using the values from the array:
y = 495.3 * 1.4633x
You can estimate sales for future months by substituting the month number for x in this equation, or you can use the GROWTH function.
Example 2 Full statistics
The example may be easier to understand if you copy it to a blank worksheet.
How do I copy an example?

Select the example in this article. If you are copying the example in Excel Online, copy and paste one cell at a time.
Important: Do not select the row or column headers.Selecting an example from Help

Press CTRL+C.

Create a blank workbook or worksheet.

In the worksheet, select cell A1, and press CTRL+V. If you are working in Excel Online, repeat copying and pasting for each cell in the example.
Important: For the example to work properly, you must paste it into cell A1 of the worksheet. 
To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
After you copy the example to a blank worksheet, you can adapt it to suit your needs.


Note The formula in the example must be entered as an array formula in the Excel desktop application. After copying the example to a blank worksheet, select the range A9:B13 starting with the formula cell. Press F2, and then press CTRL+SHIFT+ENTER. If the formula is not entered as an array formula, the single result is 1.463275628.
When entered as an array, the following regression statistics are returned. Use this key to identify the statistic you want.
You can use the additional regression statistics (cells A10:B13 in the above output array) to determine how useful the equation is for predicting future values.
Important The methods you use to test an equation using LOGEST are similar to the methods for LINEST. However, the additional statistics LOGEST returns are based on the following linear model:
ln y = x1 ln m1 + ... + xn ln mn + ln b
You should keep this in mind when you evaluate the additional statistics, especially the sei and seb values, which should be compared to ln mi and ln b, not to mi and b. For more information, consult an advanced statistics manual.