Excel cell having some invisible characterDebugging whitespace in VBAHow do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?Is this the RegEx for matching any cell reference in an Excel formula?How to remove line breaks in excelPerform trim function on the selected cells in VBARemove Leading and Trailing Whitespace from Excel CellsAppending new cells breaks the excel fileExcel VBA - Long format word analysis two challengesRemoving All Spaces in StringCount cells containing Chr(160) character in VBA(Excel 2013) Combining two cell value without exceeding certain characters limit

Does the Shapechange spell allow one to use Innate Spellcasting of the creature they turned into?

Tikzcd pullback square issue

How to help new students accept function notation

Pretty heat maps

Is it really ~648.69 km/s delta-v to "land" on the surface of the Sun?

During the Space Shuttle Columbia Disaster of 2003, Why Did The Flight Director Say, "Lock the doors."?

Why are physicists so interested in irreps if in their non-block-diagonal form they mix all components of a vector?

Is TA-ing worth the opportunity cost?

A question about 'reptile and volatiles' to describe creatures

Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?

How can glass marbles naturally occur in a desert?

In Pokémon Go, why does one of my Pikachu have an option to evolve, but another one doesn't?

Is this cheap "air conditioner" able to cool a room?

Secure my password from unsafe servers

In a topological space if there exists a loop that cannot be contracted to a point does there exist a simple loop that cannot be contracted also?

Should I self-publish my novella on Amazon or try my luck getting publishers?

Look mom! I made my own (Base 10) numeral system!

Geometric programming: Why are the constraints defined to be less than/equal to 1?

Did WWII Japanese soldiers engage in cannibalism of their enemies?

Arrange a list in ascending order by deleting list elements

Double blind peer review when paper cites author's GitHub repo for code

Does this Foo machine halt?

Do other countries guarantee freedoms that the United States does not have?

As a 16 year old, how can I keep my money safe from my mother?



Excel cell having some invisible character


Debugging whitespace in VBAHow do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office?Is this the RegEx for matching any cell reference in an Excel formula?How to remove line breaks in excelPerform trim function on the selected cells in VBARemove Leading and Trailing Whitespace from Excel CellsAppending new cells breaks the excel fileExcel VBA - Long format word analysis two challengesRemoving All Spaces in StringCount cells containing Chr(160) character in VBA(Excel 2013) Combining two cell value without exceeding certain characters limit






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am in the verge of destroying my computer. A task that I anticipated will take a few minutes I am sitting on it since 2 hours. I was trying vlookup between two different excel sheets but it always returned #N/A. So I took one cell and started testing it, I found out the problem is on the lookup workbook (second workbook). The value in the cell is a string of alphabets of length 9. But when I use the =len(A1) formula it shows 10 characters. So I used trim, still it shows 10, then I used this post:



Quite often the issue is a non-breaking space - CHAR(160) - especially from Web text sources -that CLEAN can't remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one



=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))



Ron de Bruin has an excellent post on tips for cleaning data here



You can also remove the CHAR(160) directly without a workaround formula by



Edit .... Replace your selected data,
in Find What hold ALT and type 0160 using the numeric keypad
Leave Replace With as blank and select Replace All



Still it shows 10 characters, instead of 9. Please HELP










share|improve this question
























  • copy the cell, paste into a hexeditor, see what that mysterious char is.

    – Marc B
    Sep 16 '15 at 19:57






  • 1





    and take a look here for example: stackoverflow.com/questions/30176376/…

    – KekuSemau
    Sep 16 '15 at 20:02











  • I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

    – user3777207
    Sep 16 '15 at 20:05











  • Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

    – user4039065
    Sep 16 '15 at 20:06







  • 1





    @pnuts LENB shows the length as 10 as well.

    – user3777207
    Sep 16 '15 at 21:19

















1















I am in the verge of destroying my computer. A task that I anticipated will take a few minutes I am sitting on it since 2 hours. I was trying vlookup between two different excel sheets but it always returned #N/A. So I took one cell and started testing it, I found out the problem is on the lookup workbook (second workbook). The value in the cell is a string of alphabets of length 9. But when I use the =len(A1) formula it shows 10 characters. So I used trim, still it shows 10, then I used this post:



