

This is another one of those pains that we just have to learn to live with in Excel. The worst part about this space character is that it looks exactly the same as the regular space, but formulas and functions do not treat it the same as a regular space. Once you learn how to remove this character, particularly with the last method that I show in the video, Find/Replace, you should start applying it to all of your imported copy/pasted data automatically before you process it just to ensure that there are no sneaky spaces in there that will cause you trouble in your formulas and functions later. This character is technically called the non-breaking space character, but, honestly, its an evil monster that is difficult to detect and remove. The hidden space character, CHAR(160), often appears in your spreadsheet when data is imported from another program or when you copy/paste data from the internet. To Learn more about UDFs, please read this article: User Defined Functions.How to quickly and easily remove the hidden space character from Excel, CHAR(160) - this tutorial also includes how to use Find/Replace to remove the space quickly from many cells in a worksheet or the entire worksheet at once. Do not forget to save your workbook as an Excel Macro-Enabled Workbook (*.xlsm). Re: Hidden characters in Excel Just copy formula but replace cell where is your problematic data (in example B12, change with desired cell). Now your UDF is defined and ready to use. SInput = Replace$(sInput, Mid$(sSpecChar, i, 1), "") Into this module copy the below UDF: Function RemoveSpecChar(sInput As String) As String Right-click on your workbook’s name in the Project window on the left-hand side and insert a new module. In order to make your UDF work, open the Visual Basic Editor by pushing Alt+F11. Click Insert > Module, and paste the following code in the Module. If you do want to use a single formula to remove special characters, you will need to use a User Defined Function (UDF), like RemoveSpecChar. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window. In the example shown, the formula in C4 is: SUBSTITUTE( B4,CHAR(202),'') Which removes a series of 4 invisible characters at the start of each cell in column B.

Some of them are Flash fill, timeline feature, Lookup function, Statistical Function and more. Microsoft has introduced more features in Excel 2013, which are new to users. Efficient use of Financial function in excel 2013. If you want to remove only one special character, you can use the SUBSTITUTE function (see more in this article Remove Unwanted Characters). To remove specific unwanted characters in Excel, you can use a formula based on the SUBSTITUTE function. Excel 2013 makes statistical functions easy. Excel does not provide any functions to remove all special characters from strings at once.
