Find Duplicate Addresses Across Columns in the Same Excel Row
Question details
Check whether the address in column B appears in columns C through E on the same row.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains a primary address in column B and historical addresses in columns C through E.
- Observed behavior
- The user wants a result that identifies rows where the primary address matches a historical address.
Confirm that the primary addresses are in column B and the addresses to compare are in columns C through E. Choose an empty result column and adjust the row number if your data does not start on row 2.
Use MATCH to Flag Duplicate Addresses in Each Row
Use this formula to display “Duplicate” when the address in column B matches an address in columns C through E.
Click an empty cell on the first data row, such as F2.
In F2, enter =IF(ISNUMBER(MATCH(B2,C2:E2,0)),"Duplicate","") and press Enter.
Drag the fill handle at the bottom-right corner of F2 down through the remaining data rows.
Look in column F for “Duplicate.” A blank result means the formula did not find a match in that row.

Flag Duplicate Addresses With WPS Spreadsheets
Open your workbook in WPS Spreadsheets and use the MATCH formula to compare each primary address with the other addresses on the same row.
- 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
- 2. Select a result cell: Click F2, or another empty cell on the first data row.
- 3. Enter the formula: Enter =IF(ISNUMBER(MATCH(B2,C2:E2,0)),"Duplicate","") and press Enter.
- 4. Fill down: Drag the fill handle down the result column to check the remaining rows.

Frequently Asked Questions
How can I compare column B with a different range?
Change C2:E2 in the formula to the range you want to search. For example, use =IF(ISNUMBER(MATCH(B2,D2:F2,0)),"Duplicate","") to check columns D through F.
Does the formula compare addresses across different rows?
No. In row 2, it compares B2 only with C2:E2. Copying the formula down changes the references to the corresponding cells in each row.
Why are two similar addresses not marked as duplicates?
The formula looks for a whole-cell match. Check the cells for extra spaces, different abbreviations, or other text differences. Matching is not case-sensitive.
Can I show a different message when an address matches?
Yes. Replace "Duplicate" in the IF formula with the message you want, such as "Match found".




