I need to take a # like 55 and have it reproduce '0055 . I have some examples where I do not need the leading zeros but if there is not 4 numerical characters I need zeros as fillers. Any help would be greatly appreciated.
I need to take a # like 55 and have it reproduce '0055 . I have some examples where I do not need the leading zeros but if there is not 4 numerical characters I need zeros as fillers. Any help would be greatly appreciated.
Format the cells as Custom (from Number tab) and enter: 0000
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
For some reason that did not work I think I need a formula that makes it look like it a number as a text where it has the green triangle in the left hand corner?
Select your cell go to Formats > Custom > enter 0000
If the cell you've just formated is a formula referncing another cell you have formatted to text it wont work.
If you want a formula and the original number is in A1, then in another cell.
=TEXT(A1,"0000")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks