CLEAN

Microsoft Office Spreadsheet Functions

Show All

CLEAN

See Also

Removes all nonprintable characters from text. Use CLEAN on text imported from other applications that contains characters that may not print with your operating system. For example, you can use CLEAN to remove some low-level computer code that is frequently at the beginning and end of data files and cannot be printed.

Syntax

CLEAN(text)

Text is any worksheet information from which you want to remove nonprintable characters.

Example

The example may be easier to understand if you copy it to a blank spreadsheet.

How?

Data
=CHAR(7)&"text"&CHAR(7)
Formula Description (Result)
=CLEAN(A2) Removes the nonprintable character, CHAR(7), from the string above (text).