Finding a close match
One way
=INDEX(B1:D1,MATCH(MIN(IF(ABS(B1:D1-A1)=MIN(ABS(B1:D1-A1)),B1:D1)),B1:D1,0))
entered with ctrl + shift & enter
where B1:D1 are the 4 values and A1 the chosen value
--
Regards,
Peo Sjoblom
"mailrail" wrote in message
...
I have four time values in a row. The first value is a specific chosen time
value. The next three are demonstrated times. I need to find the closest
match of the three demonstrated times to the first column. Any help?
|