speeder2k3
New Member
- Joined
- Sep 22, 2014
- Messages
- 7
Hello everyone!
I need your help for the following example situation.
I have a column of values, lets say from A1 to A5 (numbers with 3 digits after coma) and the cell B1 with the value 2.255:
A1 - 0.856
A2 - 1.245
A3 - 1.455
A4 - 2.250
A5 - 2.260
I want to highlight the cell from A1 to A5 which is closest to B1. If there are two cells equally distant to highlight both.
According to B1=2.255 I should highlight both A4 and A5.
If the B1 value changes to lets say 1.188 then A2 should highlight, being the closest.
I need to do this only with conditional formatting formula. I cant alter the structure of the file and insert another columns to help in the process.
Thank you very much!
I need your help for the following example situation.
I have a column of values, lets say from A1 to A5 (numbers with 3 digits after coma) and the cell B1 with the value 2.255:
A1 - 0.856
A2 - 1.245
A3 - 1.455
A4 - 2.250
A5 - 2.260
I want to highlight the cell from A1 to A5 which is closest to B1. If there are two cells equally distant to highlight both.
According to B1=2.255 I should highlight both A4 and A5.
If the B1 value changes to lets say 1.188 then A2 should highlight, being the closest.
I need to do this only with conditional formatting formula. I cant alter the structure of the file and insert another columns to help in the process.
Thank you very much!