Digits Formula gone wrong

Hello,

I am using formula RIGHT((โ€œ0000โ€ & A3),4) in one of my fields to convert , say,

4 to 0004
55 to 0055
and likewise

but the problem is its converting numbers like 54321 to 4321. Which is what I dont want. Any solution ?

0 3 119
3 REPLIES 3

Just use Text([your number field],โ€œ0000โ€)โ€ฆor more zeros if your number goes higher than 9999

Actually I havenโ€™t tested this, but Iโ€™m sure it will work.

@Manish_Jain1

Like this?

IF(LEN(TEXT([Number]))>4,
TEXT([Number]),
RIGHT("0000" & TEXT([Number]),4)
)

I think this should work, Let me try.

Top Labels in this Space