The CLEAN Function in Excel takes a text string and returns a text that has been “cleaned” of line breaks and other non-printable characters.

  • What is a CLEAN Function?
  • What is the syntax for CLEAN Function?
  • How to use CLEAN Function?
  • And finally, What are the applications of CLEAN Function?

➡ What is Clean Function in Excel?

An Excel Function that removes all the non-printable characters from text is known as CLEAN Function. So, it is in sub-category of the Text Functions in Excel.

CLEAN Function can also be used to remove characters that are not printable from text. You can also use CLEAN Function to strip line breaks from text, to remove some low-level computer code that is often at the starting and at the ending of data files which cannot be printed.

➡  What is the Syntax for Clean Function?

The CLEAN Function syntax is very simple and clear. As seen below-

=CLEAN (text)

 Where,

Text – The text or line breaks to be cleaned

➡ How to use the Clean Function?

The CLEAN Function in Excel is very easy to use. Because, you simply have to mention the cell name in the CLEAN Formula from which you want to remove the text.

➡ Example: 

Here is an example where you have the names given with the line breaks as shown in picture below. To write them in one line, use the CLEAN Function.

Although, the formula for cleaning line breaks is CLEAN(A1) where A1 is the cell name.

Use paste special for replacing the new data with the old one.

Clean Function in Excel

➡ What are the Applications of Clean Function? 

CLEAN Function is used in the below situations-

  • To remove line breaks from a cell or from text inside a formula, use the CLEAN Function
  • Strip leading and trailing spaces from text in one or more cells, you can use the CLEAN Function
  • Use CLEAN Function to remove some low-level computer code that is frequently at the beginning and ending of data files and cannot be printed

Recommended Blog:

➡ Top 4 Points to Remember:

  • The CLEAN Function takes out the first 32 characters in the 7-bit ASCII code from the text
  • Unicode has other non-printable characters that are not remove by CLEAN Function
  • Also, the CLEAN function cannot remove the additional non-printing characters
  • Incomplete text in the formula will return  #NAME? error

➡ Conclusion:

Now, we come to know about the CLEAN Function in Excel. Its purpose, its uses, the formula to be used, where can we find this function and much more. So, I really hope your concept regarding the CLEAN Function is clear and you can now carry out this function easily.

Leave a Reply

Related Tutorials

Connect to Data in Power Query
February 21, 2019
How to use Text to Column in Excel with 4 Difference Example
February 21, 2019
Things you should learn in Excel Course
February 13, 2019
How to use the Excel Choose Function
February 11, 2019
How to use the Excel Code Function
February 11, 2019
How to use the Excel Column Function
February 11, 2019
How to use Ceiling Function in Excel
January 30, 2019
How to use Char Function in Excel
January 28, 2019
Text To Column in Excel | Split Cells
January 4, 2019
Pivot Tables (Complete Guidelines)
December 27, 2018
Power Bi Dax Deduplication Based On Column
December 17, 2018
Special Character Symbol List with Shortcodes in Excel
December 15, 2018
How to use AVERAGEIFS FUNCTION in Excel
December 10, 2018
How to use AVERAGEIF FUNCTION
December 10, 2018
How to use ABS Function in Excel
December 10, 2018
How to use AND Function in Excel
December 10, 2018
Delete Duplicate in Excel or Remove Duplicate in Excel
November 9, 2018
Excel Formulas and Functions in PDF
September 6, 2018
How To Lock Cells in Excel | Unprotect Excel
August 13, 2018
4x Faster at Excel
August 6, 2018
Separate Content of One Excel Cells into Separate Columns
August 3, 2018
How to Transpose Excel Columns to Rows | Paste Special Method
July 26, 2018
How to create sparklines in Excel
July 19, 2018
AutoSum in Excel with Shortcut
July 17, 2018
OFFSET Function in Excel
July 6, 2018