ExcelFlux

CLEAN function

Removes all nonprintable characters from text.

Text

Where can you use it?

Data preparation and reporting teams. Use this group to clean, split or reformat IDs, names and descriptions before using them in reports.

Scenario in the workbook

Remove characters such as line breaks and tabs from imports. Check whether words are joined after cleaning.

A worked example from the workbook

RowA
6Input
7North ↵ Hub
8A ⇥ 42
9AB-042
Record 1
=CLEAN(A7)

Expected resultNorthHub

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=CLEAN("ExcelFlux")
Turkish Excel · tr-TR
=TEMİZ("ExcelFlux")

Expected result

“ExcelFlux”

Worked examples

Remove characters such as line breaks and tabs from imports. Check whether words are joined after cleaning.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A
6 Input
7 North ↵ Hub
8 A ⇥ 42
9 AB-042
Case Formula Expected result
Record 1 =CLEAN(A7) NorthHub
Record 2 =CLEAN(A8) A42
Record 3 =CLEAN(A9) AB-042
Microsoft Excel reference