Bui Thanh ChienHire me on Upwork
← All work

Data entry and cleanup · demo project, fictional company

PDF and scan to Excel, cleaned and checked

Three messy sources, one clean Excel sheet: a scanned invoice batch, a phone photo of a handwritten order form and a CRM export with duplicates and mixed formats. Every row keeps its source, and a check report shows what was merged, what is still missing and that the money ties.

Sample data: the company, customers and every number are fictional.

Download the sample pack (3 source files + results, ZIP, 743 KB)

Request a quote

The problem

Order data often arrives in pieces: paper invoices scanned in a batch, a form someone photographed on a phone, and an export from the CRM. Typed into one sheet by hand, the same order gets counted twice, dates mix day and month, and a smudged number becomes a guess nobody can trace later.

Before: the three source files

Scan of two invoices with an ink blot over one quantity
Scanned invoice batch, page 1: two invoices, the quantity on one line is smudged. Open full size
Phone photo of a handwritten order form on a desk
Phone photo of a handwritten phone-order form: one item code left blank. Open full size

The CRM export (03_crm_export.csv, 18 order lines) has the usual problems. A few of the values as they came in, and what they became:

In the fileIn the clean sheet
03/07/2026
7-Mar-2026
3/11/2026
2026-03-07
2026-03-07
2026-03-11
quellbrook cafe
Varrow St. Deli
Pellicott Mkt
Quellbrook Café
Varrow Street Deli
Pellicott Market
lid-12
BAG KRAFT
LID-12
BAG-KRAFT
$150.00
USD 120
30
150.00
120.00
30.00
the same order line twicecounted once, both rows named in the log
2026-02-30left blank, sent to the issue list
Report total, 3,600.00not an order line: skipped and used as a control total

All 43 reformatted values are listed on the CHANGE_LOG sheet with the rule used.

After: one sheet you can trace back

Scanned invoice INV-24052 above its three extracted rows in the CLEAN_DATA sheet
Source to sheet: invoice INV-24052 on the scan and the same three lines in CLEAN_DATA. The smudged quantity stays blank and the row is held for review. Open full size
The CLEAN_DATA sheet with 28 records and the ISSUES sheet below it
CLEAN_DATA with a filter on every column, status and source reference per row, and the issue list with raw value, suggestion and status. Open full size

The check report

The QC_SUMMARY sheet counts everything with formulas, so you can check each number yourself in the workbook.

Rows
Order lines read from the three files (8 + 4 + 18)30
Exact duplicates merged− 2
Unique records28
Ready to import23
Held for review (3 missing values, 1 impossible date, 1 unreadable number)5
Near match kept, not merged (same customer, item and amount on another order)1
Money (USD)
Scanned invoices1,600.00
Handwritten form800.00
CRM export3,600.00
Total before removing duplicates6,000.00
Duplicate rows removed− 300.00
Total of the clean sheet5,700.00
Difference0.00
Gates
Every input row accounted forPASS
Every duplicate logged with the row it was merged intoPASS
Printed document totals match the extracted linesPASS
Money reconciledPASS
No guessed values (flagged cells are still blank)PASS
Whole file ready to importFAIL

The last gate fails on purpose: 5 records need an answer from the client before the whole file can be imported. Nothing was filled in by guessing; each open item has a suggestion, for example "amount 150.00 / unit price 25.00 = 6: please confirm".

QC_SUMMARY counts and gates above the DOC_TOTALS sheet
QC_SUMMARY with row counts, money reconciliation and pass/fail gates, and DOC_TOTALS: the printed total of each document against its extracted lines. Open full size

How it was tested

Four scenarios, the same checks

The three sources above are three scenarios of their own. A fourth, a product catalogue, shows the same method on a different source.

Scanned invoices

Shown above

Source
01_invoice_batch_scan.pdf, 8 order lines on 2 pages.
Output
One row per invoice line with the invoice number, page and line.
Errors caught
A smudged quantity is left blank and listed. Each invoice total is compared with its extracted lines.

Handwritten order form

Shown above

