Calc CLEAN function

The CLEAN function is used to tidy up text by removing nonprintable characters.

Help CentreFunctions & Formulas

For a full list of available calculation functions, please read What calculation functions are supported.


Description

The CLEAN function is used to tidy up text by removing nonprintable characters. Think of it as a digital cleaner that scrubs away invisible and potentially troublesome characters from your text.


Syntax

CLEAN(text)


The CLEAN function syntax has the following arguments:

  • Text Required. Any text from which you want to remove non-printable characters.

Example

Data
variable = CHAR(9) & "Monthly report" & CHAR(10)
FormulaDescriptionResult
=CLEAN({variable})Removes the non-printable characters CHAR(9) and CHAR(10) from the text string in variable {variable}.Monthly report

Errors

For a full list of formula errors, please read Formula errors.


Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.