Results 1 to 7 of 7

Comparing two lists and extracting differences

Threaded View

irbadatvba Comparing two lists and... 01-14-2019, 09:22 PM
kersplash Re: Comparing two lists and... 01-15-2019, 02:31 AM
irbadatvba Re: Comparing two lists and... 01-16-2019, 11:38 PM
mikerickson Re: Comparing two lists and... 01-16-2019, 11:59 PM
irbadatvba Re: Comparing two lists and... 01-20-2019, 01:00 AM
irbadatvba Re: Comparing two lists and... 01-23-2019, 01:14 AM
JeteMc Re: Comparing two lists and... 01-29-2019, 05:34 PM
  1. #1
    Registered User
    Join Date
    01-14-2019
    Location
    Nepal
    MS-Off Ver
    Office 365
    Posts
    4

    Comparing two lists and extracting differences

    Hi, I have spent a significant amount of time trying to figure out how to do this before coming here, unfortunately given I rely on the macro recorder and other's code examples I am unable to resolve this so many thanks in advance!

    I have two lists which 'should' reconcile. Within each list/row is several variables - buy/sell (direction), amount, rate and currency - these all need to match, among other entries that won't need to be matched.

    The difficult part is that there may be duplicates within each list as not all users can see all entries. For example, say there are 3 of the same entries in only one sheet, but 2 in the other (all identical however). I need to avoid confirming they match if the 3 identical entries match against a single entry in the other list (so needs to be able to treat each entry as unique). I thought of resolving this issue by deleting a matching row every time there is a match, hence in the above example, once it matched the first 2 of the 3 entries, the script will be unable to match the last (3rd) entry given the other 2 were deleted.

    I would then copy the remaining entries (the entire row of that particular list only) from the list that has deleted entries and copy them into an unmatched sheet. I would then reverse the process and do it the other way around to identify discrepancies in the initial list.

    Perhaps someone can suggest a smarter way of doing this over all? Perhaps prescribe each row in each list a unique variable and then match them off, extracting any remaining unmatched variables?

    Thanks

    EDIT: To clarify, the comparable fields are not next to one another, so the code needs to accommodate comparing fields within a row of differing positions.
    Last edited by irbadatvba; 01-14-2019 at 10:29 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. is there a way of extracting differences between two spreadsheets?
    By centraltickets in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-29-2017, 11:11 AM
  2. Add or remove info to lists and highlight differences between two lists
    By alipezu in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-30-2014, 08:51 PM
  3. Comparing and extracting data from 2 lists
    By blue5ky in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2014, 12:22 AM
  4. [SOLVED] Comparing 2 Lists to Identify Differences
    By ORRACLE1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2012, 02:26 PM
  5. Comparing differences between two columns
    By MI_Analyst in forum Excel General
    Replies: 1
    Last Post: 11-02-2010, 06:51 AM
  6. [SOLVED] Comparing two lists and extracting data from one to another
    By Clement in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2006, 02:40 PM
  7. Comparisons & Extracting Differences
    By Pauldls in forum Excel General
    Replies: 1
    Last Post: 03-17-2005, 07:58 AM

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