Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to Create Column Chart in Excel
  • Everything about Charts in Excel
  • Use Data Form to input, edit and delete records in Excel
  • How to create running total in an Excel Table
  • How to calculate current stock or inventory in Excel

References

  • How to use Excel INDIRECT Function
  • How to get last row in text data in Excel
  • Last row number in range
  • How to get last row in numeric data in Excel
  • How to use Excel FORMULATEXT function

Data Validations

  • Prevent invalid data entering in specific cells
  • Excel Data validation unique values only
  • Excel Data validation whole percentage only
  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days

CLEAN function: Description, Usage, Syntax, Examples and Explanation

by

What is CLEAN function in Excel?

CLEAN function is one of TEXT functions in Microsoft Excel that 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.

Important: The CLEAN function was designed to remove the first 32 nonprinting characters in the 7-bit ASCII code (values 0 through 31) from text. In the Unicode character set, there are additional nonprinting characters (values 127, 129, 141, 143, 144, and 157). By itself, the CLEAN function does not remove these additional nonprinting characters. For an example of how to remove these additional nonprinting characters from text, see Top ten ways to clean your data.

Syntax of CLEAN function

CLEAN(text)

The CLEAN function syntax has the following arguments:

  • Text: Any worksheet information from which you want to remove nonprintable characters.

Example of CLEAN function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data
=CHAR(9)&”Monthly report”&CHAR(10)
Formula Description Result
=CLEAN(A2) Removes the nonprintable characters CHAR(9) and CHAR(10) from the text string in cell A2. Monthly report

Post navigation

Previous Post:

MODE.MULT function: Description, Usage, Syntax, Examples and Explanation

Next Post:

231 Keyboard Shortcut Keys In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • Not Equal To ‘<>‘ operator in Excel

Date Time

  • DAYS360 function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate project start date based on end date in Excel
  • YEARFRAC function: Description, Usage, Syntax, Examples and Explanation
  • Roll back weekday to Friday base on a particular date in Excel
  • Convert decimal seconds to Excel time

Grouping

  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel

General

  • Check if multiple cells have same value in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Basic text sort formula in Excel
  • How to calculate decrease by percentage in Excel
  • How to make excel worksheets print on one page?
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning