1. Home
  2. Functions
  3. Text
  4. CLEAN

CLEAN function

Removes nonprinting characters (codes 0 to 31) from text.

Syntax

=CLEAN(text)

Arguments

ArgumentRequiredDescription
textRequiredThe text to clean

How to use CLEAN

CLEAN takes 1 required argument. Type =CLEAN( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=CLEAN(CHAR(9)&"Monthly report"&CHAR(10))Result "Monthly report"

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.