View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135 via135 is offline
external usenet poster
 
Posts: 94
Default rearranging_names

On Apr 3, 11:21*pm, Teethless mama
wrote:
Try this:

=LEFT(TRIM(RIGHT(SUBSTITUTE(A1,".",REPT("
",99)),99))&"."&A1,LEN(A1)+(COUNTIF(A1,"*.*") 0))

"via135" wrote:
hi all!


i am having names in COL -A
all begining with intials followed by the name
and some names without initials as under:


M.GUPTA
C.K.S.BANERJEE
RAMAN
M.M.K.S.MOHAN
L.T.PRABA
S.LAL


and so on..!


what i want is to rearrange
the names to begin with the name
followed by initials..like


GUPTA.M.
BANERJEE.C.K.S.
RAMAN
MOHAN.M.M.K.S.
PRABA.L.T.
LAL.S.


so that it would be easier for
sorting the names..!
any help please?


-via135
.


hello Teethless mama..!
i am getting the result like this...

M
C
R
M
L
S