Text cleaning — Excel Course
TRIM, CLEAN, SUBSTITUTE, LEFT, RIGHT, MID and text joining. Learn it step by step with guided practice on Excelquro.
Understand
Treat text cleaning as a pipeline: remove unwanted characters, normalize spacing, extract structured pieces, then rebuild a standard label. TRIM addresses extra spaces; CLEAN removes non-printing characters; FIND/SEARCH locate separators; LEFT/MID/RIGHT extract components; SUBSTITUTE replaces known text.
Worked example
TRIM removes leading/trailing and repeated spaces while SUBSTITUTE replaces a known spelling/case variant.
=TRIM(SUBSTITUTE(A2,"MUMBAI","Mumbai"))
Follow along
- Inspect the raw text and identify the defect.
- Use TRIM for spacing problems.
- Use CLEAN when imported text contains non-printing characters.
- Use FIND or SEARCH to locate a delimiter.
- Extract pieces with LEFT/MID/RIGHT.
- Use SUBSTITUTE or joining functions to create the final standardized value.
Interactive practice runs in your browser.