2-way lookup that interpolates

upchurchsophia

New Member
Joined
Jun 24, 2013
Messages
3
Hi i'm an engineering student and I've got problems in interpolation in excel using 2-way lookup.
Let me show you an example:

10
15
20
.25
-.3
-.5
-.6
0.5
-.5
-.5
-.6
1.0
-.7
-.6
-.6

<tbody>
</tbody>

The red colored numbers (header) are roof angles.
the blue colored numbers (rows) are factors.
The black colored numbers are the coefficients.

i understand that 2-way lookup searches for the the number intersecting both angle and the factor.

if my factor is 0.5 and my roof angle is 15, the resulting coefficient is -0.5.
now my concern is, what if my factor is 0.6 and my roof angle is 18, (which by inspection requires two interpolations to happen)?

please help me. .thank you

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to MrExcel.

What result would you expect for 0.6 and 18? And what would you expect to happen if one or both of the parameters were below or above those given?
 
Upvote 0
As Andrew is eluding to the relationships in your table are non-linear so simple interpolation (which could easily be formulated) will not produce an accurate result.

It might help if further data was available so relationships could be more easily formulated. What is the source of your data and can you get data accurate to more precision than one decimal place?
 
Upvote 0
thank you sir JB and sir Andrew, ,let me change my data, , :)

Distance
51015
Slope ​20.3780.4160.457
40.6800.7480.823
61.2251.3471.482
82.2042.4252.667
103.9684.3654.801

<tbody>
</tbody>

<tbody>
</tbody>

Sir, if i have 5 meters and 4 degree slope, my coefficient is 0.680
my question sir is, what if my distance is 8 and my slope is 7 for example,
which is not given directly in the table, and is possible only through interpolation,
could you help me how to do it in excel?
 
Last edited:
Upvote 0
Your data appears to be linear horizontally but not vertically. Is there an equation that determines it given a slope and distance?
 
Upvote 0
ok, ,let's just assume sir it's linear. .just want to know how to interpolate such table in excel. .
This looks like an assignment rather than part of a serious project. Otherwise you'd be taking into account the obvious nonlinearity.

If you take into account all information contained in your table you'd be looking at an estimation (answer is 1.79, with 95% fiducial interval 1.49 to 2.09) rather than a linear interpolation which only takes account the nearest neighbor data points.

Answers to your question as posed are actually given in the thread

http://www.mrexcel.com/forum/excel-questions/690305-v-look-up-interpolate-simple-linear-interpolation-2.html


particularly from post#4 onward.

You may wish to look at that thread, to perhaps obviate the need for further replies here.
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,201
Members
449,214
Latest member
mr_ordinaryboy

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