Hi, I have this big excel project for school. I need to find an expression that reverses the first and last name as well as removing the space in names like Mac Leod. First instance,
in cell A1 i have Peter Mac Leod, and i want Macleod Peter in cell B1. Can anybody help me out?
I did find a formula to switch first and last name =TRIM(REPLACE(A1&" "&LEFT(A1,FIND(" ",A1)),1,FIND(" ",A1)," ")))
but still trying to figure out how to remove the space between ''Mac'' and ''Leod''?
Bookmarks