Clean data habits (why your sheet breaks)
Merged cells, stray spaces and numbers stored as text. The five habits that keep a spreadsheet trustworthy.
A spreadsheet fails for one of two reasons: the formulas are wrong, or the data is messy. Beginners obsess over formulas. Professionals obsess over data.
Here are the five habits.
Habit 1 β One thing per cell
Never write Rahul Sharma - Mumbai - 9876543210 in one cell. Use three columns: Name, City, Phone.
Why: the moment you want to sort by city, or count people in Mumbai, or send emails, you have to pull that cell apart. Splitting later is painful. Splitting up front is free.
Habit 2 β Never merge cells
Merged cells look tidy and break everything. You can't sort a table with merged cells. You can't filter it. Pivot tables refuse. Formulas behave oddly.
If you want a heading centred over several columns, use Center Across Selection instead (Format Cells β Alignment β Horizontal). Same look, none of the damage.
Habit 3 β Watch out for numbers stored as text
You have a column of numbers. =SUM() returns 0. Everything looks fine. What's happening?
Numbers pasted from a website or exported from an old system often arrive as text that looks like a number.
How to spot it:
- Numbers sit on the left of the cell instead of the right. (Excel right-aligns real numbers automatically.)
- A small green triangle appears in the corner.
=ISNUMBER(A2)returns FALSE.
How to fix it: select the column β Data β Text to Columns β Finish. That one click converts the lot.
Habit 4 β Kill invisible spaces
"Mumbai " with a trailing space is not equal to "Mumbai". Your VLOOKUP will fail and you'll never see why, because a space is invisible.
=TRIM(A2)TRIM removes leading and trailing spaces. Get in the habit of trimming any data that came from outside your own keyboard.
Habit 5 β Keep raw data raw
Structure every workbook in three layers:
| Sheet | Contains | Rule |
|---|---|---|
| Raw | Data exactly as it arrived | Never edit by hand |
| Working | Formulas, cleaning, calculations | Where you actually work |
| Report | The clean summary people see | No raw numbers typed in |
Why it matters: when someone asks "where did this number come from?" β and someone always does β you can trace it back. If you typed over the original data, you can't, and now nobody trusts the file.
The 30-second sanity check
Before sending any spreadsheet, do these three:
- 1Press Ctrl+End. Does it jump somewhere unexpected, miles below your data? You have stray content down there β delete those rows.
- 2Check every total against a rough mental estimate. If revenue looks like $4 million and you expected $40,000, something is wrong.
- 3Click one random formula and press F2 to see whether its coloured ranges cover what you think they do.
Thirty seconds. Saves you from the kind of email you remember for years.
Too Long; Didnβt Read
- One piece of information per cell, and never merge cells β merging silently breaks sorting, filtering and pivots.
- Numbers pasted from elsewhere often arrive as text (left-aligned); Text to Columns fixes a whole column at once.
- Keep raw data on its own untouched sheet so any number can always be traced back to its source.
Your tiny task
Open any spreadsheet you already have. Find one merged cell and unmerge it, run TRIM on one text column, and press Ctrl+End to check nothing is lurking below your data.
It takes a few minutes and itβs the bit that makes the lesson stick.
Quick check
0 of 3 answered
Three questions. Get one wrong and youβll get a hint β thereβs no penalty and you can try again straight away.
Your score is saved to your dashboard.
Finished reading? Tick it off.
Create a free account to save your progress, streak and badges.
Up next: Sorting, filtering and making it readable
Advertisement
Ad space (lessonFooter)
Add your AdSense IDs to .env and real ads appear here.
Ads keep the free courses free. Go Pro to remove them.