Table interpolation

ponedelj

New Member
Joined
Mar 12, 2024
Messages
10
Office Version
  1. 2021
Platform
  1. Windows
Hi. So im looking for formula to interpolate X and Y axis and to find interpolated value in table.

For example on top row 1.5 and side colum1.77 should give interpolate value in the table.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Ok so table are something like
Y1/X1 -2 0 2 4
0,00 5815,8 5813 5809,5 5805,7
0,10 5811,8 5808,1 5804,2 5799,6
0,20 5805,7 5801,5 5797 5792,2
0,30 5797,7 5793,3 5788,5 5783,4
0,40 5787,5 5783,2 5778,4 5773,2
0,50 5774,9 5771,2 5766,7 5761,5
0,60 5760 5756,8 5752,8 5748,3
0,70 5743 5740,5 5737,3 5733,3
0,80 5724 5722,2 5719,8 5716,6
0,90 5703,1 5702,1 5700,5 5698,2
1,00 5680,5 5680,4 5679,6 5678,1
 
Upvote 0
Maybe this:
Book1
ABCDEFGHIJKLMNO
11.01.11.21.31.41.51.61.71.81.9XY
21.701.701.872.042.212.382.552.722.893.063.231.51.772.66
31.711.711.882.052.222.392.572.742.913.083.25
41.721.721.892.062.242.412.582.752.923.103.27
51.731.731.902.082.252.422.602.772.943.113.29
61.741.741.912.092.262.442.612.782.963.133.31
71.751.751.932.102.282.452.632.802.983.153.33
81.761.761.942.112.292.462.642.822.993.173.34
91.771.771.952.122.302.482.662.833.013.193.36
101.781.781.962.142.312.492.672.853.033.203.38
111.791.791.972.152.332.512.692.863.043.223.40
Sheet2
Cell Formulas
RangeFormula
O2O2=XLOOKUP(M2,$B$1:$K$1,XLOOKUP(N2,$A$2:$A$11,$B$2:$K$11))
 
Upvote 0
N
Maybe this:
Book1
ABCDEFGHIJKLMNO
11.01.11.21.31.41.51.61.71.81.9XY
21.701.701.872.042.212.382.552.722.893.063.231.51.772.66
31.711.711.882.052.222.392.572.742.913.083.25
41.721.721.892.062.242.412.582.752.923.103.27
51.731.731.902.082.252.422.602.772.943.113.29
61.741.741.912.092.262.442.612.782.963.133.31
71.751.751.932.102.282.452.632.802.983.153.33
81.761.761.942.112.292.462.642.822.993.173.34
91.771.771.952.122.302.482.662.833.013.193.36
101.781.781.962.142.312.492.672.853.033.203.38
111.791.791.972.152.332.512.692.863.043.223.40
Sheet2
Cell Formulas
RangeFormula
O2O2=XLOOKUP(M2,$B$1:$K$1,XLOOKUP(N2,$A$2:$A$11,$B$2:$K$11))
No. It should interpolate the X and Y value and find the interpolated Z value from the table.
 
Upvote 0
So, you're not wanting to look up the X and the Y and find the intersection? (Doesn't matter what values I used for the sample by the way)
 
Upvote 0
Xlookup function is not working on this system.
Okay, let's try INDEX/MATCH/MATCH then. I saw you're on 2021 so I tried XLOOKUP first.
Book1
ABCDEFGHIJKLMNO
111.11.21.31.41.51.61.71.81.9XY
21.71.71.872.042.212.382.552.722.893.063.231.51.772.66
31.711.711.8812.0522.2232.3942.5652.7362.9073.0783.249
41.721.721.8922.0642.2362.4082.582.7522.9243.0963.268
51.731.731.9032.0762.2492.4222.5952.7682.9413.1143.287
61.741.741.9142.0882.2622.4362.612.7842.9583.1323.306
71.751.751.9252.12.2752.452.6252.82.9753.153.325
81.761.761.9362.1122.2882.4642.642.8162.9923.1683.344
91.771.771.9472.1242.3012.4782.6552.8323.0093.1863.363
101.781.781.9582.1362.3142.4922.672.8483.0263.2043.382
111.791.791.9692.1482.3272.5062.6852.8643.0433.2223.401
Sheet1
Cell Formulas
RangeFormula
O2O2=INDEX($B$2:$K$11,MATCH(N2,$A$2:$A$11,0),MATCH(M2,$B$1:$K$1,0))
 
Upvote 0
It dont give intermediate value. For example for X 1.45
If you're using the sample values I provided, then it won't because 1.45 is not in the top row for X values. If you want it to return a result for a specific X,Y combo, then it has to be present in the table already. If you're wanting it to calculate something else based on the X,Y inputs, then that will be an entirely different formula.

I was assuming you already had all the values calculated for each possible X,Y pair and you just wanted to look them up from your table... is this not accurate?
 
Upvote 0

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

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