PC Review


Reply
Thread Tools Rate Thread

Displaying text.

 
 
RaY
Guest
Posts: n/a
 
      19th Aug 2008
I have first and last names in a list and need to have excel pull only the
first name. These names are all in the same column. I tried using LEFT but
can't figure out how to have excel stop once it hits the space between the
first and last name.

-RaY
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      19th Aug 2008
Try this, assuming your combined name is in A1:

=LEFT(A1,SEARCH(" ",A1)-1)

Hope this helps.

Pete

On Aug 19, 10:19*am, RaY <R...@discussions.microsoft.com> wrote:
> I have first and last names in a list and need to have excel pull only the
> first name. These names are all in the same column. I tried using LEFT but
> can't figure out how to have excel stop once it hits the space between the
> first and last name.
>
> -RaY


 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      19th Aug 2008
Maybe this dragged down

=LEFT(A1,FIND(" ",A1)-1)

Mike

"RaY" wrote:

> I have first and last names in a list and need to have excel pull only the
> first name. These names are all in the same column. I tried using LEFT but
> can't figure out how to have excel stop once it hits the space between the
> first and last name.
>
> -RaY

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      19th Aug 2008
In B1:
=LEFT(A1,FIND(" ",A1)-1)
In C1:
=RIGHT(A1,LEN(A1)-LEN(B1)-1)

--
Gary''s Student - gsnu200800


"RaY" wrote:

> I have first and last names in a list and need to have excel pull only the
> first name. These names are all in the same column. I tried using LEFT but
> can't figure out how to have excel stop once it hits the space between the
> first and last name.
>
> -RaY

 
Reply With Quote
 
RaY
Guest
Posts: n/a
 
      19th Aug 2008
Workd perfect. Thanks everyone.

"Mike H" wrote:

> Maybe this dragged down
>
> =LEFT(A1,FIND(" ",A1)-1)
>
> Mike
>
> "RaY" wrote:
>
> > I have first and last names in a list and need to have excel pull only the
> > first name. These names are all in the same column. I tried using LEFT but
> > can't figure out how to have excel stop once it hits the space between the
> > first and last name.
> >
> > -RaY

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in displaying a text box in access form in controltip text Jack Microsoft Access Form Coding 1 20th Aug 2009 09:42 PM
Text Box troubles displaying text =?Utf-8?B?RWQgQ29oZW4=?= Microsoft Access 2 26th Jun 2007 10:00 PM
Newb Question: Displaying comma delimted text in different text bo =?Utf-8?B?SlI=?= Microsoft VB .NET 2 28th Apr 2005 06:38 AM
Varchar text not displaying correctly in form or report text boxes =?Utf-8?B?Q29va2ll?= Microsoft Access ADP SQL Server 0 13th Oct 2004 10:53 PM
Displaying Square boxes instead of the text in the text box Dwayne Windows XP Internet Explorer 0 22nd Sep 2004 09:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.