Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
extract first name only from full name
I have a cell that contains last name, first name. I would like to extract
the first name and put in seperate cell. As an example if A1 = Smith John I would like to have A2 = John and A3 = Smith Please advise. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
extract first name only from full name
Try this:
A2 =RIGHT(A1,LEN(A1)-FIND(" ",A1)) A3 =LEFT(A1,FIND(" ",A1)-1) " KB916521 Junk Update Office 2003 -A" wrote: I have a cell that contains last name, first name. I would like to extract the first name and put in seperate cell. As an example if A1 = Smith John I would like to have A2 = John and A3 = Smith Please advise. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
extract first name only from full name
If there is no comma between the last and first name, then the given
formulas will work. However, if there is a comma between the names (ex. Smith, John), then you'll need to adjust the formula slightly. In that case, I'd prefer to find the comma and go from there. First Name =RIGHT(A1,LEN(A1)-(FIND(",",A1)+1)) Last Name =LEFT(A1,FIND(",",A1)-1) Regards, Paul "Teethless mama" wrote in message ... Try this: A2 =RIGHT(A1,LEN(A1)-FIND(" ",A1)) A3 =LEFT(A1,FIND(" ",A1)-1) " KB916521 Junk Update Office 2003 -A" wrote: I have a cell that contains last name, first name. I would like to extract the first name and put in seperate cell. As an example if A1 = Smith John I would like to have A2 = John and A3 = Smith Please advise. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Ctrl+Alt+F9 not performing Full Recalculation on some PCs | Excel Worksheet Functions | |||
Trendline Extract | Charts and Charting in Excel | |||
Extract Unique Values, Then Extract Again to Remove Suffixes | Excel Discussion (Misc queries) | |||
Worksheet won't display full screen | New Users to Excel | |||
Extract specific data into its own workbook via macro? | Excel Discussion (Misc queries) |