+ Reply to Thread
Results 1 to 7 of 7

List 'values' that are not found in the range via formula

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    List 'values' that are not found in the range via formula

    Hello,

    Say in Workbook 1, I have the following list
    a
    b
    c
    d
    e

    In Workbook 2, I have the following list
    a description of a
    c description of c
    d description of d
    e description of e
    g description of g
    h description of h
    i description of i
    j description of j
    k description of k
    l description of l

    How can I in Workbook 1, return the list of range that are not found?

    In this case, it should listed out g to l
    Attached Files Attached Files
    Last edited by dluhut; 08-08-2017 at 03:25 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: List 'values' that are not found in the range via formula

    Use the match function to find matching cells.




    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: List 'values' that are not found in the range via formula

    Have attached.

    My question is how to list out those that are not 'match'

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: List 'values' that are not found in the range via formula

    In Workbook 2

    In "helper" column (J in attached)

    =COUNTIFS($A$2:$A$6,G2)

    in Workbook 1

    Column D

    =IFERROR(INDEX($G$2:$G$12,SMALL(IF($J$2:$J$12=0,ROW($G$2:$G$12)-ROW($G$2)+1,""),ROWS($G$2:G2))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: List 'values' that are not found in the range via formula

    Hi JohnTopley,

    I can't modify the Workbook 2, thus that's the reason why I am using formula to check what's missing between Workbook 1 and Workbook 2.

    By any chance the 'helper' column is 'embedded' in Workbook 1?

    Edit:

    Solved!

    Was able to incorporate what you've done to Workbook 2 to Workbook 1 with ISNUMBER and MATCH formula.

    Reps up to you for the formula that I need which is to list.
    Last edited by dluhut; 08-08-2017 at 04:26 PM.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: List 'values' that are not found in the range via formula

    No: you need to compare the "long" list (Workbook 2) with the "short" list (Workbook 1") to identify differences i.e does 2 exist in 1.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: List 'values' that are not found in the range via formula

    See attached:

    in Workbook 1 (Column F)

    =COUNTIFS($A$2:$A$6,H2)

    in E2

    =IFERROR(INDEX($H$2:$H$12,SMALL(IF($F$2:$F$12=0,ROW($H$2:$H$12)-ROW($H$2)+1,""),ROWS($H$2:I2))),"")



    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files
    Last edited by JohnTopley; 08-08-2017 at 06:03 PM.

+ 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. Check range for values and return list of found unique values
    By kian82 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2017, 04:45 AM
  2. replace code/id values with a name found in a list
    By ebbo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2015, 10:25 AM
  3. How to populate a list box with multiple values found via VLOOKUP
    By jujufinder in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2015, 09:53 AM
  4. No Values found in range
    By justexcel-lent in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2014, 01:36 AM
  5. Check for values in a table and if found add value found in column to left to list
    By robhargreaves in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-07-2013, 02:57 PM
  6. search a cell for values in a range, return values found
    By carpe.cervisiam in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2011, 12:52 PM
  7. List all values found within a range.
    By ericwcf in forum Excel General
    Replies: 2
    Last Post: 10-30-2008, 10:17 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