Decide which file is the source of truth first, by asking whoever owns the numbers. Then turn every file into a flat table, check the others against the source to the penny, clean and combine only the source, and write the decision down. The PDF is usually just a printout of another file.
You ask for last quarter's sales data and get four attachments and a link. There's Q2_summary.pdf from finance, a Google Sheet the sales team shares "so it stays live," an Excel workbook with six tabs named things like Sheet1 (2), and a CSV exported from the shop system that opens as one column of gibberish. Everyone who sent something was trying to help. What you actually have is the same numbers four times, each stored in a way that fights you differently, and no word on which one is the real record. The trap is diving into whichever file you opened first. Do the boring triage instead.
First decide which file is the source, not which is easiest
Before you clean anything, work out where the numbers actually come from. The PDF is almost always a printout of one of the other three, so treat it as a reference to check against. The Google Sheet may have live formulas pulling from tabs you can't see. The Excel workbook's six tabs might be six months, or the same month edited six times. Ask whoever owns the numbers one question, "which of these do we treat as the real record?", and you'll save an hour of reconciling files that were never meant to agree. Pick one source and use the rest as things to check it against.
The example: four files, four different traps
Say the same June revenue figure shows up like this across the four:
Q2_summary.pdf -> "June revenue: £84,210" (a picture of a number) Google Sheet -> =IMPORTRANGE(...) 84,210 (live, could change tomorrow) workbook.xlsx -> June tab: 84,210 ; June(2) tab: 83,900 june.csv -> £84,210 (broken encoding)
Four traps, one per format. The PDF number can't be used for totals because you can't see the rows behind it, so go back to the system it was printed from rather than retyping the figure. The Sheet's IMPORTRANGE means today's 84,210 could be tomorrow's 84,600, so once you agree it's the source, take a static copy and note the date. The workbook has two June tabs that disagree by £310. That £310 is a question for whoever keeps the workbook, not something to average away. And the CSV's £ is a UTF-8 file opened with the wrong encoding: reopen it with Data → From Text/CSV, set File Origin to 65001: Unicode (UTF-8), and the pound sign comes back.
A calm order of operations
- Inventory the files. List each one, its format and what you think it contains. Four files, four lines.
- Agree the single source of truth with the person who owns the numbers, in writing, before cleaning.
- Get everything into the same shape. Find the table behind the PDF, export the Sheet, split the workbook tabs, fix the CSV encoding, so all four are flat tables you can read.
- Reconcile the others against the source. Pick one shared total and check it to the penny. Note any file that disagrees and why.
- Clean and combine the source only, keeping the other three as evidence rather than inputs.
- Write down the decision. "June figures taken from workbook.xlsx June tab; June(2) tab was a superseded draft." Next quarter, nobody has to argue it out again.
Follow that order and four contradictory attachments become one clean table with a note of where it came from, instead of a guess you can't explain when someone asks.
Then fix how the data reaches you
Getting the same data in four formats is rarely a one-off. It happens when nobody has said how the data should be shared. Once this round is done, agree a simple standard with the teams that send you numbers: "each month, export the raw table from the system as one CSV, or keep it in this one shared sheet." It won't hold every time, but every file that arrives in the agreed shape is a reconciliation you don't have to do.
Dotwave takes CSV and Excel uploads, connects to Google Sheets and databases, and can stack the tabs of one workbook as you upload it. It doesn't read PDFs, so use the table behind the PDF. Every cleaning step you apply is written to an audit trail, so the record of what you did stays with the data.
Create your free account