# Value from a Graph

#### pathfinder.k

##### New Member
Hi all,
in one of my calculations, I am calculating value 'X' in spreadsheet, then based on 'X' I am supposed to get the value 'Y' from a graph, then use value 'Y' in further calculations. Can I make excel to look up value 'Y' based on 'X'??

### Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

#### Jon Peltier

##### MrExcel MVP
You can predict Y based on a regression of the known X and Y values. The predicted Y is given for the new X using:

=TREND(<known Y values>,<known X values>,<new X>)

replace my terms in brackets with cell reference to the appropriate ranges.

#### Analyse-it

##### New Member
Hi all,
in one of my calculations, I am calculating value 'X' in spreadsheet, then based on 'X' I am supposed to get the value 'Y' from a graph, then use value 'Y' in further calculations. Can I make excel to look up value 'Y' based on 'X'??

It's not clear from your question whether you need graph/chart digitizer software, to determine X/Y values from a static chart graphic, or whether you are referring to regression, to determine the formula for predicting Y from X?

Can you clarify? I assume you're referring to regression. If so, is the relationship between X & Y linear (a straight line)? If it is you can use Excel's linear regression function LINEST.

#### pathfinder.k

##### New Member
I was looking for what you are refering to as regression, I got a solution. I plotted my values as point scatter, and fitted a curve on it with R square as close to 1 as possible and used the polynomial equation for further processing... I am all set for now.

Replies
2
Views
127
Replies
1
Views
87
Replies
2
Views
82
Replies
3
Views
177
Replies
4
Views
162

1,130,112
Messages
5,640,160
Members
417,128
Latest member
Xianter

### 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.

### Which adblocker are you using?

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

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