TRIM, CLEAN

Back to all functions

Now we will look at two ways to remove unwanted characters from a string of text.
We have the TRIM function, which takes a string of text, and returns the same string excluding all the unnecessary spaces. This includes spaces at the start and end of the string.
We write Equals, TRIM, and select the text, and we can see that only the necessary spaces remain.
We also have the CLEAN function, which also takes a string of text, and removes any characters that are non-printable.
We’ll write Equals, CLEAN, and select the text. We are left with a text free from unnecessary spaces and characters.
In this lesson we have gone through the functions TRIM and CLEAN, which remove unwanted characters from a string of text.

Popular courses

The Excel Functions Guide

Deepen and develop your Excel Functions skills

Learn how to efficiently manage databases, clear text in cells, and retrieve values from other tables. The course also walks...

Excel Essentials

Get a better understanding of the Excel workflow

Learn to feel more comfortable in Excel. This course will help quickly develop your knowledge in Excel. Excel Essentials is...

Contact us for assistance in finding right course

Excel for your profession

The Excel course for Procurement and Logistic professionals

Excel for professionals working within procurement and logisticians

In cooperation with organisations and professionals within the industry, Learnesy have developed an Excel course that is adapted to those...

Looking for something custom made? Contact us and we will make sure to meet your requirements.

Contact