TRIM
removes extra spaces from text · from excel · excel: not yet compared · sheets: not yet compared
signature
TRIM(text)
returns: text
| argument | required |
|---|---|
| text | required |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=TRIM(" extra spaces ") extra spaces