+ Reply to Thread
Results 1 to 4 of 4

Search Text of Cell in a range and return the contents

  1. #1
    Registered User
    Join Date
    12-12-2009
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    21

    Search Text of Cell in a range and return the contents

    Hi,

    I have a worksheet, with Column A containing some keywords and column b containing domain names, I want to be able to search a keyword in the column of domain names, and if the domain name is found, return the keyword itself in the next column.

    A sample sheet is attached herewith.

    Regards,

    Zeeshan
    Attached Files Attached Files
    Last edited by shanipk82; 11-26-2010 at 01:33 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Search Text of Cell in a range and return the contents

    Using your posted workbook...try this ARRAY FORMULA, which is completed by holding down CTRL+SHIFT+ENTER (instead of just ENTER):
    Please Login or Register  to view this content.
    Copy C2 and paste it into C3 and down as far as you need.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    12-12-2009
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Search Text of Cell in a range and return the contents

    Quote Originally Posted by Ron Coderre View Post
    Using your posted workbook...try this ARRAY FORMULA, which is completed by holding down CTRL+SHIFT+ENTER (instead of just ENTER):
    Please Login or Register  to view this content.
    Copy C2 and paste it into C3 and down as far as you need.

    Is that something you can work with?
    Thanks Ron.

    Its working perfectly. Thanks a bunch.

    How do I change the thread prefix to SOLVED?

    Zeeshan

  4. #4
    Registered User
    Join Date
    12-12-2009
    Location
    Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Search Text of Cell in a range and return the contents

    I got it.

    Thank you.

+ 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