Get the local build — $9
dedupeaudit

Duplicate order IDs, found across every file

Order IDs should be unique. When the same ID appears twice with different amounts, one of the two rows is a correction — and deleting the wrong one costs money.

Report first, delete never

Build a map from order ID to the list of rows carrying it. Any ID with more than one row goes into a report with both rows side by side: same ID, different date, different amount. A human decides.

Only whole-row duplicates — every field identical — are safe to remove automatically. Those are export artefacts, not business events.

What the differences usually mean

Same ID, later date, different amount: an amendment. Keep the later one. Same ID, same date, different amount: two systems disagreeing — escalate. Same ID, different customer: a key collision, and the more serious case.

Step by step

  1. Merge all files so the IDs are in one column.
  2. Group by order ID and count.
  3. For every ID with count > 1, output the full rows, not just the IDs.
  4. Decide per case; keep the decision in a column so the next person knows why.

The command, concretely

order_id   rows  dates                 amounts
A-10231      2   2024-01-13 / 2024-02-04  1,200.00 / 1,150.00   <- amendment, keep later
A-10455      2   2024-01-19 / 2024-01-19    800.00 /   800.00   <- export duplicate, safe to drop

What goes wrong

Trimming only the ID column

IDs copied from systems often carry a trailing space, so "A-10231" and "A-10231 " look like two orders. Normalize before grouping.

Case sensitivity

a-10231 and A-10231 may or may not be the same order. Decide, and apply the decision consistently.

Questions people actually ask

Can I dedupe by ID only?

You can, but it silently deletes amendments. Report instead.

How many rows can this handle?

Hundreds of thousands comfortably — it is a hash map, not a nested loop.

Do it now, in this browser

Drop the folder in, check the detected header, merge. Nothing is uploaded — the file is processed in the tab. Free for one-off merges; the unlimited local build is $9.