+ Reply to Thread
Results 1 to 4 of 4

cHARACTERS BEFORE THE SPACE

  1. #1
    Forum Contributor
    Join Date
    08-20-2005
    Posts
    171

    cHARACTERS BEFORE THE SPACE

    Hi,

    I need a function which does the following:

    F1 FRED
    F23 GHTYRFFFF
    G1234 AD

    becomes:
    F1
    F23
    G1234

    i.e Returns the characters before the space, many thanks

  2. #2
    CLR
    Guest

    RE: cHARACTERS BEFORE THE SPACE

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

    Vaya con Dios,
    Chuck, CABGx3



    "T De Villiers" wrote:

    >
    > Hi,
    >
    > I need a function which does the following:
    >
    > F1 FRED
    > F23 GHTYRFFFF
    > G1234 AD
    >
    > becomes:
    > F1
    > F23
    > G1234
    >
    > i.e Returns the characters before the space, many thanks
    >
    >
    > --
    > T De Villiers
    > ------------------------------------------------------------------------
    > T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
    > View this thread: http://www.excelforum.com/showthread...hreadid=502479
    >
    >


  3. #3
    Bernard Liengme
    Guest

    Re: cHARACTERS BEFORE THE SPACE

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

    --
    Bernard V Liengme
    www.stfx.ca/people/bliengme
    remove caps from email

    "T De Villiers" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi,
    >
    > I need a function which does the following:
    >
    > F1 FRED
    > F23 GHTYRFFFF
    > G1234 AD
    >
    > becomes:
    > F1
    > F23
    > G1234
    >
    > i.e Returns the characters before the space, many thanks
    >
    >
    > --
    > T De Villiers
    > ------------------------------------------------------------------------
    > T De Villiers's Profile:
    > http://www.excelforum.com/member.php...o&userid=26479
    > View this thread: http://www.excelforum.com/showthread...hreadid=502479
    >




  4. #4
    Gord Dibben
    Guest

    Re: cHARACTERS BEFORE THE SPACE

    Data>Text to Columns>Delimited by space>Next.

    Choose "do not import" after selecting column 2.


    Gord Dibben MS Excel MVP

    On Wed, 18 Jan 2006 09:34:32 -0600, T De Villiers
    <[email protected]> wrote:

    >
    >Hi,
    >
    >I need a function which does the following:
    >
    >F1 FRED
    >F23 GHTYRFFFF
    >G1234 AD
    >
    >becomes:
    >F1
    >F23
    >G1234
    >
    >i.e Returns the characters before the space, many thanks



+ 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