excel 以万为单位的设置方法,分别是通过设置单元格格式、公式和VBA实现转换excel 以万为单位
时间:2022-06-28 20:47:37
excel 以万为单位在平时工作,做一些统计也是很常用的。下面总结几种设置excel 以万为单位的方法。
excel 以万为单位方法一:VBA
Sub以万为单位()
Selection.NumberFormatLocal = "#"".""#,万元"
End Sub
按ALT+F11,打开VBE编辑器,插入——模块,复制上面的代码,然后在工作表中选中需要设置的数据单元格,执行上面的宏。
excel 以万为单位方法二:单元格格式
选中需要设置的单元格,按ctrl+1,打开单元格格式对话框,设置如下:
0!.0000或者0"."0000是4位小数。0!.0, 是1位小数。
excel 以万为单位方法二:text函数
TEXT(A1*10,"0!.00,"),这样可以保留2位小数。
或者=A1/10000&"万",保留四位。
excel 以万为单位的设置方法,分别是通过设置单元格格式、公式和VBA实现转换excel 以万为单位的下载地址:
标签:excel以万为单位的设置方法
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10电脑怎么关闭数字签名?Win10关闭数字签名方法
2022-11-13 07:59:51
![](https://img.aspxhome.com/file/2023/3/52453_0s.png)
Word文档中千分号怎么打?
2023-11-28 11:46:46
![](https://img.aspxhome.com/file/2023/5/17845_0s.jpg)
iOS 15 细节设置:支持查看照片属性、修改拍摄时间
2023-09-11 03:45:52
![](https://img.aspxhome.com/file/2023/5/45605_0s.png)
Word2007:巧用书签功能准确定位
2022-09-01 17:48:36
![](https://img.aspxhome.com/file/2023/6/25076_0s.jpg)
WPS2016外侧框线如何设置
2023-10-16 22:44:15
![](https://img.aspxhome.com/file/2023/3/a163653_0s.jpg)
word文档巧替换(空行替换.空格替换.软回车替换成硬回车)
2023-12-13 08:04:02
word如何批量设置图片大小
2023-06-05 10:58:33
Excel文件越用越大怎么办?几个小妙招,不再为文件大小烦心
2022-10-16 18:34:19
![](https://img.aspxhome.com/file/2023/1/a140071_0s.jpg)
Win10怎么玩红警2共和国之辉?Win10玩红警2共和国之辉设置教程
2022-10-26 20:48:00
![](https://img.aspxhome.com/file/2023/1/52551_0s.png)
Win10系统怎么快速关机?Win10快速关机的3种方法
2023-05-22 07:00:50
![](https://img.aspxhome.com/file/2023/8/52438_0s.png)
添加饼图
2022-12-21 17:57:01
![](https://img.aspxhome.com/file/2023/0/a143460_0s.png)
如何使用键盘操作Word文档?
2023-11-29 00:39:50
![](https://img.aspxhome.com/file/2023/8/18418_0s.jpg)
Win10系统开机密码忘了怎么办没有u盘?
2023-06-25 12:59:32
![](https://img.aspxhome.com/file/2023/9/52589_0s.jpg)
word 撤销和恢复功能使用教程
2022-05-07 02:29:24
![](https://img.aspxhome.com/file/2023/0/33130_0s.jpg)
word字体工具区域内有哪些功能?
2023-03-04 19:36:52
![](https://img.aspxhome.com/file/2023/1/28961_0s.jpg)
怎样去掉word文档页眉下的横线
2022-11-23 23:28:30
![](https://img.aspxhome.com/file/2023/9/22009_0s.jpg)
Excel数字变成井号怎么办?Excel数字变成井号的解决方法
2023-06-15 11:02:36
![](https://img.aspxhome.com/file/2023/6/a153176_0s.jpg)
如何查看你所使用的 Office 版本?
2023-11-10 13:20:21
![](https://img.aspxhome.com/file/2023/0/16760_0s.jpg)
Win10系统的C盘如何扩大?Win10系统的C盘扩大的方法
2022-10-25 19:15:55
![](https://img.aspxhome.com/file/2023/1/52331_0s.jpg)
Word文档怎么快速对齐所有图片 Word文档快速对齐所有图片方法
2023-09-24 11:31:25
![](https://img.aspxhome.com/file/2023/0/22560_0s.jpg)