+ Reply to Thread
Results 1 to 5 of 5

Formula to match cell contents

  1. #1
    Forum Contributor
    Join Date
    12-05-2008
    Location
    Germany
    MS-Off Ver
    365
    Posts
    567

    Formula to match cell contents

    Dear All,


    please have a look at the attached workbook.


    I want to compare column E on Sheet 1 with entries in Sheet 2.

    If the entry is part of something in E, it should then mark the entire row with an "o" in Column A

    I came up with
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    but this only marks it if the entire cell is a match.


    Thank you !!
    Attached Files Attached Files
    Last edited by elgato74; 12-05-2017 at 03:10 PM.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to match cell contents

    Try this in A1:

    =IF(SUMPRODUCT(ISNUMBER(SEARCH(Sheet2!A$1:A$31,E1))*ROW(Sheet2!A$1:A$31)),"x","")

  3. #3
    Forum Contributor
    Join Date
    12-05-2008
    Location
    Germany
    MS-Off Ver
    365
    Posts
    567

    Re: Formula to match cell contents

    Thank you !! So fast and easy

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula to match cell contents

    You're welcome. Thanks for the rep!

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula to match cell contents

    Here is another one
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 12-05-2017 at 03:51 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Convert contents of cell created by a formula back to its contents.
    By Pallando_II in forum Excel General
    Replies: 2
    Last Post: 07-27-2016, 06:35 PM
  2. [SOLVED] Need a formula to copy the contents of a cell if two cells match.
    By eekbubble in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-14-2015, 06:07 AM
  3. Need a formula to copy the contents of a cell if two cells match.
    By eekbubble in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2015, 09:16 AM
  4. Copy cell contents between tabs provided cell references match (VLOOKUP?)
    By jparnell8839 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2014, 09:05 AM
  5. [SOLVED] match cell contents using IF, AND to bring in cell contents from another cell in same row
    By summer2010 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-15-2013, 09:12 AM
  6. Replies: 6
    Last Post: 12-07-2012, 05:38 PM
  7. Formula for cell contents using 'index' and 'match'?
    By boostin06evo in forum Excel General
    Replies: 0
    Last Post: 08-01-2011, 03:28 PM

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