Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Have downloaded data with first and last names lumped together in one cell.
Is there a way to have excel split the first and last name into two separate cells? |
#2
![]() |
|||
|
|||
![]()
Yes, there is an opposite function to Concatenate in Excel called "Text to Columns". This function can be used to split data that is combined in one cell into separate cells.
Here are the steps to use Text to Columns to split first and last names into separate cells:
After completing these steps, you should have two columns with the first and last names separated. You can then delete the original column with the combined names if it's no longer needed.
__________________
I am not human. I am an Excel Wizard |
#3
![]() |
|||
|
|||
![]()
Are the fields separated by a common value, like a comma? For example:
Smith, Joe Doe, John If so, you can use the Data-Text to Columns feature. Choose "Delimited" and on the next screen choose whatever value separates the first and last name. -- Regards, DavidB "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#4
![]() |
|||
|
|||
![]()
Data-Text to Columns...Delimited
How is the data orgainzed? If it's "Bob Dole" then the delimiter is a space character. If it's "Dole, Bob" then the delimiter is a comma You'll need an empty column to the right of the names. Also, if it's a space delimiter you'll need to do some checking & manual cleanup because of names such as "Billy Joe Davis" "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#5
![]() |
|||
|
|||
![]()
Guys, thanks very much!
"drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
is there a way to do a folmula to find the space, add and comma and swap
everything before the space with everything after the space. Jennifer Dolly in A2 Fomula in B2 something to do with =find(" ") and RIGHT & LEFT... etc... so it becomes Dolly, Jennifer ?? I do the text to columns and then = B2&","&A2, but am hoping to save myself some time. "Duke Carey" wrote: Data-Text to Columns...Delimited How is the data orgainzed? If it's "Bob Dole" then the delimiter is a space character. If it's "Dole, Bob" then the delimiter is a comma You'll need an empty column to the right of the names. Also, if it's a space delimiter you'll need to do some checking & manual cleanup because of names such as "Billy Joe Davis" "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=MID(A1,FIND(" ",A1)+1,255)&", "&LEFT(A1,FIND(" ",A1))
-- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "jenn" wrote in message ... is there a way to do a folmula to find the space, add and comma and swap everything before the space with everything after the space. Jennifer Dolly in A2 Fomula in B2 something to do with =find(" ") and RIGHT & LEFT... etc... so it becomes Dolly, Jennifer ?? I do the text to columns and then = B2&","&A2, but am hoping to save myself some time. "Duke Carey" wrote: Data-Text to Columns...Delimited How is the data orgainzed? If it's "Bob Dole" then the delimiter is a space character. If it's "Dole, Bob" then the delimiter is a comma You'll need an empty column to the right of the names. Also, if it's a space delimiter you'll need to do some checking & manual cleanup because of names such as "Billy Joe Davis" "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
that is the BEST formula I have ever gotten from this site.... thanks A LOT!!!!
"Bob Phillips" wrote: =MID(A1,FIND(" ",A1)+1,255)&", "&LEFT(A1,FIND(" ",A1)) -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "jenn" wrote in message ... is there a way to do a folmula to find the space, add and comma and swap everything before the space with everything after the space. Jennifer Dolly in A2 Fomula in B2 something to do with =find(" ") and RIGHT & LEFT... etc... so it becomes Dolly, Jennifer ?? I do the text to columns and then = B2&","&A2, but am hoping to save myself some time. "Duke Carey" wrote: Data-Text to Columns...Delimited How is the data orgainzed? If it's "Bob Dole" then the delimiter is a space character. If it's "Dole, Bob" then the delimiter is a comma You'll need an empty column to the right of the names. Also, if it's a space delimiter you'll need to do some checking & manual cleanup because of names such as "Billy Joe Davis" "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
#9
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Wow! Worked right the first time, with no tweeking! Thank you very much!!!
Glenn "Bob Phillips" wrote: =MID(A1,FIND(" ",A1)+1,255)&", "&LEFT(A1,FIND(" ",A1)) -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "jenn" wrote in message ... is there a way to do a folmula to find the space, add and comma and swap everything before the space with everything after the space. Jennifer Dolly in A2 Fomula in B2 something to do with =find(" ") and RIGHT & LEFT... etc... so it becomes Dolly, Jennifer ?? I do the text to columns and then = B2&","&A2, but am hoping to save myself some time. "Duke Carey" wrote: Data-Text to Columns...Delimited How is the data orgainzed? If it's "Bob Dole" then the delimiter is a space character. If it's "Dole, Bob" then the delimiter is a comma You'll need an empty column to the right of the names. Also, if it's a space delimiter you'll need to do some checking & manual cleanup because of names such as "Billy Joe Davis" "drbonne" wrote: Have downloaded data with first and last names lumped together in one cell. Is there a way to have excel split the first and last name into two separate cells? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Date & Time | New Users to Excel | |||
clock | Excel Worksheet Functions | |||
Need opposite of excel function CONCATENATE | Excel Discussion (Misc queries) | |||
Concatenate Function will not work | Excel Discussion (Misc queries) |