What calculation should it perform then if the values are not in the table?No. Its possible the value is not in table. It need to calculate between. For example X=1.453 and Y=1.753.
Thats why this makes everything very complex
Book1 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
1 | 1 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | X | Y | Value | ||||
2 | 1.7 | 1.7 | 1.87 | 2.04 | 2.21 | 2.38 | 2.55 | 2.72 | 2.89 | 3.06 | 3.23 | 1.42 | 1.775 | 2.5347 | |||
3 | 1.71 | 1.71 | 1.881 | 2.052 | 2.223 | 2.394 | 2.565 | 2.736 | 2.907 | 3.078 | 3.249 | ||||||
4 | 1.72 | 1.72 | 1.892 | 2.064 | 2.236 | 2.408 | 2.58 | 2.752 | 2.924 | 3.096 | 3.268 | ||||||
5 | 1.73 | 1.73 | 1.903 | 2.076 | 2.249 | 2.422 | 2.595 | 2.768 | 2.941 | 3.114 | 3.287 | ||||||
6 | 1.74 | 1.74 | 1.914 | 2.088 | 2.262 | 2.436 | 2.61 | 2.784 | 2.958 | 3.132 | 3.306 | ||||||
7 | 1.75 | 1.75 | 1.925 | 2.1 | 2.275 | 2.45 | 2.625 | 2.8 | 2.975 | 3.15 | 3.325 | ||||||
8 | 1.76 | 1.76 | 1.936 | 2.112 | 2.288 | 2.464 | 2.64 | 2.816 | 2.992 | 3.168 | 3.344 | ||||||
9 | 1.77 | 1.77 | 1.947 | 2.124 | 2.301 | 2.478 | 2.655 | 2.832 | 3.009 | 3.186 | 3.363 | ||||||
10 | 1.78 | 1.78 | 1.958 | 2.136 | 2.314 | 2.492 | 2.67 | 2.848 | 3.026 | 3.204 | 3.382 | ||||||
11 | 1.79 | 1.79 | 1.969 | 2.148 | 2.327 | 2.506 | 2.685 | 2.864 | 3.043 | 3.222 | 3.401 | ||||||
Sheet5 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
O2 | O2 | =LET(x,XMATCH(N2,A2:A11,-1),f,CHOOSE({1;2},FORECAST(M2,OFFSET(B2:K2,x,0),B1:K1),FORECAST(M2,OFFSET(B2:K2,x+1,0),B1:K1)),FORECAST(N2,f,OFFSET(A2:A11,XMATCH(N2,A2:A11,-1)-1,0,2))) |