Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SJS SJS is offline
external usenet poster
 
Posts: 20
Default Easy one for the Pros!

I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Easy one for the Pros!

Hi

first name
=LEFT(A1,FIND(" ",A1,1)-1)
second name
=MID(A1,FIND(" ",A1,1)+1,9999)

Mike

"sjs" wrote:

I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default Easy one for the Pros!

First name:

=Left(A1,Find(" ",A1)-1)

Last name:

=MID(A1,FIND(" ",A1)+1,LEN(A1)-FIND(" ",A1))

On Nov 14, 1:56 pm, sjs wrote:
I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Easy one for the Pros!

Use datatext to columns (make a backup of the file first), use space as
delimiter and make sure the adjacent column to the right is empty

or


=Left(A1,Find(" ",A1)-1)


assume you put that formula in B1, in C1 use

=TRIM(SUBSTITUTE(A1,B1,""))


--


Regards,


Peo Sjoblom



"sjs" wrote in message
...
I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SJS SJS is offline
external usenet poster
 
Posts: 20
Default Easy one for the Pros!

Thanks everyone, I appreciate your help!!

steve

"Peo Sjoblom" wrote:

Use datatext to columns (make a backup of the file first), use space as
delimiter and make sure the adjacent column to the right is empty

or


=Left(A1,Find(" ",A1)-1)


assume you put that formula in B1, in C1 use

=TRIM(SUBSTITUTE(A1,B1,""))


--


Regards,


Peo Sjoblom



"sjs" wrote in message
...
I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve





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
Easy one for you pros! sjs Excel Worksheet Functions 4 November 14th 07 09:36 PM
Pros and Cons of embedding Excel Workbook object in PPT Presentati Barb Reinhardt Excel Discussion (Misc queries) 0 May 29th 07 03:04 PM
Help Excel Data manipulation Pros: Something like a Vlookup with a Sum Function vipjun Excel Worksheet Functions 4 June 9th 06 08:56 PM
I'm sure this is an easy one, but.... Omakbob Excel Worksheet Functions 6 October 31st 05 02:41 PM
new user with easy question? not easy for me speakeztruth New Users to Excel 5 June 3rd 05 09:40 PM


All times are GMT +1. The time now is 02:44 AM.

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"