ZonoTools

Excel Practice - TRIM

Instruction

Clean text in A2 by removing leading, trailing, and repeated spaces.

Formula Syntax

=TRIM(text)

  • text: Input text value.

What it does

Remove extra spaces from text values.

text-cleanup.xlsx

AB
1Raw TextHelper
2 ACME Corporation ACME
3Invoice-2026-00012026
4VIP_CLIENTVIP
5John DoeDoe
6 Product Name Product
7Output

Input Formula

Need Help?

Tips

  • Use TRIM with clean and consistent ranges for predictable results.
  • Validate data types (number, text, date) before applying the formula.
  • Test the formula with a small sample first, then scale it to larger ranges.