Excel – How to zero fill a number inside of an Excel cell

excelformattingworksheet-function

How do you zero fill a number to 10 positions inside an excel spreadsheet?

i.e. If cell A1 has 1234 how can cell A2 display 0000001234 (10 postions).

Best Solution

=TEXT(A1,"0000000000")