Question posted 2014 · +6 upvotes
Basically, I have two sets of data.
I want to check if the value in column A, is the same value in Column B.
And if they are not, change the color of these cells.
For example:

Column I, Column AA both have the value of a the first month in years from 1318 till 1500 “Arabic Calender” but I want to check which of these values doesn’t match and color them with yellow for example.
In this case, both cells in row 3 should have a different color after the checking operation.
Is there a way to do that?
Thank you All,
Accepted answer +13 upvotes
Select your range from cell A (or the whole columns by first selecting column A). Make sure that the ‘lighter coloured’ cell is A1 the go to conditional formatting, new rule:

Put the following formula and the choice of your formatting:
=$A1<>$B1
Then press OK and that should do it.

Top excel Q&A (6)
- Shortcut to Apply a Formula to an Entire Column in Excel +335 (2011)
- How should I escape commas and speech marks in CSV files so they work in Excel? +136 (2012)
- Convert xlsx to csv in linux command line +96 (2012)
- How to create a link inside a cell using EPPlus +50 (2011)
- IF statement: how to leave cell blank if condition is false ("" does not work) +44 (2013)
- T-SQL: Export to new Excel file +44 (2012)
excel solutions on this site
.