Microsoft Excel – comparing two columns using conditional formatting

Due to data entry issues, a client had instances where she had the same information for some records in both the Address2 and the Town column. She wanted a quick way of seeing where this was happening. Information stored in two cells can quickly be compared using conditional formatting, highlighting instances where the record has the same results in two columns. Although her issues were not as bad as that shown below it will do as an example!

Duplicate conditional formatting

Select the information in the Address2 column, then on the Home tab, in the Styles group, from the Conditional Formatting dropdown, select New Rule.

Select Use a formula to determine which cells to format.

In the Format values where this formula is true box, type


Click Format. Select the required formatting, then click OK twice.

The duplicated cells are shown in your chosen format. You can then always filter by colour to see just those records.

Conditional formatting duplicate

Find out more about our Microsoft Excel training London, UK.

Find out more about our Microsoft Excel training Wiltshire, Hampshire, Dorset.


About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Microsoft Excel, Microsoft Excel 2007, Microsoft Excel 2010, Microsoft Excel 2013, Microsoft Excel 2016 and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s