How can I add to this formula to find the closest result in my temp. column? If I enter an exact temperature it
will return the correct result. Ex: -17.56 = 1.11759
My formula is: =INDEX(C2:C8, MATCH(G2&G3, A2:A8&B2:B8, 0))
Any help would be appreciated.
[TABLE="width: 350"]
<tbody>[TR]
[TD="width: 64"] [/TD]
[TD="width: 64"] [/TD]
[TD="width: 64"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] Density
[/TD]
[TD="width: 103, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] Temp.
[/TD]
[TD="width: 103, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] CTL
[/TD]
[TD="width: 103, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
will return the correct result. Ex: -17.56 = 1.11759
My formula is: =INDEX(C2:C8, MATCH(G2&G3, A2:A8&B2:B8, 0))
Any help would be appreciated.
[TABLE="width: 350"]
<tbody>[TR]
[TD="width: 64"]
density
[TD="width: 64"]
temp.
[TD="width: 64"]
CTL
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.78
[TD="width: 64, bgcolor: transparent"]
1.1182
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] Density
[/TD]
[TD="width: 103, bgcolor: transparent"]
45
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.72
[TD="width: 64, bgcolor: transparent"]
1.11813
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] Temp.
[/TD]
[TD="width: 103, bgcolor: transparent"]
-17.6
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.67
[TD="width: 64, bgcolor: transparent"]
1.11795
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155"] CTL
[/TD]
[TD="width: 103, bgcolor: transparent"]
#N/A
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.61
[TD="width: 64, bgcolor: transparent"]
1.11777
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.56
[TD="width: 64, bgcolor: transparent"]
1.11759
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.50
[TD="width: 64, bgcolor: transparent"]
1.11741
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 64, bgcolor: transparent"]
45
[TD="width: 64, bgcolor: transparent"]
-17.44
[TD="width: 64, bgcolor: transparent"]
1.11723
[TD="width: 17, bgcolor: transparent"][/TD]
[TD="width: 155, bgcolor: transparent"][/TD]
[TD="width: 103, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]