Explanation

The TRIM function is fully automatic.

All you’re gonna wanna do is supply a reference to a cell.

The TRIM function then takes over to remove extra spaces and returns the final text.

Excel formula: Clean and reformat telephone numbers

By adding the SUBSTITUTE function to the formula, it’s possible for you to remove specific characters.

SUBSTITUTE Function

The Excel SUBSTITUTE function replaces text in a given string by matching.

Excel formula: Remove unwanted characters

Excel CLEAN function

Excel TRIM function

Excel SUBSTITUTE function

Article image