monkeylizard
MIS
I have a field in Excel that must be 12 characters long. If the value is less than 12 characters, it needs to zero fill on the left.
I created a Custom format of 000000000000 and it does the trick. On the worksheet, the value displays with leading zeroes. Example: 123456 displays as 000000123456. When I select the cell, the actual value (displayed in the formula bar) is still 123456.
Question:
Is there a way to actually convert 123456 into 000000123456 and not strip the leading zeroes from the Formula bar? I need Excel to actually make the value 000000123456, not just a masked 123456.
Monkeylizard
If I had only known, I would have been a locksmith. -Albert Einstein-
I created a Custom format of 000000000000 and it does the trick. On the worksheet, the value displays with leading zeroes. Example: 123456 displays as 000000123456. When I select the cell, the actual value (displayed in the formula bar) is still 123456.
Question:
Is there a way to actually convert 123456 into 000000123456 and not strip the leading zeroes from the Formula bar? I need Excel to actually make the value 000000123456, not just a masked 123456.
Monkeylizard
If I had only known, I would have been a locksmith. -Albert Einstein-