Fix a Messy Excel Order Export Without Losing Real Sales

Make a rough list usable without losing track of what changed. This lesson uses fictional orders with extra spaces, text dates and amounts, inconsistent categories, and one verified duplicate.

Video + written guideSample workbook includedFictional data
Start with the result

What you will finish with.

Result

An eight-row Excel Table with consistent categories, real date and amount values, and one verified duplicate removed. The reviewed total is $1,015.

What you need

Excel with Tables and Remove Duplicates, plus the fictional .xlsx workbook. The click paths below follow Microsoft’s desktop documentation; check your version if labels differ.

Last checked: Microsoft Support steps and workbook figures reviewed 9 October 2026. The example was checked locally; no live business data was used. How we check guides

Watch the lesson

See the cleanup from start to check.

Follow the written steps and use the sample workbook to check your result.

Worked example

What changes—and what should not.

The sample workbook has 9 order rows. One exact copy of order O-103 is removed after review, leaving 8 unique rows. The order value falls by exactly $240, from a normalized $1,255 to $1,015. The table below shows a few representative rows, not the whole workbook.

Fictional order list · excerpt

Middle dots below show spaces in raw text; they are not characters in the workbook.

Order IDContactCategoryOrder dateAmount (USD)Notes
O-101··Maya Stone··workshop2026/10/07 (text)$120.00 (text)·Intro session·
O-103ALMA CHENconsultingOct 09, 2026 (text)·240· (text)Planning call
O-103ALMA CHENconsultingOct 09, 2026 (text)·240· (text)Planning call
O-108Sam LeeConsulting2026-10-14 (text)160.00 (text)Implementation
9 order rows in full sheet$1,255 after amounts are converted1 verified exact duplicate
Why reconcile?

“Remove Duplicates” deletes rows based on the columns you select. A matching order ID alone is not proof that two entire orders are the same. Review the complete records first, then explain every row and total change.

Quick reference

Verified Excel click paths.

These are text instructions based on the linked documentation and local practice files. Product screens can change.

  1. Make the Table

    Click a cell in the working range → Ctrl+T → confirm the selected range and headers.

    Microsoft: Insert a table ↗
  2. Review and remove duplicates

    Data → Data Tools → Remove Duplicates → select all six fields for this sample → OK. Keep the untouched Before sheet.

    Microsoft: Remove duplicates ↗
The repeatable process

Five steps to a trustworthy list.

  1. Save a working copy and make a Table

    Keep the untouched export and record its 9 data rows. Work on a copy. Click inside the working range, press Ctrl+T (or choose Home → Format as Table), confirm all six columns and “My table has headers,” and inspect the first and last rows. A Table makes filtering easier; it does not clean values by itself.

  2. Trim ordinary spaces and standardize known categories

    Use a helper column with =TRIM(cell) for ordinary extra spaces, fill it down, inspect the results, then paste values only when satisfied. Map reviewed category variants to Workshop, Consulting, and Training. Preserve the original column until the mapping is checked. The fictional ALMA CHEN display name is changed only after review; real names may have deliberate capitalization.

    Excel’s TRIM does not remove every kind of space, including a nonbreaking space. Investigate a stubborn value instead of applying the same formula repeatedly.

  3. Convert text dates and amounts into real values

    A cell that looks like a date or dollar amount may still be text. For dates Excel recognizes, use its conversion option or DATEVALUE, then apply a date format. Check the day, month, and year in several rows; ambiguous dates need human interpretation.

    In the sample workbook, headers are on row 4, the first amount is in E5, and the nine imported amounts are in E5:E13. In a temporary helper column, enter =VALUE(SUBSTITUTE(TRIM(E5),"$","")) in G5. Fill the formula through G13, then check the converted values against the source: O-101 is 120, each O-103 is 240, and O-108 is 160. The nine numeric amounts should total $1,255 before removing the duplicate. After review, copy G5:G13 and use Paste Special → Values over E5:E13 in the working copy; delete the helper column before selecting the six original fields for duplicate removal. Finally, format the amount column as currency. Formatting alone does not convert text.

    This exact formula is for the sample’s US-style dollar values and comma-separated Excel formulas. Other currencies, decimal conventions, or regional formula separators can require a different conversion. Stop and inspect any error or unexpected value before pasting over the source cells.

  4. Review the duplicate before removing anything

    Filter or highlight candidate rows. Both O-103 rows in this sample match across all six fields: ID, contact, category, date text, amount text, and note. A repeated ID alone is not proof that two orders are identical. If any field differs, investigate rather than delete.

  5. Remove the confirmed copy and reconcile

    In Data → Remove Duplicates, choose all six relevant columns for this sample and inspect the result. One approved O-103 row goes away. Confirm 9 → 8 rows and $1,255 − $240 = $1,015 after amounts are parsed. Explain every changed row and total; keep the Before tab as the audit copy.

Before you trust the result

Quality checks and common mistakes.

Removing duplicates by ID without looking at the rest of the row

Two rows can share an ID and still contain different information. Compare all relevant fields and decide what “duplicate” means for this dataset.

Formatting text instead of converting it

Changing the display format alone may leave an amount or date stored as text. Verify with a calculation or sort, not appearance alone.

Assuming a clean sheet is an accurate sheet

This workflow catches known structure and consistency problems. It cannot validate every business fact; sample-check against the source.

Questions people ask

Before you apply this to your own work.

Why is the expected total $1,015?

The nine imported rows total $1,255 after text amounts are converted. One reviewed O-103 copy is $240; removing it leaves eight rows and $1,015. A different result means the conversion or duplicate choice needs another look.

Is a matching order ID enough to delete a row?

No. Excel uses the selected columns as its comparison key and removes the entire matching row. In the sample, both O-103 records match across all six fields; a real repeated ID with different details needs investigation.

Why might TRIM leave a space?

Excel’s TRIM removes ordinary ASCII spaces but not every invisible character, including a nonbreaking space. Inspect the character before choosing another cleanup method.

Can I run Remove Duplicates on the original file?

Keep an untouched copy first. Microsoft notes that Remove Duplicates deletes values, so the source sheet is the audit trail if a comparison rule was wrong.

Practice files

Download and follow along.

Product references

Check the current Excel steps.

Next lesson · Episode 02Gmail Filters: Sort Newsletters Without Missing Important Mail