Fix Numbers and Dates Stored as Text
Premiumintermediate 15 min4 tasks0/66 pts
Data exported from other systems often arrives as text that looks like numbers: 1,250.00 EUR, 12 with spaces, or dates like 15.03.2024. Excel cannot add or sort these properly, and SUM simply skips them. Strip the extra characters with SUBSTITUTE and TRIM, then turn the text into a number with VALUE. For dates, cut out the day, month and year with LEFT, MID and RIGHT and rebuild them with DATE.
Syntax
VALUE(text) · VALUE(TRIM(text)) · DATE(RIGHT(t,4), MID(t,4,2), LEFT(t,2))
Example: =VALUE(SUBSTITUTE(SUBSTITUTE(B2," EUR",""),",","")) turns 1,250.00 EUR into the number 1250.
Common mistakes
- Removing the thousands comma but not the currency text, so VALUE still returns #VALUE!.
- Mixing up day and month when rebuilding dates from a different country’s format.
- Formatting the cell as Number and expecting the text to change: formatting never converts text.
Read the lesson, then try it yourself in a live spreadsheet.