Results 1 to 9 of 9

Lookup/Match - Compare 1 list to 2 other lists based on 2 columns - example provided

Threaded View

  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    England
    MS-Off Ver
    2007
    Posts
    191

    Lookup/Match - Compare 1 list to 2 other lists based on 2 columns - example provided

    Hi,

    Hopefully the example I have made shows clearly what I am asking....

    There is a list of refs and line numbers to go with them, there can be duplicates of the refs for multiple client contracts, each will have a unique line number against that ref to tell them apart.

    There are 3 sheets: a list of ones due for renewal, a list of ones renewed, and a list of ones expired.

    I want to put formulas in the 3 columns for 'Renewed', 'Replaced', and 'Expired'.

    I have already done the Renewed column with this formula: (Array)

    Formula: copy to clipboard
    {=IF(NOT(ISERROR(MATCH(A2&B2,Renewed!$A$2:$A$5&Renewed!$B$2:$B$5,0))),"Y","")}


    And this works fine.

    The problem with the other 2 columns is that one could be expired but then also recreated against that ref with a new line number. In that case it will appear on the expired list matching both ref and line number, and it will also appear on the renewed list matching the ref but with a new line number that didn't exist for that ref on the due list. The line number could exists for other refs on the due list though.

    So I need to match both columns A&B on the due list to columns A&B on Expired, but exclude if column A also matches the renewed lists while column B does not.

    As I said hopefully the example makes it clear what I am asking.

    Many thanks in advance for any help on this problem.
    Attached Files Attached Files
    Last edited by D.Lovell; 05-23-2015 at 04:16 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ARRAY FORMULA LIST: based on 2 lists (match)
    By thejames in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-26-2015, 10:31 PM
  2. Replies: 4
    Last Post: 11-19-2013, 10:32 AM
  3. Replies: 3
    Last Post: 06-06-2013, 12:51 PM
  4. Replies: 0
    Last Post: 01-15-2013, 11:30 AM
  5. [SOLVED] Compare 2 columns, and create a list of items that are in both lists
    By ruby2sdy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-08-2005, 07:05 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