+ Reply to Thread
Results 1 to 4 of 4

Truncate Name

  1. #1
    Registered User
    Join Date
    07-02-2005
    Posts
    53

    Truncate Name

    Hi, how do I extract the first names from the various cells? I have thousands so it is impossible to do it manually. Thanks in advance!

    For example
    A1 = John Waters. Should be John.
    A2 = Barry Johnson. Should be Barry
    A3 = Fredderick Rogers. Should be Fredderick

  2. #2
    Guest

    Re: Truncate Name

    Hi

    I would use Data/Text to Columns, using a space as the delimiter. It's
    fairly easy to do but backup your data before you start.

    Andy.

    "ernestgoh" <ernestgoh.25j00y_1143794700.6703@excelforum-nospam.com> wrote
    in message news:ernestgoh.25j00y_1143794700.6703@excelforum-nospam.com...
    >
    > Hi, how do I extract the first names from the various cells? I have
    > thousands so it is impossible to do it manually. Thanks in advance!
    >
    > For example
    > A1 = John Waters. Should be John.
    > A2 = Barry Johnson. Should be Barry
    > A3 = Fredderick Rogers. Should be Fredderick
    >
    >
    > --
    > ernestgoh
    > ------------------------------------------------------------------------
    > ernestgoh's Profile:
    > http://www.excelforum.com/member.php...o&userid=24870
    > View this thread: http://www.excelforum.com/showthread...hreadid=528471
    >




  3. #3
    PGC
    Guest

    Re: Truncate Name

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


    ernestgoh <ernestgoh.25j00y_1143794700.6703@excelforum-nospam.com> wrote in
    message news:ernestgoh.25j00y_1143794700.6703@excelforum-nospam.com...
    >
    > Hi, how do I extract the first names from the various cells? I have
    > thousands so it is impossible to do it manually. Thanks in advance!
    >
    > For example
    > A1 = John Waters. Should be John.
    > A2 = Barry Johnson. Should be Barry
    > A3 = Fredderick Rogers. Should be Fredderick
    >
    >
    > --
    > ernestgoh
    > ------------------------------------------------------------------------
    > ernestgoh's Profile:

    http://www.excelforum.com/member.php...o&userid=24870
    > View this thread: http://www.excelforum.com/showthread...hreadid=528471
    >




  4. #4
    Registered User
    Join Date
    07-02-2005
    Posts
    53

    Genius!

    PGC you are a genius!! It works a treat. Thanks guys for your input. Thanks again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1