+ Reply to Thread
Results 1 to 3 of 3

Excel Formula: Compare lists, return result if not found

  1. #1
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Excel Formula: Compare lists, return result if not found

    Hello,

    I think this is pretty simple, i'm just not quite sure where to start. Whether I need an INDEX formula or its something relatively basic... I realize this can be achieved with a massive IF statement, but obviously, I'd rather just get a proper solution here.

    I have a list of raw data, which are "categories" that may or may not contain duplicates. Then, I have a smaller list called "My Categories". I want to compare the raw data to my categories. And if any value in my raw data is not found in "my categories", I want to return a result adjacent to the column. Quite simple, I guess.

    Any help is appreciated, and I have attached a sample.

    Thanks for your time!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    485

    Re: Excel Formula: Compare lists, return result if not found

    Try

    =IF(COUNTIF($B$5:$B$15,D11),"y","n")

  3. #3
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Re: Excel Formula: Compare lists, return result if not found

    Works great, Root_


    Thank you very much.

+ 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. Need to compare values in 2 Columns & return result for what was found
    By pblobe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2015, 12:57 PM
  2. Replies: 4
    Last Post: 02-18-2015, 02:12 PM
  3. Replies: 7
    Last Post: 09-06-2013, 11:59 PM
  4. Compare 2 lists and return value
    By Deetce in forum Excel General
    Replies: 1
    Last Post: 05-01-2012, 10:50 PM
  5. Vlookup, return empty cell (not #N/A) when result not found
    By haitham1984 in forum Excel General
    Replies: 4
    Last Post: 11-03-2008, 03:15 AM
  6. vlookup to return cell position as to where result was found
    By Rock in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-12-2005, 09:06 PM
  7. [SOLVED] How to compare 2 lists and return un-matched?
    By RWR in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-15-2005, 06:45 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