Wauvel

Excel like a finance pro.

← All tips & shortcuts

Strip duplicate rows and know how many went

AltA, MTables & data

Exports double up, and a duplicated invoice quietly overstates revenue.

Difficulty

Amateur
Practice file

1What it does

Remove Duplicates deletes the repeats and tells you how many it took, which is the part that matters — a silent dedupe is just data loss. The setting worth understanding is which columns it compares: tick every column and it only removes rows identical all the way across, tick just the invoice number and it treats that as the identity. Get that wrong in the permissive direction and you delete legitimate rows that happen to share a value, so work on a copy the first time.

2The shortcut

AltA, M
  1. 1Click inside the data, then Alt + A, M.
  2. 2Tick only the columns that define a duplicate — often one ID column, not all of them.
  3. 3Read the count it reports. If it removed more than you expected, undo and reconsider the columns.

3Before → after

Press the shortcut to play it on a sample sheet.

Before — the export ran twice

A — InvoiceB — CustomerC — Amount
1INV-1041Acme4,200
2INV-1042Globex9,800
3INV-1041Acme4,200
4INV-1043Acme4,200
5INV-1042Globex9,800

Two rows are exact duplicates. A third shares a customer and an amount but is a different invoice — which is the one the wrong setting will eat.

4When you use it

  • Clean an export that ran twice and doubled every row.
  • Reduce a transaction list to one row per invoice number.
  • Build a unique customer list from a year of orders.

Want these moves already done for you? Wauvel's free tools download as branded, formula-driven Excel models — Tables, named ranges, and all.

Learn the moves here — or let Wauvel run them on your numbers.

Meet your AI CFO →

One CFO-grade Excel tip a week

A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.