+ Reply to Thread
Results 1 to 4 of 4

Extract text between # and space

  1. #1
    Registered User
    Join Date
    02-09-2010
    Location
    seattle
    MS-Off Ver
    Excel 2003
    Posts
    20

    Extract text between # and space

    Hi there... I am trying to extract the text between the pound sign and space. Any thoughts on what formula to use? I tried mid and find combo, but can't seem to get it right.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2003,2007,2010
    Posts
    28,576

    Re: Extract text between # and space

    =MID($A2, FIND("#",$A2), FIND(" ",$A2,FIND("#",$A2))-FIND("#",$A2))


    Regards
    Trevor Shuttleworth - Excel Aid

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,321

    Re: Extract text between # and space

    if its always #xxxx
    =MID(A2,FIND("#",A2),5)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    02-09-2010
    Location
    seattle
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Extract text between # and space

    THank you!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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