+ Reply to Thread
Results 1 to 4 of 4

Pulling specific TEXT out of a string of varying length

Hybrid View

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Pulling specific TEXT out of a string of varying length

    I have a string of text of varying length and I want to pull some specific text out and put into another cell.

    so my string is XXXXXXXXXXXHCFEXXXXXXX. I want to know if HCFE is in the string and place it in a different cell.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pulling specific TEXT out of a string of varying length

    I'm guessing it's more complicated than this but

    =IF(ISNUMBER(SEARCH("HCFE",A1)), "HCFE", "")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Re: Pulling specific TEXT out of a string of varying length

    ChemistB

    Yes, it was that easy for yo but not for me. Thank you. You folks are great.

  4. #4
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Re: Pulling specific TEXT out of a string of varying length

    How do you mark this solved?

+ 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