简体   繁体   English

删除Excel中的不可见字符

[英]removing invisible character in excel

I notice in my excel I have an extra space in random places. 我注意到在我的Excel中,我在随机位置有一个额外的空间。 So I copy the value and save it in notepad++. 因此,我复制了该值并将其保存在notepad ++中。 then I open using HEX Editor. 然后我使用HEX编辑器打开。 so I found out it is actually not a space (HEX 20) 所以我发现它实际上不是空格(十六进制20)

So the blank space is actually HEX C2. 因此,空格实际上是十六进制C2。 which is  But in excel this is invisible. 但是,在excel中这是不可见的。

I am using Excel 2016 我正在使用Excel 2016

How can I get rid of this? 我该如何摆脱呢?

they are scattered randomly ... thank you 它们是随机散落的...谢谢

Try using substitute with char formula to remove the extra space. 尝试使用带有char公式的替代项来删除多余的空间。 I guess you have to use char(160) which is blank space. 我猜你必须使用char(160)这是空白。

=SUBSTITUTE("Cell Reference",CHAR(160),"")

If you dont know the code you can use below formula to get the char code of your blank text. 如果您不知道该代码,则可以使用以下公式获取空白文本的字符代码。

=CODE(RIGHT("Your Cell",1))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM