Linear Interpolation of a Table with two variables and different steps

nickthebizz

New Member
Joined
Jan 24, 2021
Messages
22
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a table which i need to interpolate a range within two variables.

On the top row is density which steps up 000.1 each time.

On the far left column is temperature which consists of different steps eg.

7
7.1
7.2
then
7.25
7.3
7.4 and so on

I need to find the value of a specific density(top row) at a specific temperature(far left column).

the temperature could be for example 7.23degrees.

Now I need to interpolate the values in yellow to find the specific value(VCF) on the yellow values for a specific temperature 7.23degrees.

Notice that the temperature changes steps of a range 0.00001 from 0.1 from 7 degrees until 7.2 but from 7.2 until 7.25 the step in the yellow table changes by 0.00002 and so own.

Could anyone have an idea how to make a small window in excel where i have add:

The density
The temperature

and the result will give me an interpolated value from the yellow table?
 

Attachments

  • Capture.PNG
    Capture.PNG
    14.5 KB · Views: 107

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
use:
'Z1 is where you provide value from colum a
'Z2 is where you provide value from row 1
'A1:L14 is your table
'B1:L1 is your headers in row 1

=VLOOKUP(Z1;A1:L14;MATCH(Z2;B1:L1;0)+1;FALSE)
 
Upvote 0
thanks It is working just how i needed it.

Is there a possibility to make the vlookup search in two tables? from two different ranges?
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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