+ Reply to Thread
Results 1 to 2 of 2

Comparing Multiple Columns and Returning List of Entries Not Found

  1. #1
    Registered User
    Join Date
    12-12-2014
    Location
    KC, MO
    MS-Off Ver
    2010
    Posts
    3

    Comparing Multiple Columns and Returning List of Entries Not Found

    I am in over my head a bit on this one, and could use some assistance. It would be most appreciated.

    I have Worksheet 1 that tracks travel by Name and Document Number. The report already utilizes several formulas to pull in relevant data (dates, amounts, etc.) by these two variables from a report on Worksheet 2. This report is updated by copying and pasting into Worksheet 2 with data derived from another source. When this overlay occurs, all the fields on Worksheet 1 update with the new data that corresponds to the Name/Document number combo.

    Column A = Names Already Listed in Existing Worksheet
    Column B = Document #s Already Listed in Existing Worksheet
    Column C = Names Listed In Updated Report
    Column D = Document #s Listed in Updated Report

    For simplicity sake I've listed these all together, however, Columns A and B actually appear on on Worksheet 1, and Columns C and D appear on Worksheet 2 where we copy and paste over the data from another source to update the listing. Column E referenced below will appear on Worksheet 1 and is the focus of this question (and perhaps the need for a column F?).

    As a test, in Column E, I used the formula {=IFERROR(INDEX($A$1:$A$1999,MATCH(0,IFERROR(MATCH($A$1:$A$1999,$C$1:$C$1999,0),COUNTIF($E$1:$E1,$A$1:$A$1999)),0)),"")} and have been able to return a list of names that are on the updated report, that are not yet programmed into the Existing Worksheet 1, which indicates to the user that they would need to manually add that name to the worksheet so that it will update. Once they have done so, the name dissappears from Column E.

    What I am needing, due to the fact that there may be duplicate Names, with different Document Numbers, is a formula that will Compare A to C AND B to D and return in E (and perhaps F?) those combos of names/document numbers that do not appear in the existing Worksheet 1.

    An example would be:

    James Smith already appears in our Worksheet 1, with a Document Number of R7-000001. This updates automatically for all other variables on the worksheet when that combo is found on Worksheet 2. When James Smith appears in combination with R7-000002, I need the new formula to list that combination so the user knows it needs to be added to Worksheet 1 for tracking.

    Thanks in advance for any guidance.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Comparing Multiple Columns and Returning List of Entries Not Found

    Please attach a sample of your workbook so we don't need to re-create your work to find possible solutions. Remember to remove/replace sensitive info before uploading the file.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ 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. Replies: 4
    Last Post: 08-04-2014, 04:48 AM
  2. Excel Function to Generate list of unique entries from multiple columns
    By ronnycool in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 06:15 PM
  3. [SOLVED] Returning list of products from multiple entries
    By fimbertil in forum Excel General
    Replies: 5
    Last Post: 05-01-2013, 07:11 AM
  4. [SOLVED] Returning Multiple Results into different columns from a master list
    By SpoonMan22 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-26-2013, 10:37 PM
  5. Macro for comparing two columns and returning those that weren't found
    By kurtwagner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2012, 02:09 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