Multiple Interpolations

tonii4516

New Member
Joined
Jun 22, 2018
Messages
13
Can someone explain to me the easiest way to implement mulitple interpolations, I have two unknowns that depend on temperatures given and cfm given. Total I am given 3 different temperatures and one cfm which makes it complicated to find a way to make a formula to find this unknown values when the temperatures aren't the exact ones given in the table.
It sounds confusing and it because it is. Any help will be greatly appreciated.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Can you show an example of your table, and a sample input and expected output? You can use the HTML Maker in my signature to show a screen print of your spreadsheet, or just use the table tool in the Advanced editor (although that can be more tedious).
 
Upvote 0
Capture.PNG
 
Upvote 0
Sorry, you can't upload a picture directly to the forum. You can upload it to a file-sharing service, then include the link. However, even that is not recommended, since no can can copy/paste your sample data to work with. If you just include a picture, people will have to manually type in your data to work with, and many people won't take the time. That's why the other 2 methods I suggested are preferred.
 
Upvote 0
Hello, I have optimize the question in a way I can provide an example. I copy the image to a file in google drive. Hopefully, it will work if not i'll find another way to share the table.

How to get an interpolation for multiple variables. CFM, Outdoor Temperature, Wet Temperature, and Dry Temperature are given. Trying to get an interpolation for Total Capacity and Sensible Ratio. So an example would be, what is the Total Capacity and Sensible ratio when CFM=1100, Wet Temperature is 65F, Dry Temperature is 78F, and Outdoor Temperature is 100F.

https://drive.google.com/file/d/1bMHU0VTt_TJbF6sCR_626zCeU2UYimUR/view?usp=sharing
 
Upvote 0
I'm not sure what to tell you. First, your image is a picture, which can't be copied into a test workbook. You're not going to find many people who will spend the time to type all that in. Second, I've done 1-d interpolation, and 2-d interpolation. 4-d interpolation in theory should just merely be an extension of that. However, in looking at your table, the functions of the various dimensions are clearly not linear. That might be tolerable in a 2-d table, but I suspect that any formula I could come up with would likely be wildly inaccurate in some places. I'll think about it a bit more and let you know if I come up with something.
 
Upvote 0
I must be a bit of a masochist, because I figured it out. I hope that's your exact table, since if it's not, adapting it will be tricky. But here goes:

Excel 2012
ABCDEFGHIJKLMNOPQRSTUV
1Wet TemperatureOutdoor Temperature
285°F95°F105°F115°F
3Total CapacitySensible ratioTotal CapacitySensible ratioTotal CapacitySensible ratioTotal CapacitySensible Ratio
4
5Dry TemperatureDry TemperatureDry TemperatureDry Temperature
6cfmkBtuh75°F80°F85°FkBtuh75°F80°F85°FkBtuh75°F80°F85°FkBtuh75°F80°F85°F
763°F96036.50.690.85134.30.70.871320.710.89129.50.720.921
8120038.60.750.94136.30.770.97133.90.781131.50.811
9144040.40.821138.20.8311360.861133.60.8911
1067°F960390.540.670.8136.80.540.680.8334.40.540.690.8531.80.540.70.88
11120041.10.570.730.938.80.580.740.9336.30.580.760.9633.60.590.780.99
12144042.70.610.790.9940.20.620.81137.50.620.83134.90.630.861
1371°F96041.40.40.530.6539.10.40.530.6536.70.380.530.6734.10.380.530.68
14120043.70.420.560.7141.30.410.570.7238.70.410.570.7436.10.40.580.75
15144045.30.430.60.7742.80.430.610.7940.10.430.610.8137.30.420.630.83
16
17
18CFM1100Total Capacity35.5125
19Wet Temp65
20Dry Temp78Sensible ratio0.761083
21Outdoor Temp100
22
23Total CapacitySensible ratio
24
25Dry TemperatureDry Temp
26kBtuh75808578kBtuhSensible Ratio
2733.150.7050.8810.8134.3750.7185
28Outdoor Temps35.10.7750.9851Dry Temp0.901Wet Temp36.3250.7915cfm
298595537.10.845117500.9386363037.9750.8399600
30951051035.60.540.6850.848010.6276767312001
3110537.550.580.750.945850.682711440
3211538.850.620.8210.74
3337.90.390.530.660.474
34400.410.570.730.506
3541.450.430.610.80.538

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
E18=FORECAST(B18,OFFSET(Q27:Q28,U29,0),OFFSET(T29:T30,U29,0))
E20=FORECAST(B18,OFFSET(R27:R28,U29,0),OFFSET(T29:T30,U29,0))
B29=VLOOKUP(B21,A29:A32,1)
C29=(MATCH(B21,A29:A32)-1)*5
B30=INDEX(A29:A32,MATCH(B29,A29:A32,0)+1)
C30=C29+5
D27=(OFFSET(C7,0,$C$30)-OFFSET(C7,0,$C$29))/($B$30-$B$29)*($B$21-$B$29)+OFFSET(C7,0,$C$29)
K29=MATCH(B20,J29:J31)-1
K30=K29+1
L26=B20
L27=FORECAST($B$20,OFFSET(F27:G27,0,$K$29),OFFSET($F$26:$G$26,0,$K$29))
O29=LOOKUP(B19,N29:N31)
P29=(MATCH(O29,N29:N31,0)-1)*3
O30=INDEX(N29:N31,MATCH(O29,N29:N31,0)+1)
P30=(MATCH(O30,N29:N31,0)-1)*3
Q27=(OFFSET(D27,$P$30,0)-OFFSET(D27,$P$29,0))/($O$30-$O$29)*($B$19-$O$29)+OFFSET(D27,$P$29,0)
R27=(OFFSET(L27,$P$30,0)-OFFSET(L27,$P$29,0))/($O$30-$O$29)*($B$19-$O$29)+OFFSET(L27,$P$29,0)
U29=MATCH(B18,T29:T31)-1
U30=U29+1

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



The D27 formula should be copied to D27:D35 and to F27:H35. The L27 formula should be copied to L28:L35, Q27 copied through Q29, R27 though R29. All other formulas are individual, all other cells are constants copied from other places in your table.

Each section is an individual interpolation. The D26:H35 section interpolates the outdoor temperature table from the 4 subtables above. L27:L35 uses the dry temperature to interpolate the sensible ratio from F27:H35. Q27:Q29 interpolates capacity from wet temperature, R27:R29 interpolates sensible ratio from wet temperature. Finally E18 and E20 interpolate ratio and capacity from Q27:R29 and cfm.

So put your values in B18:B21, and the results will be in E18 and E20. If you use a value at one of the upper extremes, like a wet temperature of 71 degrees, use 70.9 instead or the formulas will fail.

Hope this helps! If you send me your email address in a PM, I'll send you a copy of the workbook.
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,572
Members
448,972
Latest member
Shantanu2024

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