Quite often the issue is a non-breaking space - CHAR(160) - especially from Web text sources -that CLEAN can't remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one



=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))



Ron de Bruin has an excellent post on tips for cleaning data here



You can also remove the CHAR(160) directly without a workaround formula by



Edit .... Replace your selected data,
in Find What hold ALT and type 0160 using the numeric keypad
Leave Replace With as blank and select Replace All



Still it shows 10 characters, instead of 9. Please HELP










share|improve this question
























  • copy the cell, paste into a hexeditor, see what that mysterious char is.

    – Marc B
    Sep 16 '15 at 19:57






  • 1





    and take a look here for example: stackoverflow.com/questions/30176376/…

    – KekuSemau
    Sep 16 '15 at 20:02











  • I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

    – user3777207
    Sep 16 '15 at 20:05











  • Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

    – user4039065
    Sep 16 '15 at 20:06







  • 1





    @pnuts LENB shows the length as 10 as well.

    – user3777207
    Sep 16 '15 at 21:19













1












1








1


1






I am in the verge of destroying my computer. A task that I anticipated will take a few minutes I am sitting on it since 2 hours. I was trying vlookup between two different excel sheets but it always returned #N/A. So I took one cell and started testing it, I found out the problem is on the lookup workbook (second workbook). The value in the cell is a string of alphabets of length 9. But when I use the =len(A1) formula it shows 10 characters. So I used trim, still it shows 10, then I used this post:



Quite often the issue is a non-breaking space - CHAR(160) - especially from Web text sources -that CLEAN can't remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one



=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))



Ron de Bruin has an excellent post on tips for cleaning data here



You can also remove the CHAR(160) directly without a workaround formula by



Edit .... Replace your selected data,
in Find What hold ALT and type 0160 using the numeric keypad
Leave Replace With as blank and select Replace All



Still it shows 10 characters, instead of 9. Please HELP










share|improve this question














I am in the verge of destroying my computer. A task that I anticipated will take a few minutes I am sitting on it since 2 hours. I was trying vlookup between two different excel sheets but it always returned #N/A. So I took one cell and started testing it, I found out the problem is on the lookup workbook (second workbook). The value in the cell is a string of alphabets of length 9. But when I use the =len(A1) formula it shows 10 characters. So I used trim, still it shows 10, then I used this post:



Quite often the issue is a non-breaking space - CHAR(160) - especially from Web text sources -that CLEAN can't remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one



=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))



Ron de Bruin has an excellent post on tips for cleaning data here



You can also remove the CHAR(160) directly without a workaround formula by



Edit .... Replace your selected data,
in Find What hold ALT and type 0160 using the numeric keypad
Leave Replace With as blank and select Replace All



Still it shows 10 characters, instead of 9. Please HELP







excel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 16 '15 at 19:55









user3777207user3777207

211 gold badge1 silver badge6 bronze badges




211 gold badge1 silver badge6 bronze badges















  • copy the cell, paste into a hexeditor, see what that mysterious char is.

    – Marc B
    Sep 16 '15 at 19:57






  • 1





    and take a look here for example: stackoverflow.com/questions/30176376/…

    – KekuSemau
    Sep 16 '15 at 20:02











  • I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

    – user3777207
    Sep 16 '15 at 20:05











  • Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

    – user4039065
    Sep 16 '15 at 20:06







  • 1





    @pnuts LENB shows the length as 10 as well.

    – user3777207
    Sep 16 '15 at 21:19

















  • copy the cell, paste into a hexeditor, see what that mysterious char is.

    – Marc B
    Sep 16 '15 at 19:57






  • 1





    and take a look here for example: stackoverflow.com/questions/30176376/…

    – KekuSemau
    Sep 16 '15 at 20:02











  • I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

    – user3777207
    Sep 16 '15 at 20:05











  • Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

    – user4039065
    Sep 16 '15 at 20:06







  • 1





    @pnuts LENB shows the length as 10 as well.

    – user3777207
    Sep 16 '15 at 21:19
















