Hi!
My data is as given below:
Data in Row 1:
89 68 68 97 84 64 77 93 67 75 63 55 82 64
Data in Row 3:
87 62 63 69 72 90 51 70 78 91 71 63 88 52
Below formula is being used for conditional formatting of range A1:N1. The formula identifies and highlights a number in the range A1:N1 that is Exactly 5 more than any of the numbers in range A3:N3.
However, I need to modify the formula so that I can highlight any number in range A1:N1 that is upto 5 more or upto 5 less of any other number in range A3:N3.
For example, in the above example, the numbers 68, 63 and 55 should also be highlighted since they fall within the range of nos. 62, 63, and 52 in row 3.
The range of the numbers to be checked is entered in Cell J5 in the above formula.
PS: I tried with ABS, and range functions but could not get them to work.
My data is as given below:
Data in Row 1:
89 68 68 97 84 64 77 93 67 75 63 55 82 64
Data in Row 3:
87 62 63 69 72 90 51 70 78 91 71 63 88 52
Below formula is being used for conditional formatting of range A1:N1. The formula identifies and highlights a number in the range A1:N1 that is Exactly 5 more than any of the numbers in range A3:N3.
Excel Formula:
=COUNTIF($A$3:$N$3, (A1+$J$5))
However, I need to modify the formula so that I can highlight any number in range A1:N1 that is upto 5 more or upto 5 less of any other number in range A3:N3.
For example, in the above example, the numbers 68, 63 and 55 should also be highlighted since they fall within the range of nos. 62, 63, and 52 in row 3.
The range of the numbers to be checked is entered in Cell J5 in the above formula.
PS: I tried with ABS, and range functions but could not get them to work.