Skip to content
Excel Help
Home / Tutorials / Duplicate rows
Inspect before you remove

Preview duplicate rows

Paste a table, choose which columns identify a match, and see exactly which rows would be kept. Download a new CSV when the result looks right.

Runs in your browserNo sign-inOriginal cells stay unchanged
01 / INPUT

Start with your table

Limit: 500 data rows, 30 columns, 100,000 UTF-8 bytes. Values are read as text. Your pasted table stays in this page until you clear it or reload.

Worked example: match the order, not its amount

Load the small example. With all three columns selected, all five rows are kept because the two A-101 orders have different amounts. Uncheck Amount and preview again: row 4 is a duplicate of row 2, leaving four rows. Change Keep to Last and row 4 is kept instead. The original row order and amounts stay intact.

Use the result in Excel

CSV stores text and cannot preserve formulas, formatting or multiple sheets. To protect leading-zero identifiers, use an import workflow that assigns those columns a Text type. Review our CSV import guide before opening the file. Export here is blocked for cells starting with control characters or formula-like prefixes, including negative numbers; this is a conservative check, not a guarantee about every spreadsheet client.

Microsoft’s Find and remove duplicates explains Excel’s destructive removal command. Our preview compares pasted text with the policy shown above, so Excel’s type and formatting rules may produce different matches. The browser tool works independently of your Excel version. For Excel’s own command, use Microsoft’s instructions for your platform; ribbon locations can differ on Windows, Mac and the web.

For non-destructive review, highlight repeated rows. For two independent sources, compare two lists. Browse tutorials or Excel tips.