Exponential Regression using LOGEST

Anonymous
2023-11-05T15:00:06+00:00

I have two columns of data:

x y
1 0.8
1200 0.5
3000 0.25
18000 0.11
45000 0.08
150000 0.05

I would like to use the LOGEST function to calculate y-values for a new set of x-values, such as:

x
1
500
1000
15000
50000

Unfortunately, just using the LOGEST function on the two columns ("=LOGEST(B2:B7,A2:A7,FALSE,FALSE)"), I get

0.99997555 1

This does not even fit the data points I already have.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. HansV 462.4K Reputation points MVP Volunteer Moderator
    2023-11-05T15:22:56+00:00

    LOGEST only returns the coefficients of the exponential trendline.

    The function you're looking for is GROWTH:

    =GROWTH(B2:B7,A2:A7,D2:D6)

    where D2D6 contain the new x-values.

    If you don't have Microsoft 365 or Office 2021, confirm the formula by pressing Ctrl+Shift+Enter.

    0 comments No comments
  2. Anonymous
    2023-11-05T18:16:03+00:00
    0 comments No comments
  3. Anonymous
    2023-11-05T18:54:19+00:00

    LOGEST only returns the coefficients of the exponential trendline.

    Not exactly. The LOGEST formula is y = b*m1^x, whereas the exponential trendline formula is y = b*EXP(m2*x)

    The relationship between m1 and m2 is: m2 = LN(m1). Conversely, m1 = EXP(m2).

    This is demonstrated below.

    Image


    The function you're looking for is GROWTH:

    =GROWTH(B2:B7,A2:A7,D2:D6)

    Or more simply, the single-valued function =GROWTH($B$3:$B$8, $A$3:$A$8, A3, FALSE) in D3, for example.

    That can be copied (spilled?) into D3:D8 and into D11:D15.

    I prefer the single-valued form not only for its flexibility (the new values do not need to be contiguous), but also because it is difficult to change the number of cells in an array formula, at least in versions of Excel before Excel 365 and Excel 2016.

    (And note the correction: the additional FALSE parameter, which is consistent with the OP's intention to force the intercept ("b") to 1.)

    1 person found this answer helpful.
    0 comments No comments
  4. HansV 462.4K Reputation points MVP Volunteer Moderator
    2023-11-05T19:28:55+00:00

    Thanks, Joe!

    0 comments No comments
  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more