Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 5

TRIM Function LARGO

=TRIM(text) Fix this text

1 Removes spaces from beginning and end of text string


2 Removes all except single spaces between words
3 Does NOT remove some space characters copied from websites

www.contextures.com
Characters

No spaces: Fix this text 13


Original text: Fix this text 17

Trimmed text: Fix this text 13

Removes spaces from beginning and end of text string

www.contextures.com
Characters

No spaces: Fix this text 13


Original text: Fix this text 20

Trimmed text: Fix this text 13

Removes all except single spaces between words

www.contextures.com
Characters

No spaces: Fix this text 13


Website text: Fix this text 14

Trimmed text: Fix this text 14

Does NOT remove some space characters copied from websites


Cell C5 contains a non-breaking space, and that is not trimmed

www.contextures.com
Contextures Links
Contextures Excel Tips Website
Contextures Excel Blog
Excel Pivot Tables Blog
Excel Theatre Blog (the lighter side of Excel)
Debra's Pivot Table Books on Amazon
30 Excel Functions in 30 Days eBook Kit

Contextures Recommends
Jon Peltier's Excel Chart Utilities
ExcelUser Dashboards
Chandoo's Project Management Templates
JP's Random Data Generator for Excel

www.contextures.com 02/05/2024

You might also like