convert bullet numbers to a integer in excel -
i required convert bullet number in 1 column of excel integer:
here example i'm trying show:
3 = 3000000 3.1 = 3010000 3.1.1 = 3010100 3.1.1.1 = 3010101 10.1 = 10010000
i'm having issues because bullets not have same number of characters.
substitute commands replace or none. there in-line way convert bullets numbers this?
thanks.
not ideal answer - i'm sure there's better ways, using dev1998 explanation work:
=substitute(a1,".","0") & rept("0",choose(len(a1)-len(substitute(a1,".",""))+1,6,4,2,0))
broken down separate functions:
replace decimal point 0:
in c1: =substitute(a1,".","0")
how many trailing zeros:
in d1 =choose(len(a1)-len(substitute(a1,".",""))+1,6,4,2,0)
trailing zeros:
in e1: =rept("0",d1)
stick together:
in f1: = c1 & e1
Comments
Post a Comment