copy the cell, paste into a hexeditor, see what that mysterious char is.

– Marc B
Sep 16 '15 at 19:57





copy the cell, paste into a hexeditor, see what that mysterious char is.

– Marc B
Sep 16 '15 at 19:57




1




1





and take a look here for example: stackoverflow.com/questions/30176376/…

– KekuSemau
Sep 16 '15 at 20:02





and take a look here for example: stackoverflow.com/questions/30176376/…

– KekuSemau
Sep 16 '15 at 20:02













I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

– user3777207
Sep 16 '15 at 20:05





I am not good in vba the link that you sent, do I select the column in question press alt+f11 and paste it there in a module?

– user3777207
Sep 16 '15 at 20:05













Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

– user4039065
Sep 16 '15 at 20:06






Use the method for Find & Replace but for CHAR(10) characters. They can be created with Ctrl+J and replaced with nothing. They are linefeeds. If you have XL2013 use =unicode(mid(A$1, row(1:1), 1)) and fill down 11 rows to see what you have actually got. I'm betting linefeed (which isn't even Unicode). If not XL2013 use =code(mid(A$1, row(1:1), 1)) and hope it isn't Unicode.

– user4039065
Sep 16 '15 at 20:06





1




1





@pnuts LENB shows the length as 10 as well.

– user3777207
Sep 16 '15 at 21:19





@pnuts LENB shows the length as 10 as well.

– user3777207
Sep 16 '15 at 21:19












5 Answers
5






active

oldest

votes


















2














Here is an easy way to find out what your characters are.



Copy your cell with the 10 characters to a new sheet on cell A1.



Select cells B1:B10 and click on the Formula Bar at the top of the worksheet and paste this formula:



=MID(A1,ROW(OFFSET($A$1,,,LEN(A1))),1)


This is an array formula and must be confirmed with Ctrl+Shift+Enter.



Now... in the selected cells you should see one character per cell. One of these will most likely LOOK like a blank cell, but it is not.



Now, select cells C1:C10 and click on the Formula Bar again. This time, paste this formula:



=CODE(B1)


You will confirm this formula differently. Press Control and Enter at the same time.



In column C, you will now see the character codes for each of the characters in column B. What is the code for the cell that looks blank?






share|improve this answer

























  • If it's 32 then this is not even a question.

    – Excel Hero
    Sep 16 '15 at 20:16











  • Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

    – user3777207
    Sep 16 '15 at 21:14











  • OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

    – Excel Hero
    Sep 16 '15 at 21:20






  • 1





    For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

    – user3777207
    Sep 17 '15 at 0:11











  • Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

    – user3777207
    Sep 17 '15 at 2:44


















1














I ran into this problem when exporting data from an external website. I tried trim, clean, trim(substitute), clean(substitute), re-pasting into new worksheet, examining the format of the original cell. Nothing was working. So what I did was examined the parts of the string. In my case it was a 16 digit number stored as a string. using the left function, i returned the leftmost 4 characters. Only 3 of the characters were showing. So I just used the right function to return the rightmost 16 characters and that removed the mysterious invisible leading character.