Source
02_phone_order_form.jpg, 4 order lines, photographed at an angle.
Output
The same columns as the invoices, so both sources sit in one sheet.
Errors caught
A blank item code is left blank and listed. Two transcripts are compared: 2 differences, 1 settled from the paper, 1 left as unreadable.

CRM customer export

Shown above

Source
03_crm_export.csv, 18 order lines with mixed formats.
Output
Dates in one format, one spelling per customer and per item code, amounts as plain numbers.
Errors caught
Exact duplicates merged and logged (2 in this sample, one of them across two files), an impossible date left blank, a report total row skipped.

Product catalogue

Described, not part of the sample pack

Source
Supplier price lists as PDF or spreadsheet, one per supplier.
Output
One row per product: code, name, unit, price, category, supplier.
Errors caught
The same code listed twice, one code with two prices, prices with currency symbols, units missing.

What the output files contain

Every column in the clean sheet has one type, one format and one rule for blanks. A blank is never a guess: it goes to the ISSUES sheet with the source page and line.

Columns of clean_data.csv and the CLEAN_DATA sheet
ColumnTypeFormat and exampleBlank means
record_idTextR01, R02, ... one per unique recordNever blank
statusTextREADY or NEEDS REVIEWNever blank
order_noTextINV-24051Not found in the source: listed in ISSUES
line_noWhole number1, 2, 3Not found in the source: listed in ISSUES
order_dateDateYYYY-MM-DD, for example 2026-03-07Missing, or not a real date
customerTextStandard spelling, for example Quellbrook CaféNot found in the source: listed in ISSUES
item_codeTextUpper case with a hyphen, for example LID-12Code missing or unreadable: listed in ISSUES
descriptionTextProduct name as in the sourceNot stated in the source
qtyWhole number4Unreadable or missing, never guessed
unit_priceNumber2 decimals, no currency symbol: 45.00Unreadable or missing, never guessed
amountNumberLine total, 2 decimals, no currency symbol: 180.00Unreadable or missing, never guessed
source_fileText01_invoice_batch_scan.pdfNever blank
source_refTextPage, document and line: p1 INV-24051 line 1Never blank
issue_idsTextE01, linked to the ISSUES sheetNo open issue on this row

How I handle your files: security and retention (example)

How I work

Security and retention

Example terms. I confirm or change each line in writing before any file is shared.

Pricing tiers (example)

Example tiers only. The limits, times and prices are placeholders that show how a quote is laid out; the real figures are agreed per project and confirmed in writing before work starts.

Example tiers, prices in USD
TierLimitTurnaroundRevisionsExample price
StarterUp to 100 rows1 working day for typed or digital sources; 2 working days for scans, photos, handwriting1 roundUSD 15
StandardUp to 500 rows2 working days for typed or digital sources; 3 working days for scans, photos, handwriting2 roundsUSD 40
LargeUp to 2,500 rows4 working days for typed or digital sources; 6 working days for scans, photos, handwriting2 roundsUSD 125

Limits are counted in rows of the clean sheet. A row is one record: an invoice line, a form entry or a CRM contact. A scan or photo is counted by the rows it holds. A free pilot of 5 to 10 finished rows is always included, and you approve it before the full batch starts. Above 2,500 rows, the price is quoted per project after the pilot. A revision round is one list of corrections to the delivered file; a new batch of source files is a new quote.

Turnaround by volume (example)

Example times. Working days start when the final source files arrive and you approve the pilot rows.

Working days by number of rows
VolumeTyped or digital sourcesScans, photos, handwriting
Up to 100 rows1 working day2 working days
101 to 500 rows2 working days3 working days
501 to 2,500 rows4 working days6 working days
2,501 to 10,000 rows6 to 8 working days9 to 12 working days
More than 10,000 rowsAgreed after the pilotAgreed after the pilot

Request a quote

Answer the questions and the request is written for you as plain text. This form does not send anything: copy the text into your message. A free pilot of 5 to 10 finished rows is always included, and you approve it before the full batch starts.

Downloads

Built with: Excel (COUNTIF, SUMIFS, INDEX/MATCH, tables, filters, comments), CSV, Python for the repeatable cleanup and the checks

Need PDFs, scans or exports turned into a clean, checked spreadsheet?Hire me on Upwork