+ Reply to Thread
Results 1 to 12 of 12

Need Formula to Display the values not found using vlookup

  1. #1
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Need Formula to Display the values not found using vlookup

    I have two columns containing numbers and have done a vlookup to see if the values exist in each column. Now I need a formula to return the numbers that were NOT found using the vlookup function.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Need Formula to Display the values not found using vlookup

    Hi,

    Could you please upload your workbook?

    Thanks

  3. #3
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need Formula to Display the values not found using vlookup

    My apologies. I don't know how to upload it.

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Need Formula to Display the values not found using vlookup

    No worries.

    Click "Go Advanced", then "Manage Attachments" and find the file to upload

  5. #5
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need Formula to Display the values not found using vlookup

    Oh, thanks! Here's the attachment.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Need Formula to Display the values not found using vlookup

    Just to confirm, do you want to know which values are in R but not in P? Or the values in P but not in R? Or are you basically after a list of unique values from both of these columns combined?

  7. #7
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need Formula to Display the values not found using vlookup

    Let me provide more details: I am running queries from two different sources, then placing them in Excel. Both sources contain ID values. I need to compare the ID values that exist in R and not P as well as exist in P and not R. If the vlookup does not find a matching ID then I need it to display the name associated to the ID. I have uploaded a new file with name column. My apologies that this question has probably been asked, but I have spent too much time trying to figure out the Excel formula and could realy use the help. Thanks.
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Need Formula to Display the values not found using vlookup

    This might be better achieved with VBA, but here is a solution using only Excel functions and formulas, with a number of hidden columns, as this is not in the VBA section of the forum.

    The list that I understand you are trying to extract is in column H. The formula refers to cells in the hidden columns F and G, which contain formulas referring to the hidden columns D and E. Feel free to look over the formulae in these hidden columns if you would like to understand what is going on here.

    I hope this helps

  9. #9
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need Formula to Display the values not found using vlookup

    Thanks for your time. I am not too familiar with the match and index functions in Excel. I would probably understand this better in VBA. (I should have posted it there.) I will work on accomplishing in VBA since I have to reconcile this data quarterly. Ultimately want to run the queries from both data sources and dump into data sheets in excel, then refresh the formulas or re-run the macros, etc. My problem would be solved!

  10. #10
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Need Formula to Display the values not found using vlookup

    No problems.

    I have added a VBA solution for you, on the "VBA" worksheet. Note that it gives a different solution to my previous Excel formula solution. I have since discovered that my Excel formula solution was incorrect.

    I hope this helps

    If this solves your problem, please don't forget to mark this thread as solved, and please click on the * next to my post to say thanks

  11. #11
    Registered User
    Join Date
    02-14-2013
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Need Formula to Display the values not found using vlookup

    I definitely want to take a look. Did you upload another file?

  12. #12
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,369

    Re: Need Formula to Display the values not found using vlookup

    Maybe with formula can work it out, please see the file

    Thanks
    Attached Files Attached Files

+ 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. want to average a bunch of values found with vlookup
    By EBos in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-14-2013, 10:06 PM
  2. [SOLVED] UDF to Vlookup multiple delimited values (numeric/non-numeric) and sum found values
    By Geert Rottiers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2013, 09:30 AM
  3. [SOLVED] How to match values found by vlookup
    By Berean50 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2013, 04:55 AM
  4. Replies: 1
    Last Post: 06-26-2009, 06:16 PM
  5. Match mutliple values and then display text if found
    By Weasel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-21-2008, 07:58 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