Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GoesLikeStink
 
Posts: n/a
Default Splitting names from cells


My first question to the hordes of folks better equipped to answer than
the people around me. I'm a policy advisor and I only use Excel and
Access as they relate to research. I'm trying to figure out if there
is a method for splitting first and last names from a cell where both
are contained. We have a huge fleet database with thousands of
operator names, but when some moron first set up the system, they put
entire name (JOHN A DOE) in one cell. Is there a way I can search for
the string following the final space, or some such thing, so I can
separate the names?

Thanks.


--
GoesLikeStink
------------------------------------------------------------------------
GoesLikeStink's Profile: http://www.excelforum.com/member.php...o&userid=25732
View this thread: http://www.excelforum.com/showthread...hreadid=391447

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=LEFT(A1,FIND("^^",SUBSTITUTE(A1," ","^^",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))))-1)

and

=RIGHT(A1,LEN(A1)-FIND("^^",SUBSTITUTE(A1,"
","^^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"GoesLikeStink"
wrote in message
news:GoesLikeStink.1sybqa_1122674704.7057@excelfor um-nospam.com...

My first question to the hordes of folks better equipped to answer than
the people around me. I'm a policy advisor and I only use Excel and
Access as they relate to research. I'm trying to figure out if there
is a method for splitting first and last names from a cell where both
are contained. We have a huge fleet database with thousands of
operator names, but when some moron first set up the system, they put
entire name (JOHN A DOE) in one cell. Is there a way I can search for
the string following the final space, or some such thing, so I can
separate the names?

Thanks.


--
GoesLikeStink
------------------------------------------------------------------------
GoesLikeStink's Profile:

http://www.excelforum.com/member.php...o&userid=25732
View this thread: http://www.excelforum.com/showthread...hreadid=391447



  #3   Report Post  
Paul Sheppard
 
Posts: n/a
Default


Bob


Using your formulas on this example John A Doe results in John A and
Doe, is it possible to split it to show John / A / Doe in 3 separate
cells

If possible could you explain what the formula is doing, I understand
LEFT and LEN etc but don't understand the use of ^^

Thanks

Paul


--
Paul Sheppard
------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=391447

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to create an (almost) circular formula between cells and data validated cells with lists KR Excel Worksheet Functions 0 May 12th 05 07:21 PM
Unlocking Cells when a worksheet is protected... racmb1975 Excel Discussion (Misc queries) 2 May 3rd 05 08:57 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM
copy group of cells to another group of cells using "IF" in third Chuckak Excel Worksheet Functions 2 November 10th 04 06:04 PM


All times are GMT +1. The time now is 03:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"