+ Reply to Thread
Results 1 to 3 of 3

Doing a search for text within a cell with alot of text.

Hybrid View

  1. #1
    Registered User
    Join Date
    11-30-2010
    Location
    Lincoln, NE
    MS-Off Ver
    Office Xp, and Office 2007
    Posts
    30

    Doing a search for text within a cell with alot of text.

    Hello,

    I'm trying to figure out how i could search like a vlookup for say something like "%12FIRE" from one sheet to another but, the other sheet has allot more text in the cell so it might say something like "added %12FIRE to the model and it was good"

    Then i need it to give me a confirmation that it was found or if it was not in the cell next to the name.
    An example sheet it attached, any help would be appreciated.
    Attached Files Attached Files
    Last edited by Cakin; 09-16-2011 at 02:57 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Doing a search for text within a cell with alot of text.

    Cakin,

    Attached is a modified version of your sample workbook. In sheet 'Names' cell B2 is the formula:
    =IF(COUNTIF(Text!B:B,"*"&A2&"*")>0,"Y","N")

    And then its copied down

    Hope that helps,
    ~tigeravatar
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-30-2010
    Location
    Lincoln, NE
    MS-Off Ver
    Office Xp, and Office 2007
    Posts
    30

    Re: Doing a search for text within a cell with alot of text.

    Quote Originally Posted by tigeravatar View Post
    Cakin,

    Attached is a modified version of your sample workbook. In sheet 'Names' cell B2 is the formula:
    =IF(COUNTIF(Text!B:B,"*"&A2&"*")>0,"Y","N")

    And then its copied down

    Hope that helps,
    ~tigeravatar
    Wow, thats kind of fancy thank you very much you saved me tons of time.

+ 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