Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a text field that has "Lastname, Firstname" and I would like to create
a second field that just shows the first name. Since I have a lot of names in this format, I was thinking that I could create some kind of text formula in Excel that would equal the original text field and delete everything up to the comma. Can Excel do this using wildcards? Any suggestions? |
#2
![]() |
|||
|
|||
![]()
Highlight the cells and
go to <data<text to columns step one .........delimited step two ..........comma step three .......select where to place the split columns -- Greetings from New Zealand Bill K "Jason" wrote in message ... I have a text field that has "Lastname, Firstname" and I would like to create a second field that just shows the first name. Since I have a lot of names in this format, I was thinking that I could create some kind of text formula in Excel that would equal the original text field and delete everything up to the comma. Can Excel do this using wildcards? Any suggestions? |
#3
![]() |
|||
|
|||
![]()
Jason,
=LEFT(A2,FIND(",",A2)-1) If some of your entries don't have a comma, it'll error out. If that's a possibilty, use: =LEFT(A2,IF(ISERROR(FIND(",",A2)),LEN(A2),FIND("," ,A2)-1)) -- Earl Kiosterud www.smokeylake.com/ ------------------------------------------- "Jason" wrote in message ... I have a text field that has "Lastname, Firstname" and I would like to create a second field that just shows the first name. Since I have a lot of names in this format, I was thinking that I could create some kind of text formula in Excel that would equal the original text field and delete everything up to the comma. Can Excel do this using wildcards? Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I create a button to save one worksheet into a new workshe | Excel Discussion (Misc queries) | |||
how do i create and save a new file or worksheet autmatically ever | Excel Discussion (Misc queries) | |||
Template in Excel | New Users to Excel | |||
How do I create a macro to Save As? | Excel Discussion (Misc queries) |