putting digit between digits in Excel -


in country bank account number has secondary key named sheba, , there formula calculate sheba account number.

for example if account number 801-800-125954-1, sheba of number ir0008010080000125954001.

as can see, changing account number sheba has been done putting handful of 0 between account number's digits (however it's not simple).

so, want write formula in excel can put 0 - or other digit - between our number of customer accounts.
mean, write function in it's input number , output same number plus digit between number

if can split string after each '-', can pad each 1 appropriatz number of '0'.
se "add leading zeroes/0's existing excel values length" (using text)

801 become "ir"+text("800","000000")

http://jasonwhurley.files.wordpress.com/2012/02/padnumbertoleft.jpg?w=595


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -