Help Math Wizards! (or at least math competents!)

jakemayer

New Member
Joined
Feb 15, 2011
Messages
8
I have created a graphed curve in excel based on data I have entered. I now want to take the formula for the graph, and use it as an excel computation where I can plug in X and get Y, or plug in Y to get X. However, when i try to enter in variations of these equations, I end up with just the wrong answers (based on the data that went into the graph to begin with.

The formulas excel gives me are these:

y = -1.1288x3 + 23.209x2 - 166.76x + 430.07 (preferred), or alternately


y = 579.38e-0.574x

So how can I enter this formula so that I can have it pull x from a cell and spit out the answer for y (and the reverse)?

Capture.JPG
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
This what you need?

Excel Workbook
ABCDE
1y = -1.1288x3 + 23.209x2 - 166.76x + 430.07y = 579.38e-0.574x
2XYXY
30430.070579.38
41285.39021326.3461
52180.35562183.8203
63108.19343103.5401
7462.1308458.32079
8535.395532.85022
9621.2132618.50348
10712.8126710.42241
1183.420485.87061
129-13.736293.306726
Sheet1
Excel 2003
Cell Formulas
RangeFormula
B3=(-1.1288*(A3^3))+(23.209*(A3^2))-(166.76*A3)+430.07
E3=579.38*EXP(-0.574*D3)

[/B]
 
Last edited:
Upvote 0
I think the key to this response is that parenthesis never hurt! :)

Try in the formula bar for where you want the y answer:

=-1.1288*(A2^3) + (23.209 * (A2^2)) - (166.76 * A2) + 430.07

This is using A2 as your cell for x for example
 
Upvote 0
Rather than read the parameters from the equation on graph, you can use LINEST to get them directly into cells.

Did you intend for your plot to be categorical (a line plot) rather than x-y scatter?
 
Upvote 0
Wow, you guys are quick!

I am still confused about something, and perhaps it is not an excel problem after all- clearly this does not allow me to plug in a value from the x axis and get the y axis solution? or am i missing something?
 
Upvote 0
Wow, you guys are quick!

I am still confused about something, and perhaps it is not an excel problem after all- clearly this does not allow me to plug in a value from the x axis and get the y axis solution? or am i missing something?

In the example I posted, it is taking values for the x-axis (the column under X) and returning the value for Y.
 
Upvote 0
You would not. Something about your formula is not correct:

Excel Workbook
ABCDE
1y = -1.1288x3 + 23.209x2 - 166.76x + 430.07
2-1.1288*x^3+23.209*x^2-166.76*x+430.07Total
3-1.1288E+122320900000-1667600430.07-1.12648E+12
Sheet1
Excel 2003
Cell Formulas
RangeFormula
A3=-1.1288*(10000)^3
B3=23.209*(10000^2)
C3=(-166.76)*10000
E3=SUM(A3:D3)
 
Upvote 0
When you have a line graph (as you do) and plot a trendline, it is computed for the categorical series {1, 2, 3, ...}

If you want the equation for the actual x values, change the chart to an x-y scatter plot.
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,834
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top