In today’s tutorial, we’re gonna have a look at two most common ways how to add leading zeros in Excel. The first one will help when you’re yet about to enter data into a table, the other one is handy when there already are figures in the table and you only need to add leading zeros to these numbers.
Let’s start!
Would you rather watch this tutorial? Click the play button below!
When you need to enter data starting with zero in an Excel table, the leading zeros get automatically removed in Excel and eventually, only the number itself shows in the cells.
But there are at least two ways to sort this out. The first one can be applied before the numbers are entered into the table cells. In this case, you can simply format the cells as Text.
Here’s how.
Select the cells with which you’re gonna work, then right-click and choose the option Format Cells. In the Category field, select Text and click on OK.
When you insert leading zeros to the numbers in the table now, Excel will keep them in the same format as you entered.
Now, as soon as we’re done adding the leading zeros, Excel marks each cell with this little green triangle in the corner.
This way, you’re being notified that there are numbers in the cells, but they’ve been formatted as text.
Since we’ve done this on purpose, we can click on this mark, select Ignore Error and carry on at work.
And here’s the second simple way to display leading zeros before numbers in cells. In this case, the numbers are already in the table, so the cells are not blank.
Again, select the area containing the data and use a right-click to select ‘Format Cells’.
This time, instead of choosing Text, select Custom. In the field above, enter as many zeros as is the count of digits you want the cells with the numbers to display.
For example, I want these cells to display four-digit numbers, so I enter four zeros and then press OK.
Excel’s now added as many zeros in front of the numbers as needed to make all figures show four digits (along with the leading zeros).
Don’t miss out a great opportunity to learn:
If you found this tutorial helpful, give us a like and watch other video tutorials by EasyClick Academy. Learn how to use Excel in a quick and easy way!
Is this your first time on EasyClick? We’ll be more than happy to welcome you in our online community. Hit that Subscribe button and join the EasyClickers!
Thanks for watching and I’ll see you in the next tutorial!