+ Reply to Thread
Results 1 to 5 of 5

Find specific text in part of a cell

  1. #1
    Registered User
    Join Date
    09-10-2009
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    13

    Find specific text in part of a cell

    I am using the following formula to search for the referenced text in cell G2 within cell F3.

    =IF(ISERROR(SEARCH(G$2,$F3)),"",G$2)

    Is there a way to modify this formula so I only search part of the cell?

    For example, I want to search only the portion of cell F3 that appears prior to the word "Interested" and ignore everything after. "Interested" may appear in any number of locations within cell F3.

    Any help is greatly appreciated.
    Last edited by woogster; 03-15-2011 at 12:29 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Find specific text in part of a cell

    Perhaps

    Please Login or Register  to view this content.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,858

    Re: Find specific text in part of a cell

    There is an error in the length calculation, I think you meant this:
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    09-10-2009
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Find specific text in part of a cell

    Thank you both.

    How do I manipulate the formula so that it searches cells that do not contain the word "interested" at all, while continuing to search those cells that do only up until the word appears?

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Find specific text in part of a cell

    Thx Jazzer, wrong indeed

+ 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