作者:比熊--悉尼 | 来源:互联网 | 2023-05-18 18:43
I have a 7702216772
number inside a cell. If I put a '
before the fist digit and click Enter
Excel
transforms the number to a text and puts a green triangle at the left top of the cell:
我在一个单元格中有一个7702216772号码。如果我在第一个数字之前输入一个并单击Enter Excel将数字转换为文本并在单元格的左上角放置一个绿色三角形:
I have many rows of similar numbers all of which need to be transformed into text. However clicking each and adding '
before the first symbol and clicking Enter
would take a lot of time. Is there any way to do it programatically?
我有许多相似数字的行,所有这些都需要转换成文本。但是,单击每个并在第一个符号之前添加'并单击Enter将花费大量时间。有没有办法以编程方式进行?
I tried using formula: ="'"&H4
but it doesn't do what's expected - the green triangle never appears on the result cell.
我尝试使用公式:=“'”&H4但它没有做到预期的结果 - 绿色三角形永远不会出现在结果单元格中。
I also tried setting cell format to Text, but the green triangle doesn't appear in that case too.
我也尝试将单元格格式设置为Text,但在这种情况下也不会出现绿色三角形。
I need the green triangle to appear at the upper left corner, just like at the picture!
我需要绿色三角形出现在左上角,就像在图片中一样!
4 个解决方案