Compare columns in Excel


When you have partially identical content in two columns in an Excel spreadsheet, you can find the differences with the following formula:


where you would be comparing columns A and C.  Paste the formula into all cells in a new column.  Each cell in the new column will contain either the word “same” or the word “different” depending on whether the content in columns A and C on that row is the same or different.

To find where the content differs, you can sort the spreadsheet by this new comparison column, or you can apply conditional formatting to that column – for example, to highlight all cells with the word “different” in red.

October 7, 2010, session


The notes from the October 7, 2010, Technology Tips and Tricks session are now posted on the “HCLTS IT” page of the department iSite at
Here are deep links to documents:
Cheat Sheet:

Hello world!


Welcome to the HCL TS Tech Tips and Tricks blog at Weblogs at Harvard Law School.

Log in