Text

CLEAN

Strip the nonprinting control characters covered by Excel’s CLEAN function.

Syntax

=CLEAN(text)

Worked example

Remove the line break between two letters.

=CLEAN("A"&CHAR(10)&"B")

Result AB

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor