Hi all,
I have this SharePoint list, now I want to create the prefix '0000' for the UniqueID from ID.
Example:
If the ID is 1, I want the Unique ID to become 0001
If the ID is 10, UniqueID becomes 0010,
If the ID is 100, UniqueID becomes 0100,
If the ID is 1000, UniqueID becomes 1000,
I did some research about this, I tried these 2 formulas that I already put inside the SharePoint list column formula for calculated
=TEXT(ID, "0000")
=CONCATENATE([Field value],REPT("0",MAX(0,4-LEN(ID))),ID)
But somehow the formula keeps on changing when I refresh or create a new item. Sometimes it will appear 0009 instead of 9, but sometimes it will appear 0000, sometimes it will appear 0, and sometimes It will appear 9 every time I refresh
I also use this calculation
=RIGHT(CONCATENATE("0000",ID),4)
But as you can see, it will appear 0000 (bottom)
Do you have any other way on how to solve it?
thanks!