shrinivasmj
Board Regular
- Joined
- Aug 29, 2012
- Messages
- 140
if i run this formula i need the output with out space after dot , if input is without space,
if there is space after dot in input ,then out put is with space after dot.
need to change the formula as it give all space after dot .
=UPPER(MID(TRIM(SUBSTITUTE(A1,".",". "))&","&TRIM(SUBSTITUTE(A1,".",". ")),FIND("$",SUBSTITUTE(TRIM(SUBSTITUTE(A1,".",". "))," ","$",LOOKUP(LEN(TRIM(SUBSTITUTE(A1,".",". ")))-LEN(SUBSTITUTE(TRIM(A1)," ",""))+1,{0,4,6},(LEN(TRIM(SUBSTITUTE(A1,".",". ")))-LEN(SUBSTITUTE(SUBSTITUTE(A1,".",". ")," ","")))-{0,1,2})))+1,LEN(TRIM(SUBSTITUTE(A1,".",". ")))))
*.input srinivas , out put is blank . its not taking single word.
*.input srinivas m.j.k ,out put J. K,SRINIVAS M. , if the input is without space after dot. then the out should come with out space as --J.K,SRINIVAS M.
if there is space after dot in input ,then out put is with space after dot.
need to change the formula as it give all space after dot .
=UPPER(MID(TRIM(SUBSTITUTE(A1,".",". "))&","&TRIM(SUBSTITUTE(A1,".",". ")),FIND("$",SUBSTITUTE(TRIM(SUBSTITUTE(A1,".",". "))," ","$",LOOKUP(LEN(TRIM(SUBSTITUTE(A1,".",". ")))-LEN(SUBSTITUTE(TRIM(A1)," ",""))+1,{0,4,6},(LEN(TRIM(SUBSTITUTE(A1,".",". ")))-LEN(SUBSTITUTE(SUBSTITUTE(A1,".",". ")," ","")))-{0,1,2})))+1,LEN(TRIM(SUBSTITUTE(A1,".",". ")))))
*.input srinivas , out put is blank . its not taking single word.
*.input srinivas m.j.k ,out put J. K,SRINIVAS M. , if the input is without space after dot. then the out should come with out space as --J.K,SRINIVAS M.