前导零后导零_如何强制Microsoft Excel显示前导零

前导零后导零

前导零后导零

By default, Excel doesn’t show the leading zero in any non-decimal numerical data set. But if you need to show the leading zero — usually because of some weird numbering system at your job, it’s easy to keep that zero in its place.

默认情况下,Excel在任何非十进制数字数据集中均不显示前导零。 但是,如果您需要显示前导零,通常是由于工作中使用了一些怪异的编号系统,那么很容易将零保留在原位。

In any individual Excel document, select one of more cells (or a whole column or row), and then Ctrl+1 to open the “Format Cells” menu. (MacOS users, use the Command+1 instead.)

在任何单独的Excel文档中,选择一个或多个单元格(或整个列或整个行),然后按Ctrl + 1打开“设置单元格格式”菜单。 (MacOS用户,请改用Command + 1。)

In the Format Cells window, on the “Number” tab, select the “Custom” entry in the Category list. In the “Type” field on the right, type zeroes indicating the number of digits you want displayed. For example, if you always want to see four digits, type “0000” into the field.

在“设置单元格格式”窗口中的“数字”选项卡上,在“类别”列表中选择“自定义”条目。 在右侧的“类型”字段中,键入零以指示要显示的位数。 例如,如果您始终希望看到四位数,请在该字段中键入“ 0000”。

You’ll have to manually add decimal places, too. For example, if you’re listing payments up to $500 that include cents, you need to specify your custom value as 000.00 to avoid rounding to the nearest dollar.

您还必须手动添加小数位。 例如,如果要列出最多500美元的付款(包括美分),则需要将自定义值指定为000.00,以避免四舍五入到最接近的美元。

Formatting changes are applied to the cells you selected. Repeat this process as many times as you need in a single sheet or workbook—different cells or groups of cells can use different number formatting on the same sheet.

格式更改将应用​​于您选择的单元格。 在单个工作表或工作簿中根据需要重复此过程多次-不同的单元格或单元格组可以在同一工作表上使用不同的数字格式。

翻译自: https://www.howtogeek.com/349767/how-to-force-microsoft-excel-to-show-leading-zeroes/

前导零后导零

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值