I have a column with the data as "First Last". I want to convert it into "FirstLa"
I have a column with the data as "First Last". I want to convert it into "FirstLa"
With your data starting in A1, this in B1 copied down:
=SUBSTITUTE(LEFT(A1,FIND(" ",A1)+2)," ","")
Excel 2016 (Windows) 32 bit
A B 1Anna Richardson AnnaRi 2Peter Jones PeterJo 3William Ellis WilliamEl 4Arthur Dent ArthurDe 5Tilly Barnes TillyBa
Sheet: Sheet1
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
A bit shorter formula
Formula:Please Login or Register to view this content.
v A B 1 Anna RichardsonAnnaRi AnnaRi 2 Peter JonesPeterJo PeterJo 3 William EllisWilliamEl WilliamEl 4 Arthur DentArthurDe ArthurDe 5 Tilly BarnesTillyBa TillyBa
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Alex - why do you think the data in column A looks like that? The OP said it is First Last, so I don't believe your formula will work.
Lol! I didn't realized that your original post (is original post)
Sorry for confusion my apologies
Formula:Please Login or Register to view this content.
I guessed that's what had happened.
Would there ever be middle names? Would you really want James B Kelly, James Fenimore Kellogg and James Kenny all to be JamesKe?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks