Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steph
 
Posts: n/a
Default Formula to separate text in cell

I need to find a formula that will separate first & last name in a single
cell and put into 2 separate cells. Any help would be appreciated.
  #2   Report Post  
Yorkie118
 
Posts: n/a
Default Formula to separate text in cell

Hi Steph,
Suppose you have name John Brown in E2, and you want John in F2 and Brown in
G2. I assume theres a space between John and Brown.
Type in F2:-
=Left(E2,Find(" ",E2,1)-1)
Type in G2:-
=Right(E2,Find(" ",E2,1))

hope this helps, Yorkie


"Steph" wrote:

I need to find a formula that will separate first & last name in a single
cell and put into 2 separate cells. Any help would be appreciated.

  #3   Report Post  
Steph
 
Posts: n/a
Default Formula to separate text in cell

Thanks!!!

"Yorkie118" wrote:

Hi Steph,
Suppose you have name John Brown in E2, and you want John in F2 and Brown in
G2. I assume theres a space between John and Brown.
Type in F2:-
=Left(E2,Find(" ",E2,1)-1)
Type in G2:-
=Right(E2,Find(" ",E2,1))

hope this helps, Yorkie


"Steph" wrote:

I need to find a formula that will separate first & last name in a single
cell and put into 2 separate cells. Any help would be appreciated.

  #4   Report Post  
Steph
 
Posts: n/a
Default Formula to separate text in cell

Still running into problems with this formula with longer names, or with a
name in the following format, for example: McCullough, Reginald - if I
follow your formula I get "McCullough," in one column and "gh, McCullough" in
the next. I can change the formula for the first one to eliminate the comma,
but don't know how to just get the first name in the next column. Keep in
mind, all of the names, both first & last, have a varying number of
characters.

"Yorkie118" wrote:

Hi Steph,
Suppose you have name John Brown in E2, and you want John in F2 and Brown in
G2. I assume theres a space between John and Brown.
Type in F2:-
=Left(E2,Find(" ",E2,1)-1)
Type in G2:-
=Right(E2,Find(" ",E2,1))

hope this helps, Yorkie


"Steph" wrote:

I need to find a formula that will separate first & last name in a single
cell and put into 2 separate cells. Any help would be appreciated.

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
Text in formula bar is not displaying in cell Mike Excel Discussion (Misc queries) 0 August 29th 05 09:47 PM
Is there a formula for IF a cell CONTAINS certain text... spiffytj Excel Worksheet Functions 1 July 15th 05 06:12 AM
Text in Cell as Formula SU Excel Discussion (Misc queries) 0 March 9th 05 07:54 PM
reference the result of a formula in a text formatted cell jpwinston Excel Discussion (Misc queries) 1 February 7th 05 05:33 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 03:18 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"