You can use conditional formatting, but you will have to format each of the two columns separately.
Say your data is in A2: B100 (for simplicity)
Select the cells in columnA (A2:A100) Select conditional Formatting >> New Rule >> Use a formula... Enter the formula "=A3<>B3", choose a format and click OK
Repeat in column B.
source share