share|improve this answer
































    1














    This question and the answers above (or below) guided me through solving a problem I had, so I wanted to throw some upvotes and summarize in it's entirety an answer to the OP's original question:



    Step 1: Determine the character code of the mystery character. =UNICODE() used on a single character will give you this code. If you get a #NAME? error, remember to put quotes around the mystery character since it should be entered as a string.



    Tip: Convert the font to Webdings to clearly see all the characters. You will notice characters that are [] (example).



    Step 2: Substitute the mystery character with a visible character, or delete it entirely using:



    =SUBSTITUTE(A1,UNICHAR(x),"y")


    Where x is the code determined in step one, y is what you want to replace it with, and A1 is the location of your problem cell.



    UNICODE and UNICHAR can theoretically be replaced by CODE and CHAR, but in a quick test that I just performed with ♪, I couldn't get them to work.



    There are many alternative methods, especially once you start considering VBA, but the key is in being able to figure out what the mystery character is to begin with.






    share|improve this answer


































      0














      I have same problem. Copy data from the database and when do vlookup, couldn't find the same text. I tried everything, TRIM, RIGHT, LEFT, LEN but still not working. Until I found a solution but I forgot from where I got it and it works for me. I copy the range I want to lookup and paste in Word as Unformatted text. Then, copy back the text and paste in excel with Unformatted text. After done this, the vlookup works fine. Hope it helps. Thanks.






      share|improve this answer
































        0














        Thank you @matt2103. That worked for me. Just to add to his points, do not use code() function. Use only unicode(). I had unicode 8206 - an invisible/mystery character causing value error when applying formula in excel.






        share|improve this answer



























          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f32617535%2fexcel-cell-having-some-invisible-character%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Here is an easy way to find out what your characters are.



          Copy your cell with the 10 characters to a new sheet on cell A1.



          Select cells B1:B10 and click on the Formula Bar at the top of the worksheet and paste this formula:



          =MID(A1,ROW(OFFSET($A$1,,,LEN(A1))),1)


          This is an array formula and must be confirmed with Ctrl+Shift+Enter.



          Now... in the selected cells you should see one character per cell. One of these will most likely LOOK like a blank cell, but it is not.



          Now, select cells C1:C10 and click on the Formula Bar again. This time, paste this formula:



          =CODE(B1)


          You will confirm this formula differently. Press Control and Enter at the same time.



          In column C, you will now see the character codes for each of the characters in column B. What is the code for the cell that looks blank?






          share|improve this answer

























          • If it's 32 then this is not even a question.

            – Excel Hero
            Sep 16 '15 at 20:16











          • Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

            – user3777207
            Sep 16 '15 at 21:14











          • OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

            – Excel Hero
            Sep 16 '15 at 21:20






          • 1





            For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

            – user3777207
            Sep 17 '15 at 0:11











          • Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

            – user3777207
            Sep 17 '15 at 2:44















          2














          Here is an easy way to find out what your characters are.



          Copy your cell with the 10 characters to a new sheet on cell A1.



          Select cells B1:B10 and click on the Formula Bar at the top of the worksheet and paste this formula:



          =MID(A1,ROW(OFFSET($A$1,,,LEN(A1))),1)


          This is an array formula and must be confirmed with Ctrl+Shift+Enter.



          Now... in the selected cells you should see one character per cell. One of these will most likely LOOK like a blank cell, but it is not.



          Now, select cells C1:C10 and click on the Formula Bar again. This time, paste this formula:



          =CODE(B1)


          You will confirm this formula differently. Press Control and Enter at the same time.



          In column C, you will now see the character codes for each of the characters in column B. What is the code for the cell that looks blank?






          share|improve this answer

























          • If it's 32 then this is not even a question.

            – Excel Hero
            Sep 16 '15 at 20:16











          • Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

            – user3777207
            Sep 16 '15 at 21:14











          • OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

            – Excel Hero
            Sep 16 '15 at 21:20






          • 1





            For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

            – user3777207
            Sep 17 '15 at 0:11











          • Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

            – user3777207
            Sep 17 '15 at 2:44













          2












          2








          2







          Here is an easy way to find out what your characters are.



          Copy your cell with the 10 characters to a new sheet on cell A1.



          Select cells B1:B10 and click on the Formula Bar at the top of the worksheet and paste this formula:



          =MID(A1,ROW(OFFSET($A$1,,,LEN(A1))),1)


          This is an array formula and must be confirmed with Ctrl+Shift+Enter.



          Now... in the selected cells you should see one character per cell. One of these will most likely LOOK like a blank cell, but it is not.



          Now, select cells C1:C10 and click on the Formula Bar again. This time, paste this formula:



          =CODE(B1)


          You will confirm this formula differently. Press Control and Enter at the same time.



          In column C, you will now see the character codes for each of the characters in column B. What is the code for the cell that looks blank?






          share|improve this answer













          Here is an easy way to find out what your characters are.



          Copy your cell with the 10 characters to a new sheet on cell A1.



          Select cells B1:B10 and click on the Formula Bar at the top of the worksheet and paste this formula:



          =MID(A1,ROW(OFFSET($A$1,,,LEN(A1))),1)


          This is an array formula and must be confirmed with Ctrl+Shift+Enter.



          Now... in the selected cells you should see one character per cell. One of these will most likely LOOK like a blank cell, but it is not.



          Now, select cells C1:C10 and click on the Formula Bar again. This time, paste this formula:



          =CODE(B1)


          You will confirm this formula differently. Press Control and Enter at the same time.



          In column C, you will now see the character codes for each of the characters in column B. What is the code for the cell that looks blank?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 16 '15 at 20:08









          Excel HeroExcel Hero

          10.8k2 gold badges15 silver badges28 bronze badges




          10.8k2 gold badges15 silver badges28 bronze badges















          • If it's 32 then this is not even a question.

            – Excel Hero
            Sep 16 '15 at 20:16











          • Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

            – user3777207
            Sep 16 '15 at 21:14











          • OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

            – Excel Hero
            Sep 16 '15 at 21:20






          • 1





            For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

            – user3777207
            Sep 17 '15 at 0:11











          • Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

            – user3777207
            Sep 17 '15 at 2:44

















          • If it's 32 then this is not even a question.

            – Excel Hero
            Sep 16 '15 at 20:16











          • Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

            – user3777207
            Sep 16 '15 at 21:14











          • OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

            – Excel Hero
            Sep 16 '15 at 21:20






          • 1





            For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

            – user3777207
            Sep 17 '15 at 0:11











          • Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

            – user3777207
            Sep 17 '15 at 2:44
















          If it's 32 then this is not even a question.

          – Excel Hero
          Sep 16 '15 at 20:16





          If it's 32 then this is not even a question.

          – Excel Hero
          Sep 16 '15 at 20:16













          Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

          – user3777207
          Sep 16 '15 at 21:14





          Excel Hero: I followed your instructions and the first cell B1 appears blank and the code C1 is 63. How does that help?

          – user3777207
          Sep 16 '15 at 21:14













          OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

          – Excel Hero
          Sep 16 '15 at 21:20





          OK. Now do it again, but this time use a slightly different formula in column C: =UNICODE(B1) What is the code then?

          – Excel Hero
          Sep 16 '15 at 21:20




          1




          1





          For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

          – user3777207
          Sep 17 '15 at 0:11





          For the cell that showed 63 (the mysterious blank cell) the unicode is 54. I would also like to point out that the next cell having alphabet C had code as 67 but the unicode for that cell is 54 as well.

          – user3777207
          Sep 17 '15 at 0:11













          Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

          – user3777207
          Sep 17 '15 at 2:44





          Ok I finally got it.. not quite.. but I was able to get what I wanted to do.. I had used power query which is an excel add in to import a bunch of text files (8000+) into excel. I noticed that if I right click on the file content column which is originally represented by value "Binary" and click on convert to text and then load the data the length of the cell in question is 9 which is accurate. Thank you all.

          – user3777207
          Sep 17 '15 at 2:44













          1














          I ran into this problem when exporting data from an external website. I tried trim, clean, trim(substitute), clean(substitute), re-pasting into new worksheet, examining the format of the original cell. Nothing was working. So what I did was examined the parts of the string. In my case it was a 16 digit number stored as a string. using the left function, i returned the leftmost 4 characters. Only 3 of the characters were showing. So I just used the right function to return the rightmost 16 characters and that removed the mysterious invisible leading character.






          share|improve this answer





























            1














            I ran into this problem when exporting data from an external website. I tried trim, clean, trim(substitute), clean(substitute), re-pasting into new worksheet, examining the format of the original cell. Nothing was working. So what I did was examined the parts of the string. In my case it was a 16 digit number stored as a string. using the left function, i returned the leftmost 4 characters. Only 3 of the characters were showing. So I just used the right function to return the rightmost 16 characters and that removed the mysterious invisible leading character.






            share|improve this answer



























              1












              1








              1







              I ran into this problem when exporting data from an external website. I tried trim, clean, trim(substitute), clean(substitute), re-pasting into new worksheet, examining the format of the original cell. Nothing was working. So what I did was examined the parts of the string. In my case it was a 16 digit number stored as a string. using the left function, i returned the leftmost 4 characters. Only 3 of the characters were showing. So I just used the right function to return the rightmost 16 characters and that removed the mysterious invisible leading character.






              share|improve this answer













              I ran into this problem when exporting data from an external website. I tried trim, clean, trim(substitute), clean(substitute), re-pasting into new worksheet, examining the format of the original cell. Nothing was working. So what I did was examined the parts of the string. In my case it was a 16 digit number stored as a string. using the left function, i returned the leftmost 4 characters. Only 3 of the characters were showing. So I just used the right function to return the rightmost 16 characters and that removed the mysterious invisible leading character.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 4 '16 at 19:14









              Jason CarpenterJason Carpenter

              111 bronze badge




              111 bronze badge
























                  1














                  This question and the answers above (or below) guided me through solving a problem I had, so I wanted to throw some upvotes and summarize in it's entirety an answer to the OP's original question:



                  Step 1: Determine the character code of the mystery character. =UNICODE() used on a single character will give you this code. If you get a #NAME? error, remember to put quotes around the mystery character since it should be entered as a string.



                  Tip: Convert the font to Webdings to clearly see all the characters. You will notice characters that are [] (example).



                  Step 2: Substitute the mystery character with a visible character, or delete it entirely using:



                  =SUBSTITUTE(A1,UNICHAR(x),"y")


                  Where x is the code determined in step one, y is what you want to replace it with, and A1 is the location of your problem cell.



                  UNICODE and UNICHAR can theoretically be replaced by CODE and CHAR, but in a quick test that I just performed with ♪, I couldn't get them to work.



                  There are many alternative methods, especially once you start considering VBA, but the key is in being able to figure out what the mystery character is to begin with.






                  share|improve this answer































                    1














                    This question and the answers above (or below) guided me through solving a problem I had, so I wanted to throw some upvotes and summarize in it's entirety an answer to the OP's original question:



                    Step 1: Determine the character code of the mystery character. =UNICODE() used on a single character will give you this code. If you get a #NAME? error, remember to put quotes around the mystery character since it should be entered as a string.



                    Tip: Convert the font to Webdings to clearly see all the characters. You will notice characters that are [] (example).



                    Step 2: Substitute the mystery character with a visible character, or delete it entirely using:



                    =SUBSTITUTE(A1,UNICHAR(x),"y")


                    Where x is the code determined in step one, y is what you want to replace it with, and A1 is the location of your problem cell.



                    UNICODE and UNICHAR can theoretically be replaced by CODE and CHAR, but in a quick test that I just performed with ♪, I couldn't get them to work.



                    There are many alternative methods, especially once you start considering VBA, but the key is in being able to figure out what the mystery character is to begin with.






                    share|improve this answer





























                      1












                      1








                      1







                      This question and the answers above (or below) guided me through solving a problem I had, so I wanted to throw some upvotes and summarize in it's entirety an answer to the OP's original question:



                      Step 1: Determine the character code of the mystery character. =UNICODE() used on a single character will give you this code. If you get a #NAME? error, remember to put quotes around the mystery character since it should be entered as a string.



                      Tip: Convert the font to Webdings to clearly see all the characters. You will notice characters that are [] (example).



                      Step 2: Substitute the mystery character with a visible character, or delete it entirely using:



                      =SUBSTITUTE(A1,UNICHAR(x),"y")


                      Where x is the code determined in step one, y is what you want to replace it with, and A1 is the location of your problem cell.



                      UNICODE and UNICHAR can theoretically be replaced by CODE and CHAR, but in a quick test that I just performed with ♪, I couldn't get them to work.



                      There are many alternative methods, especially once you start considering VBA, but the key is in being able to figure out what the mystery character is to begin with.






                      share|improve this answer















                      This question and the answers above (or below) guided me through solving a problem I had, so I wanted to throw some upvotes and summarize in it's entirety an answer to the OP's original question:



                      Step 1: Determine the character code of the mystery character. =UNICODE() used on a single character will give you this code. If you get a #NAME? error, remember to put quotes around the mystery character since it should be entered as a string.



                      Tip: Convert the font to Webdings to clearly see all the characters. You will notice characters that are [] (example).



                      Step 2: Substitute the mystery character with a visible character, or delete it entirely using:



                      =SUBSTITUTE(A1,UNICHAR(x),"y")


                      Where x is the code determined in step one, y is what you want to replace it with, and A1 is the location of your problem cell.



                      UNICODE and UNICHAR can theoretically be replaced by CODE and CHAR, but in a quick test that I just performed with ♪, I couldn't get them to work.



                      There are many alternative methods, especially once you start considering VBA, but the key is in being able to figure out what the mystery character is to begin with.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jul 27 at 19:37









                      kynan

                      8,9315 gold badges61 silver badges76 bronze badges




                      8,9315 gold badges61 silver badges76 bronze badges










                      answered Feb 15 '18 at 21:56









                      matt2103matt2103

                      1361 silver badge12 bronze badges




                      1361 silver badge12 bronze badges
























                          0














                          I have same problem. Copy data from the database and when do vlookup, couldn't find the same text. I tried everything, TRIM, RIGHT, LEFT, LEN but still not working. Until I found a solution but I forgot from where I got it and it works for me. I copy the range I want to lookup and paste in Word as Unformatted text. Then, copy back the text and paste in excel with Unformatted text. After done this, the vlookup works fine. Hope it helps. Thanks.






                          share|improve this answer





























                            0














                            I have same problem. Copy data from the database and when do vlookup, couldn't find the same text. I tried everything, TRIM, RIGHT, LEFT, LEN but still not working. Until I found a solution but I forgot from where I got it and it works for me. I copy the range I want to lookup and paste in Word as Unformatted text. Then, copy back the text and paste in excel with Unformatted text. After done this, the vlookup works fine. Hope it helps. Thanks.






                            share|improve this answer



























                              0












                              0








                              0







                              I have same problem. Copy data from the database and when do vlookup, couldn't find the same text. I tried everything, TRIM, RIGHT, LEFT, LEN but still not working. Until I found a solution but I forgot from where I got it and it works for me. I copy the range I want to lookup and paste in Word as Unformatted text. Then, copy back the text and paste in excel with Unformatted text. After done this, the vlookup works fine. Hope it helps. Thanks.






                              share|improve this answer













                              I have same problem. Copy data from the database and when do vlookup, couldn't find the same text. I tried everything, TRIM, RIGHT, LEFT, LEN but still not working. Until I found a solution but I forgot from where I got it and it works for me. I copy the range I want to lookup and paste in Word as Unformatted text. Then, copy back the text and paste in excel with Unformatted text. After done this, the vlookup works fine. Hope it helps. Thanks.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Nov 3 '17 at 7:40









                              Hashima KhanHashima Khan

                              1




                              1
























                                  0














                                  Thank you @matt2103. That worked for me. Just to add to his points, do not use code() function. Use only unicode(). I had unicode 8206 - an invisible/mystery character causing value error when applying formula in excel.






                                  share|improve this answer





























                                    0














                                    Thank you @matt2103. That worked for me. Just to add to his points, do not use code() function. Use only unicode(). I had unicode 8206 - an invisible/mystery character causing value error when applying formula in excel.






                                    share|improve this answer



























                                      0












                                      0








                                      0







                                      Thank you @matt2103. That worked for me. Just to add to his points, do not use code() function. Use only unicode(). I had unicode 8206 - an invisible/mystery character causing value error when applying formula in excel.






                                      share|improve this answer













                                      Thank you @matt2103. That worked for me. Just to add to his points, do not use code() function. Use only unicode(). I had unicode 8206 - an invisible/mystery character causing value error when applying formula in excel.







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Mar 27 at 6:51









                                      PalPal

                                      297 bronze badges




                                      297 bronze badges






























                                          draft saved

                                          draft discarded
















































                                          Thanks for contributing an answer to Stack Overflow!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid


                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.

                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f32617535%2fexcel-cell-having-some-invisible-character%23new-answer', 'question_page');

                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                                          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                                          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript