

Select Duplicate from the left side box and then click on OK. Then go to Home> Conditional Formatting > Highlight Cells Rules > Duplicates Values. First, select the cells you want to compare. The formula has a dollar sign to fix rows, and only change columns. Using conditional formatting is the easiest way to compare two columns for a match.

Then (3) click on the fill color icon, (4) choose red, and (5) click Done. ISNUMBER(MATCH(thisvalue othercolumn 0)) returns TRUE if this value exists. In the window on the right side, (1) select Custom formula is under Format rules, and (2) enter the formula: Re: Compare two columns of spreadsheet to highlight differen.

Compare two columns in excel highlight matches how to#
In this tutorial, you will learn how to compare two rows in Excel and Google Sheets.Įxcel allows you to compare rows and highlight the similarities and differences using conditional formatting.
