DataGenius BI ← All Guides

Guide • Updated October 2026

How to Clean an Accounting or Sales Export in Excel

Exports from accounting and sales systems are made to print, not to analyze. They often have a report title above the table, total rows in the middle, merged cells, amounts with currency signs and dates saved as text. Here is a routine to turn one into a clean table.

1. Remove what is above and below the table

Delete the report title and any notes above the header row, so the first row holds column names. DataGenius BI finds the table by itself when there are notes above it.

2. Delete total and subtotal rows

These rows are counted again if you add up the column. Remove them by hand, or filter the first column for "Total" and delete those rows.

3. Unmerge cells

Merged cells break sorting and filtering. Select them, choose Merge & Center to unmerge, and fill the blank cells with the value above.

4. Fix amounts saved as text

Values such as "$1,200.00" or "(300.00)" are often text. Convert them to numbers or the totals will be wrong. See how to convert text to numbers, or tick that option in the Cleaning Center.

5. Trim spaces and fix dates

Remove extra spaces from names and codes, and write all dates in one format. Our cleaning checklist covers both.

6. Remove empty columns and duplicates

Exports often have blank columns used for spacing. Remove them, then remove duplicate rows. Check the duplicates first, because two sales with the same amount on the same day can both be real.

7. Check the total

Compare your cleaned total with the total on the original report. If they match, nothing was lost or doubled.

Common questions

Why does my total change after cleaning?

Usually numbers saved as text were not counted before, or total rows were counted twice. Compare the cleaned total with the total printed on the original report.

Should I clean the export or fix it in the accounting system?

Fix real mistakes in the system, so they do not come back. Clean the export when you only need it for analysis or a report.

Can I save these steps for next month?

In DataGenius BI, use Saved Steps to repeat your cleaning settings on the next export. Only the settings are saved, in your browser, not your data.

Related guides

Got a messy Excel or CSV file?
Check its quality score and clean it in your browser. Free, no signup, and your file is never uploaded.
Try DataGenius BI