Function Problems

Find Duplicate Addresses Across Columns in the Same Excel Row

Steven ParkerSteven Parker Nov 14, 2026 869 views

Question details

Check whether the address in column B appears in columns C through E on the same row.

Find Duplicate Addresses Across Columns in the Same Excel 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.
Before you start

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.

Solution 1Recommended

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.

1
Select a result cell

Click an empty cell on the first data row, such as F2.

2
Enter the formula

In F2, enter =IF(ISNUMBER(MATCH(B2,C2:E2,0)),"Duplicate","") and press Enter.

3
Copy the formula down

Drag the fill handle at the bottom-right corner of F2 down through the remaining data rows.

4
Review the results

Look in column F for “Duplicate.” A blank result means the formula did not find a match in that row.

Use MATCH to Flag Duplicate Addresses in Each Row
How matching works: MATCH with 0 looks for a whole-cell match and is not case-sensitive. Differences such as extra spaces or abbreviations can prevent addresses from matching.
Compare addresses in WPS Spreadsheets

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. 1. Open the workbook: Open WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Select a result cell: Click F2, or another empty cell on the first data row.
  3. 3. Enter the formula: Enter =IF(ISNUMBER(MATCH(B2,C2:E2,0)),"Duplicate","") and press Enter.
  4. 4. Fill down: Drag the fill handle down the result column to check the remaining rows.
Flag matching addresses with a formulaOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

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".