Excel templates and practical guides

Excel problem solving

How to Find Duplicate Invoices in Excel: Formulas and a Free Checker

Auditably.co · Published 29 November 2026 · 3 minute read

The same amount appearing twice does not prove that an invoice was duplicated. A monthly subscription, two deliveries or different suppliers can all produce identical charges. Start with the supplier and invoice reference, then use amount and date as a second review test.

The downloadable checker includes both deliberate duplicates and legitimate repeats. It leaves every source row in place. Its output is a list of candidates to investigate, not permission to delete invoices or stop payment.

In this guide
Duplicate invoice checker: actual workbook preview with fictional example entries
Actual preview of the Invoices sheet. Open the full-size image to inspect the figures.

Use two different checks

Check Fields compared What it can tell you
Repeated reference Vendor ID, normalised invoice reference, currency The same supplier reference appears more than once
Same-date amount Vendor ID, invoice date, amount, currency Two records deserve a closer look even if references differ

The reference check deliberately does not require equal amounts. A duplicate entered with the wrong amount should still be visible. Conversely, the second check is broad: two legitimate invoices issued on the same day for the same amount will be flagged.

Clean a helper column, not the original reference

The workbook keeps the original reference in B and creates a comparison version in F. It converts letters to uppercase, replaces nonbreaking spaces with ordinary spaces, and removes spaces. For row 9:

=UPPER(SUBSTITUTE(TRIM(SUBSTITUTE(B9,CHAR(160)," "))," ",""))

That makes INV 001 and inv 001 comparable. It does not remove hyphens or slashes. Those may be meaningful parts of a supplier's reference, so stripping all punctuation would be an unsafe default.

Do not use this rule blindly if your supplier distinguishes invoice numbers by spaces or case. Document a different matching rule for that supplier and keep the source text.

A repeated-reference formula

With vendor IDs in A, normalised references in F and currencies in E, this counts matching records:

=COUNTIFS($A$9:$A$58,A9,$F$9:$F$58,F9,$E$9:$E$58,E9)

A count greater than 1 triggers review. The downloadable version also checks for missing key fields. Use consistent alphanumeric IDs without Excel wildcard characters *, ? or ~; these criteria functions are not a case-sensitive exact-text database.

Read the sample results

The first two rows both belong to vendor V1 and contain variants of INV001 for USD 120. They are flagged as repeated references and same-date amount candidates.

V1 also has SUB-11 and SUB-12, each for USD 50, dated in November and December. Those are fictional monthly subscription invoices. They are not flagged merely because the amounts match. A fifth invoice uses INV001 for vendor V2. It remains separate because the vendor differs.

This matters when evaluating a checker: a tool that marks every repeated amount as a duplicate can create more work than it saves.

Review before removing anything

Open the invoice image or source record for each candidate. Compare the supplier account, invoice number, service or delivery period, tax amount and payment allocation. Check whether a credit note reverses one entry, or whether one line is an instalment rather than a second invoice.

Record the outcome in the review note. If a duplicate posting is confirmed, follow your normal correction process and retain the original trail. Deleting a row from this workbook does not reverse an accounting entry or cancel a payment.

What will this checker miss?

It will not reliably detect OCR mistakes, different supplier IDs for the same company, currency conversions or deliberately altered references. It does not perform fuzzy matching. The formulas cover rows 9 to 58; extend every relevant range if you add more data.

Microsoft explains TRIM's nonbreaking-space limitation. That is why the helper explicitly replaces character 160 before trimming.