+ Reply to Thread
Results 1 to 8 of 8

Finding missing values of a list

  1. #1
    Forum Contributor
    Join Date
    10-10-2015
    Location
    nj
    MS-Off Ver
    Office 2021
    Posts
    203

    Finding missing values of a list

    Hi all,

    Have 2 lists (column A, and B).

    I am to find out what values are in column B, but NOT in column A.

    Please see attached.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,835

    Re: Finding missing values of a list

    How about a simple COUNTIF() function. Something like =COUNTIF($A$1:$A$50,B1) (note how I used relative and absolute references to make this easy to copy). Any result that is greater than 0 is a value present in both A and B.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,487

    Re: Finding missing values of a list

    Use Conditional Formatting with, for example,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    j
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    10-10-2015
    Location
    nj
    MS-Off Ver
    Office 2021
    Posts
    203

    Re: Finding missing values of a list

    Can we get it so the value that isn't in Column B is copied to Column C?

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,835

    Re: Finding missing values of a list

    Nest the COUNTIF() function I gave inside of an IF() function maybe?
    =IF(COUNTIF(...)=0,B1,"none")

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding missing values of a list

    Quote Originally Posted by forestavekids View Post
    Can we get it so the value that isn't in Column B is copied to Column C?
    That's the opposite of what you originally asked:

    I am to find out what values are in column B, but NOT in column A.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Forum Contributor
    Join Date
    10-10-2015
    Location
    nj
    MS-Off Ver
    Office 2021
    Posts
    203

    Re: Finding missing values of a list

    Quote Originally Posted by Tony Valko View Post
    That's the opposite of what you originally asked:






    Let me clarify, need to know what values are in Column B but NOT in column A. Those values should copy over to column C

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding missing values of a list

    This array formula** entered in C1:

    =IFERROR(INDEX(B:B,SMALL(IF(B$1:B$48<>"",IF(ISNA(MATCH(B$1:B$48,A:A,0)),ROW(B$1:B$48))),ROWS(C$1:C1))),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.

+ 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. Finding missing values from a list
    By forestavekids in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-23-2016, 07:54 AM
  2. [SOLVED] Comparing 2 Lists (names) and finding missing values
    By karimel_romeo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2014, 11:47 AM
  3. Finding Missing numbers in the attached list
    By vinnys in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-12-2013, 09:42 PM
  4. Excel 2007 : Finding the missing X values
    By sdingman in forum Excel General
    Replies: 0
    Last Post: 12-02-2011, 05:24 PM
  5. HELP finding missing values with Pivot Tables
    By SALB in forum Excel General
    Replies: 0
    Last Post: 08-21-2009, 02:25 PM
  6. Finding duplicate or missing entries in a list
    By jeff.nglc in forum Excel General
    Replies: 3
    Last Post: 08-28-2008, 12:56 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