Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First off, is this question appropriate for this Stack Exchange? If not, I'll remove it.

Now to my question:

Is there an easy way to apply the trend line formula from a chart to any given X value in Excel?

For example, I want to get the Y value for a given X = $2,006.00. I've already taken the formula and retyped it out be:

=-0.000000000008*X^3 - 0.00000001*X^2 + 0.0003*X - 0.0029

I am continually making adjustments to the trend line by adding more data, and don't want to retype out the formula every time.

enter image description here

share|cite|improve this question
up vote 1 down vote accepted

I think that excel has built-in formulas for any type of trendline that you might use (i.e. you can use "linest()" if you had your chart options set for a linear trendline). Knowing this, you might just want to use the corresponding the function to get your Y values.

Another method might be figuring out the VBA code used to create charts and trendlines and then extracting what you need. The following might be a good reference:

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.