Skip to content

Instantly share code, notes, and snippets.

@mattclements
Created April 11, 2012 11:19
Show Gist options
  • Save mattclements/2358703 to your computer and use it in GitHub Desktop.
Save mattclements/2358703 to your computer and use it in GitHub Desktop.
Excel Pad with Leading 0's
#Account Number
=REPT(0,8-LEN(A1))&A1
#Sort Code
=REPT(0,6-LEN(A1))&A1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment