Excel broke my file
How do I clean up data in Excel without formulas?
Use Excel's built-in tools: Flash Fill and Text to Columns to split and reshape text, Remove
Duplicates for exact copies, Find and Replace for one-off fixes, and Power Query to trim
spaces and change case. For one clean-up on a small file, that is often enough. If you clean
the same kind of export every week, or you need fuzzy duplicates, a point-and-click cleaner
is faster. Sift suggests the fixes for you, in your browser, with nothing uploaded.
Clean your file in Sift, free →
Excel's no-formula tools
- Flash Fill. Type the result you want in the column next to your data,
such as a first name pulled out of a full name, then choose Data > Flash Fill or press
Ctrl+E. Excel fills the rest of the column from the pattern. It guesses from your examples,
so check the result.
- Text to Columns. Select a column and choose Data > Text to Columns.
Pick Delimited, choose the separator (a comma or a space, for example), and Excel splits
the column into several.
- Remove Duplicates. On the Data tab, in the Data Tools group, choose Remove
Duplicates and tick the columns to compare. It compares what appears in the cell, so it
only catches copies that look identical.
- Find and Replace. Press Ctrl+H, type what to find and what to replace it
with, and choose Replace All. Tick Match entire cell contents under Options so that "UK"
does not also change inside other words.
- Power Query for spaces and case. Select your data and choose Data >
From Table/Range to open the Power Query Editor. Select a column, then Add Column >
Format offers Trim, Clean, lowercase, UPPERCASE and Capitalize Each Word. Close & Load
puts the result on a new sheet.
When these are enough: a one-off file, a few thousand rows, and problems you
can see, like a name column to split or exact duplicate rows. Microsoft suggests filtering on
unique values first, to check what Remove Duplicates will delete.
Where they run out: each tool fixes one thing in one column, so a messy export
takes many steps, and you repeat them on next week's file. Remove Duplicates will not see that
Acme Inc and Acme, Inc. are the same company. Capitalize Each Word lowercases every letter
after the first, so McDonald becomes Mcdonald. And opening a CSV in Excel can change the data
before you start: see why Excel ruins CSVs.
An example: one messy file, the fixes Sift suggested
We loaded a six-row contact list with stray spaces, mixed-case emails and companies, three
spellings of United States, and one row entered twice. Sift's Clean tab suggested these fixes
on its own:
- Trim whitespace in "Name" and in "Email"
- Lowercase emails in "Email"
- Standardise casing in "Company"
- Standardise country names in "Country"
- Remove duplicate rows
- Merge duplicates by "Email"
These are the real results after approving them:
BeforeAfter
" jane doe " (spaces before, inside and after)→jane doe
Jane.Doe@Acme.com with a trailing space→jane.doe@acme.com
acme inc (next to Acme Inc)→Acme Inc
USA, U.S.A.→United States
UK→United Kingdom
6 rows, one entered twice→5 rows
Notice what it left alone: "jane doe" and "JOHN SMITH" kept their casing. The Name column was
a mix of cases, so Sift did not suggest a casing fix for it. Fix values like those with Map
values, below, or see fixing ALL CAPS names.
The Sift way, step by step
- Load your file in the cleaner: CSV, TSV, .xlsx or .xls. It is processed in
your browser; nothing is uploaded.
- Audit shows what is wrong first: a hygiene score, a profile of every
column, and outliers.
- Clean lists suggested fixes, column by column. These include trimming
spaces, casing, dates, phone numbers, country names, broken emails and duplicate rows.
Approve safe fixes ticks them all except the opt-in ones, which change data
on an assumption and need their own tick. Review the before and after, then click
Apply.
- Reshape holds the tools you would otherwise do by hand in Excel:
- Split a column, instead of Text to Columns: split on a space, comma,
semicolon, dash or pipe. The last new column keeps any leftover parts.
- Combine columns, instead of Flash Fill joins: First Name + Last Name
into Full Name, joined with a space, comma, dash or nothing.
- Map values, instead of Find and Replace: it lists a column's most
common values, and you type the new value next to each one you want to change.
- Filter rows: keep or drop rows where a column is, is not, contains,
does not contain, is empty or is not empty.
- Merge duplicates, fuzzy, the dedupe Remove Duplicates can't do: match
on a key that ignores punctuation, case and word order, or on a normalised email or
phone, then keep the most complete, most recent or first record.
- Export a CSV or .xlsx file, plus a change log of every cell that changed,
before and after.
The Score tab qualifies leads with a score you can read, and the Match & check tab maps your columns to a CRM's import
fields and checks the file will import.
Privacy note: your file is processed in your browser and nothing is uploaded. You can check by
disconnecting from the internet after the page loads: the cleaning still works.
What this can't do
- Formulas and formatting. Sift reads and writes the values in your sheet.
It is not a spreadsheet, so it will not keep your formulas, colours or charts. Clean the
data in Sift, then do the analysis in Excel.
- Guess what only you know. It will not decide that MCDONALD should be
McDonald, or that two people with different emails are one person, unless a match rule says
so.
- Every distinct value in Map values. It shows the 60 most common values in
a column, which suits picklists like Status or Lead Source better than a long list of
names.
- Restore everything Excel already lost. Sift pads a US ZIP code that lost
its leading zero, and re-expands a number in scientific notation when every digit is still
there. Digits Excel dropped when the file was saved are gone. Start again from the original
export when you can.
Related guides