Compare Two Excel Columns Online
Paste or upload two columns to instantly find matches, differences, common and unique values.
Compare Columns
What does this tool do?
This tool compares two lists of values from Excel side by side and instantly shows you which values appear in both columns, which appear only in Column A, and which appear only in Column B. It runs entirely in your browser, so nothing is uploaded to a server.
How to use Compare Two Excel Columns - Free Online Tool
- Paste your first list into Column A (one value per line), or click "Try with sample data".
- Paste your second list into Column B.
- Choose whether to ignore letter case and extra spaces.
- Click "Compare Columns" to see matches, differences, and unique values.
- Copy any result list, or download the full comparison as an Excel file.
Example
Comparing two lists of employee IDs:
Before
| Column A | Column B |
| 1001 | 1003 |
| 1002 | 1004 |
| 1003 | 1007 |
After
| Common | 1003 |
| Only in A | 1001, 1002 |
| Only in B | 1004, 1007 |
1003 appears in both lists; the rest are unique to their column.
Excel formula alternative
Prefer a formula? You can achieve a similar result with COUNTIF:
=IF(COUNTIF(B:B, A2) > 0, "In both", "Only in A")
Drag down column A to flag which values also exist in column B. This tool does the same for both columns at once, without formulas.