Plotted graph from a table. Read value from the curve?

wrighty99

Board Regular
Joined
Apr 29, 2008
Messages
81
Hi I wonder if you can help.

I have a table which has been used to create graph curve in excel.

Is there a way of reading a value from the curve?

Many thanks in advance
 
Jon

What an elegant solution.

Thank you very much.

I appreciate your time in answering my query.

Again many thanks
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Thisoldman

Ive tried your suggestion but the D5:E5 comes up with error #N/A

The data I am using has decimals.

Below is the data of which my E1 value would be 45.05.

Any suggestions, im sure its to do with excel rounding up numbers used in these formulas?

802.62
752.26
702.03
651.826
601.7
551.578
501.464
451.348
401.254
351.166
301.09
250.986
200.922
<colgroup><col width="64" style="width: 48pt;"> <col width="103" style="width: 77pt; mso-width-source: userset; mso-width-alt: 3766;"> <tbody> </tbody>
 
Upvote 0
Jon Peltier

I have tried your solution but it doesn't seem to work it throws up an error #N/A in both formulas.

I used the following formulas

=MATCH(H20,E15:E27) which is in H22
=(H20-INDEX(E15:E27,H22))/(INDEX(E15:E27,H22+1)-INDEX(E15:E27,H22))*(INDEX(F15:F27,H22+1)-INDEX(F15:F27,H22))+INDEX(F15:F27,H22) which is in H25

The value in H20 = 45.05

The table is below of which the 80 in the table is in E15 and the 2.62 is in F15

Could you please help to resolve.

80
2.62
75
2.26
70
2.03
65
1.826
60
1.7
55
1.578
50
1.464
45
1.348
40
1.254
35
1.166
30
1.09
25
0.986
20
0.922

<tbody>
</tbody>
 
Last edited:
Upvote 0
MATCH is sensitive to the sort order of the lookup array.

The MATCH function I used was set up to look through an ascending (increasing) column of values as you showed in post 5. Your data now shows a descending (decreasing) sort in the columns.

Untested. For the descending order, change the formulas to

D5:E5 –
=INDEX($A$2:$B$7, MATCH($E$1, $A$2:$A$7, -1),)

D6:E6 –
=INDEX($A$2:$B$7, MATCH($E$1, $A$2:$A$7, -1) -1,)

They are still two-cell array formulas and must be entered with Ctrl+Shift+Enter.
 
Upvote 0
Hi thisoldman

I have tried your new suggestion and it doesnt throw up any errors but it uses the wrong values.

In H20 i have 71 which was your E1

In H22 i have =SLOPE(I24:I25,H24:H25)*H20+INTERCEPT(I24:I25,H24:H25) giving the answer 1.972 but this should be just over 2.03

In H24&I24 i have {=INDEX(E15:F27,MATCH(H20,E15:E27,-1),)} giving the answer 75 & 2.26 but this should be 70 & 2.03

In H25&I25 i have {=INDEX(E15:F27, MATCH(H20,E15:E27,-1)-1,)} giving the answer 80 & 2.62 but this should be 75 & 2.26

Attached is the spreadsheet screen capture.

Would be very grateful if you could help with the solution please.
ScreenCaputure.JPG
 
Upvote 0
Hi thisoldman

Problem solved the formula required is below.

H24 =INDEX(E15:F27,MATCH(H20,E15:E27,-1)+1,)
H25 =INDEX(E15:F27, MATCH(H20,E15:E27,-1),)

Thank you for your assistance :)
 
Upvote 0

Forum statistics

Threads
1,215,510
Messages
6,125,223
Members
449,216
Latest member
biglake87

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