# 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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

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

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,290
Messages
5,836,435
Members
430,429
Latest member
monkeyhalf

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