Leading "0"s Zeros in numbering items

Occasional Visitor

We have thousands of items that need to be assigned locations that are in a sequence from 01 to 19.  E.g., we have location A-01 through location A-19 and then need to increment to B-01 through B19 and so on. To maintain location number standardization, we must include the leading zero for locations that are less than 10 BUT in order for me to use a formula to create the locations, I also need to perform math on the location numbers.  If I convert the cell to text format, it won't use the formula; if I leave the cell as "General" or Number (with no decimals), it truncates the leading zero.  If I put a text "0" in A1 as a  reference cell and try to use =IF(C2<9,$A$1&(C2+1),C2+1) in cell C3, it deletes the leading zero.  Replicating the formula down the column only makes it work for every other row.


I've looked through all the formatting possibilities and tried multiple different formula approaches but none have thus far kept the leading zero.

1 Reply


That's either with number format 00:



Or with number format General: