MS Excel: CLEAN Function (WS)
Learn how to use the Excel CLEAN function with syntax and examples.
The Microsoft Excel CLEAN function removes all nonprintable characters from a string.
The syntax for the Microsoft Excel CLEAN function is:
CLEAN( text )
Parameters or Arguments
text is the value that has all nonprintable characters removed from.
The CLEAN function can be used in the following versions of Microsoft Excel:
- Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Excel Function
The CLEAN function can be used in Microsoft Excel as the following type of function:
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel CLEAN function examples and explore how to use the CLEAN function as a worksheet function in Microsoft Excel:
Based on the spreadsheet above, the following Excel CLEAN examples would return:
|=CLEAN(A1)||would return "hi there"|
|=CLEAN(A2)||would return '"this is a test"|