Explanation
TheSUBSTITUTE functioncan find and replace text in a cell, wherever it occurs.
How can you figure out which character(s) need to be removed, when they are invisible?
For more general cleaning, see theTRIM functionand theCLEAN function.
CHAR can insert characters that are hard to enter into a formula.
CODE Function
The Excel CODE function returns a numeric code for a given character.
For example, =LEFT(“apple”,3) returns “app”.