Step-by-Step Tutorial on Forcing Microsoft Excel to Preserve and Display Leading Zeroes

Step-by-Step Tutorial on Forcing Microsoft Excel to Preserve and Display Leading Zeroes

Christopher Lv12

Step-by-Step Tutorial on Forcing Microsoft Excel to Preserve and Display Leading Zeroes

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.

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.)

img_5ad9d9030bc9b

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.

img_5ad9d95fc9c58

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.

img_5ad9d9996a6f6

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.

  • Title: Step-by-Step Tutorial on Forcing Microsoft Excel to Preserve and Display Leading Zeroes
  • Author: Christopher
  • Created at : 2024-08-28 05:41:48
  • Updated at : 2024-08-29 05:41:48
  • Link: https://win-blog.techidaily.com/step-by-step-tutorial-on-forcing-microsoft-excel-to-preserve-and-display-leading-zeroes/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Step-by-Step Tutorial on Forcing Microsoft Excel to Preserve and Display Leading Zeroes