Trim and clean messy text

Trim and clean messy text in Google Sheets — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
I downloaded a supplier list with inconsistent whitespace and hidden characters. Clean column B so…
I downloaded a supplier list with inconsistent whitespace and hidden characters. Clean column B so each cell has no leading or trailing spaces, no repeated internal spaces, and remove non-printing characters. Put the cleaned result into column C and preserve the original values in B.

Improve — make it easier to accept

+
Before I send the supplier list to procurement, normalize the supplier names: trim all whitespace,…
Before I send the supplier list to procurement, normalize the supplier names: trim all whitespace, remove line breaks and non-printing characters, collapse multiple spaces to one, and flag any entries that become empty after cleaning. Add a short summary at the top: number cleaned and number blanked.

Decide — diagnose the stuck moment

+
My vendor match is breaking but the names look identical. I suspect non-breaking spaces or hidden…

Lookups failing due to invisible characters in names

My vendor match is breaking but the names look identical. I suspect non-breaking spaces or hidden control characters. I don't know which rows are affected. Should I run a blanket CLEAN and TRIM on the column, or first detect characters with CODE or LEN differences? Which approach is faster and safest when I have 3,000 rows and a tight deadline?

Become — change the pattern

+
Imported supplier and contact lists repeatedly arrive with weird whitespace, line breaks and hidden…

Repeated errors from messy imported text

Imported supplier and contact lists repeatedly arrive with weird whitespace, line breaks and hidden characters and I keep troubleshooting matches. Propose a one-line import checklist and a lightweight sheet-side cleaning routine that I can reuse so future imports need near-zero manual cleaning. Include the minimal formula sequence to run automatically on paste.

Next to this one

Other spreadsheet work people do in Google Sheets.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.