Create user id fm LName, FName

  • Thread starter Thread starter sjs
  • Start date Start date
S

sjs

I have a single column for people's full name (Last Name, First Name ex
Samson, Steve). I'd like to extract the person's first initial and last name
to create a user id (ssamson).

Any help for the function would be appreciated!

tks,
steve
 
This will do what you asked...

=LOWER(LEFT(MID(A1,FIND(",",A1)+2,1)&A1,FIND(",",A1)))

But, I have a friend whose last name contains a space (Della Rossa)... if he
was in your list, I'm guessing you would not want the space to appear in
your user ID, so consider using this more universal modification to the
above formula...

=SUBSTITUTE(LOWER(LEFT(MID(A1,FIND(",",A1)+2,1)&
A1,FIND(",",A1)))," ","")

Rick
 
Back
Top