How to Compare Data in Excel
Highlight the first cell of a blank column., Type the comparison formula for the first row., Double-click the Fill box in the bottom corner of the cell., Look for Match and No match.
Step-by-Step Guide
-
Step 1: Highlight the first cell of a blank column.
When comparing two columns in a worksheet, you'll be outputting your results onto a blank column.
Make sure you are starting on the same row as the two columns you're comparing.
For example, if the two columns you want to compare start on A2 and B2, highlight C2. -
Step 2: Type the comparison formula for the first row.
Type the following formula, which will compare A2 and B2.
Change the cell values if your columns start on different cells: =IF(A2=B2,"Match"
"No match") , This will apply the formula to the rest of the cells in the column, automatically adjusting the values to match. , These will indicate whether the contents of the two cells had matching data.
This will work for strings, dates, numbers, and times.
Note that case is not taken into consideration ("RED" and "red" will match). -
Step 3: Double-click the Fill box in the bottom corner of the cell.
-
Step 4: Look for Match and No match.
Detailed Guide
When comparing two columns in a worksheet, you'll be outputting your results onto a blank column.
Make sure you are starting on the same row as the two columns you're comparing.
For example, if the two columns you want to compare start on A2 and B2, highlight C2.
Type the following formula, which will compare A2 and B2.
Change the cell values if your columns start on different cells: =IF(A2=B2,"Match"
"No match") , This will apply the formula to the rest of the cells in the column, automatically adjusting the values to match. , These will indicate whether the contents of the two cells had matching data.
This will work for strings, dates, numbers, and times.
Note that case is not taken into consideration ("RED" and "red" will match).
About the Author
Andrea Moore
Enthusiastic about teaching crafts techniques through clear, step-by-step guides.
Rate This Guide
How helpful was this guide? Click to rate: