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 ?

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.

1 Like

@Manish_Jain1

Like this?

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

I think this should work, Let me try.

1 Like