eggyjla
Active Member
- Joined
- Dec 16, 2004
- Messages
- 346
I'm attempting multiple interpolations for the table below. This is merely a sub-set of the entire table. I also have a UDF for interpolation that accepts (5) variables [X1, Y1, X2, Y2, X] and return the interpolated value [Y]. I'm uncertain how the best method of returning an interpolated value from a 2D table given three criteria. R[1], R[2], and C[1] are the criteria. How best to return a value from the table given the criteria R[1]=75; R[2]=60; C[1]=2.5
Lighting Zonal Cavity.xls | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
D | E | F | G | H | I | J | K | L | |||
4 | 80 | 80 | 80 | 80 | 70 | 70 | 70 | 70 | |||
5 | 70 | 50 | 30 | 10 | 70 | 50 | 30 | 10 | |||
6 | 1 | 1.092 | 1.082 | 1.075 | 1.068 | 1.077 | 1.070 | 1.064 | 1.059 | ||
7 | 2 | 1.079 | 1.066 | 1.055 | 1.047 | 1.068 | 1.057 | 1.048 | 1.039 | ||
8 | 3 | 1.070 | 1.054 | 1.042 | 1.033 | 1.061 | 1.048 | 1.037 | 1.028 | ||
9 | 4 | 1.062 | 1.045 | 1.033 | 1.024 | 1.055 | 1.040 | 1.029 | 1.021 | ||
10 | 5 | 1.056 | 1.038 | 1.026 | 1.018 | 1.050 | 1.034 | 1.024 | 1.015 | ||
11 | 6 | 1.052 | 1.033 | 1.021 | 1.014 | 1.047 | 1.030 | 1.020 | 1.012 | ||
12 | 7 | 1.047 | 1.029 | 1.018 | 1.011 | 1.043 | 1.026 | 1.017 | 1.009 | ||
13 | 8 | 1.044 | 1.026 | 1.015 | 1.009 | 1.040 | 1.024 | 1.015 | 1.007 | ||
14 | 9 | 1.040 | 1.024 | 1.014 | 1.007 | 1.037 | 1.022 | 1.014 | 1.006 | ||
15 | 10 | 1.037 | 1.022 | 1.012 | 1.006 | 1.034 | 1.020 | 1.012 | 1.005 | ||
Sheet4 |