+ Reply to Thread
Results 1 to 8 of 8

Most recent date based on match

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Most recent date based on match

    Hi
    I have a massive data sheet where I need to find the most recent date when matched with two columns of data.
    In the file provided, the "RAW_Data" sheet has a sample of all the data.
    In the second sheet "Results", I have provided the outcome based on matching the two columns A and C, with the most recent date provided in column E.

    The raw data has multiple matches and may include duplicated dates, as long as the most recent date is provided that is all I need.
    thanks for any assistance you can provide, my original data sheet has over 100,000 entries so this would save me loads of time.

    thanks
    Chris
    Attached Files Attached Files
    Last edited by Christopherdj; 09-30-2022 at 11:04 PM.

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: Most recent date based on match

    Worksheet or Tab name : Results

    Cell E2 formula , Drag down
    Formula: copy to clipboard
    =INDEX(RAW_Data!G:G,MATCH(A2&C2,RAW_Data!A:A&RAW_Data!C:C,))

  3. #3
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: Most recent date based on match

    Thank you, works when using Ctrl+Shift+Enter
    Exactly what I needed.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Most recent date based on match

    An option:

    Please create on sheet RAW_DATA in column H a helper column with =A2&C2 and copy down and try on sheet results in cell F2 and copy down:
    Formula: copy to clipboard
    =INDEX(RAW_Data!G2:G999,MATCH(A2&C2,RAW_Data!H2:H999,0))
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: Most recent date based on match

    Thanks HansDouwe,
    similar response but wk9128 has given me the greater outcome given the volume of data in my real file.

  6. #6
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,842

    Re: Most recent date based on match

    @Christopherdj You're Welcome. Glad to help . Thank You for the feedback and rep.

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Most recent date based on match

    @Christopherdj You're Welcome. Thank You for the feedback.

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Most recent date based on match

    You mentioned most recent date... try this:=AGGREGATE(14,6,RAW_Data!G:G/(VALUE(RAW_Data!A:A)=VALUE(A2))*(RAW_Data!C:C=C2),1)

+ 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. Most Recent Values by Date with Index and Match
    By src144 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2019, 03:36 PM
  2. Index Match Formula that Returns Most Recent Date
    By Catanzaroe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2017, 03:45 PM
  3. [SOLVED] INDEX MATCH Function with most recent date
    By thyzt in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-12-2016, 02:32 PM
  4. MATCH and INDEX to find most recent date
    By vwlibra in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-10-2016, 01:19 AM
  5. MATCH and INDEX to find most recent date and other conditions
    By vwlibra in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-09-2016, 08:05 PM
  6. [SOLVED] Index(Match()) to find most recent transaction for the same date
    By jonnyyyl in forum Excel General
    Replies: 3
    Last Post: 07-11-2015, 02:14 AM
  7. Vlookup using Indirect and possibly Match, return most recent date
    By daivd_vachon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-28-2012, 04:12 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