Nov 11 2022 08:05 AM
Nov 11 2022 08:20 AM
Let's say you want to format B2:B100.
Select this range. B2 should be the active cell in the selection.
On the Home tab of the ribbon, select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=OR(B2<A2-0.5,B2>A2+0.5)
or
=ABS(B2-A2)>0.5
Click Format...
Activate the Fill tsb.
Select red.
Click OK, then click OK again.