+ Reply to Thread
Results 1 to 6 of 6

extract data up to a certain character

  1. #1
    Registered User
    Join Date
    08-15-2006
    Posts
    5

    extract data up to a certain character

    hi all,

    I'm having trouble extracting data up on a cell up to a certain character, for example up to "/"

    for example this cell data: David Staton / 102 oak st

    I just need "David Station" and leave "/ 102 oak" st alone

    thanks for any pointers.
    mark

  2. #2
    Bob Phillips
    Guest

    Re: extract data up to a certain character

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

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "markahpi" <[email protected]> wrote in
    message news:[email protected]...
    >
    > hi all,
    >
    > I'm having trouble extracting data up on a cell up to a certain
    > character, for example up to "/"
    >
    > for example this cell data: David Staton / 102 oak st
    >
    > I just need "David Station" and leave "/ 102 oak" st alone
    >
    > thanks for any pointers.
    > mark
    >
    >
    > --
    > markahpi
    > ------------------------------------------------------------------------
    > markahpi's Profile:

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




  3. #3
    Registered User
    Join Date
    08-15-2006
    Posts
    5
    forgot asking on how to extract the other part "102 oak st" only?

  4. #4
    Bob Phillips
    Guest

    Re: extract data up to a certain character

    =MID(A1,FIND("/",A1)+1,99)

    You can also use Data>Text To Columns with a delimiter of /

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "markahpi" <[email protected]> wrote in
    message news:[email protected]...
    >
    > forgot asking on how to extract the other part "102 oak st"
    > only?
    >
    >
    > --
    > markahpi
    > ------------------------------------------------------------------------
    > markahpi's Profile:

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




  5. #5
    Registered User
    Join Date
    08-15-2006
    Posts
    5
    thanks bob!

  6. #6
    Dave Peterson
    Guest

    Re: extract data up to a certain character

    You have more responses at your other post.

    markahpi wrote:
    >
    > forgot asking on how to extract the other part "102 oak st"
    > only?
    >
    > --
    > markahpi
    > ------------------------------------------------------------------------
    > markahpi's Profile: http://www.excelforum.com/member.php...o&userid=37571
    > View this thread: http://www.excelforum.com/showthread...hreadid=571997


    --

    Dave Peterson

+ 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