Hello!
I have a column with zip codes that don't have the leading zeros. I can't use a simple Padleft ([ZIP],5, '0') because some are only 3 digits 167 missing the leading zeros and some of them have the additional 4 digits, but missing the leading zeros - for example 9072523 that should be 009072523
Suggestion for the best way to account for both situations?
Thank you!
Kim
Solved! Go to Solution.
@kas - could you give us some sample zip codes and how they are currently structured in your data, and what the output needs to look like? It'll help the community get you exactly what you need.
Curent
9072523
731
730
9367113
9695331
9111238
9023557
921
Should be
009072523
00731
00730
009367113
009695331
009111238
00902357
00921
Thanks!
This works perfectly!
Thanks so much!
Thanks @kas. @MarqueeCrew's already posted a solution.