excel 如何快速清除金额前面的多个零
时间:2023-02-23 01:21:18
从截图大概可以判断出,这些数据应该是系统导出到Excel导致的。
所以具体应该是看Excel的编辑栏。如下图箭头处。
说明单元格内的数字其实是文本格式,选中单元格,按ctrl+1进去检查,发现确实为文本。
虽然能够发现这个问题,但如果直接将其改为数值或常规是无法将文本型数字转化成数值的。如下动图。
那如果碰到这类问题怎么办呢?大部分想到的是分列或者是left,mid,right函数来搞定,这些方法其实都不错。但群里office达人的这个方法确定是一个新的良方。
没错,就是输入 =--C3 。那这前面两个减号是啥意思,其实Excel强制对文本数字进行数值化计算,将文本转换成数字的一种方法。也算是一个偏方,所以后看到公式的等号前面看到两个减号,千万别理解成是负负得正哈。
对于社群小伙伴这个问题,在进一步操作就简单了。
在自定义格式中设置 000!.00 的自定义代码,就可以实现小数点两位的表达。
看下图动图操作。
当然我们office达人提供的方法也不错,利用/100的方法,也能实现这样的效果。
总结:公式前面的—符号是为了转换成数值,大家碰到一定要试试。
标签:excel清除金额前面的多个零
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在Word2007中通过隐藏图片来提高浏览速度
2023-11-28 06:48:10
![](https://img.aspxhome.com/file/2023/3/18053_0s.jpg)
通过《PPT演说之禅》来领悟PPT的精髓之处
2022-06-15 05:32:55
win10正式版什么时候发布?win10rtm版或六月份正式发布
2022-09-07 11:20:43
![](https://img.aspxhome.com/file/2023/29/a251807_0s.jpg)
Win11麦克风没有声音怎么办?Win11麦克风没有声音的解决方法
2022-07-06 20:57:07
![](https://img.aspxhome.com/file/2023/27/a236778_0s.jpg)
wps表格怎样制作面积图
2022-12-24 04:39:20
16寸 MacBook Pro 体验:近年来最「对」的一次更新
2022-05-05 22:10:09
XP系统设置屏保密码后不起作用怎么处理?
2023-01-29 16:59:06
![](https://img.aspxhome.com/file/2023/4/a309352_0s.jpg)
Wps文字中隐藏页面间的空白的方法
2022-05-28 20:33:20
![](https://img.aspxhome.com/file/2023/8/a169148_0s.jpg)
在Word2010中将公式保存到公式库
2023-11-07 06:06:51
![](https://img.aspxhome.com/file/2023/0/21600_0s.jpg)
Win10系统C盘WinSXS文件夹占用内存很大要如何清理?
2022-03-28 23:32:35
![](https://img.aspxhome.com/file/2023/26/a223327_0s.jpg)
电脑版wps表格如何设置页边距
2023-03-11 18:03:48
![](https://img.aspxhome.com/file/2023/5/a183885_0s.png)
excel表格内如何设置文字居中
2023-02-22 12:13:48
Win10系统玩剑灵卡顿怎么解决?
2023-09-28 07:35:12
![](https://img.aspxhome.com/file/2023/4/a312319_0s.jpg)
Win11 Excel变成英文了?Win11 Excel变成英文修改回去解决办法
2022-03-07 02:14:26
![](https://img.aspxhome.com/file/2023/1/a281712_0s.png)
Windows10怎么开启系统开机音乐?
2023-11-18 16:36:51
![](https://img.aspxhome.com/file/2023/5/49955_0s.png)
Excel2019怎么制作直方图?Excel2019直方图制作教程
2023-08-22 09:16:49
![](https://img.aspxhome.com/file/2023/5/39865_0s.jpg)
C盘清理软件哪个好用_C盘清理好用软件的选择教程
2023-01-12 17:08:14
![](https://img.aspxhome.com/file/2023/2/a286188_0s.jpg)
Acronis Disk Director安装破解教程
2023-11-26 08:30:11
![](https://img.aspxhome.com/file/2023/8/a339565_0s.jpg)
Axure RP 教程「16」,如何在 Axure RP 中添加元件库?
2022-04-21 21:13:38
![](https://img.aspxhome.com/file/2023/4/a202234_0s.jpeg)
供不应求,苹果 MacBook Pro 14/16 机型延期至2022年发货
2022-12-27 02:11:53
![](https://img.aspxhome.com/file/2023/9/a204029_0s.png)