+ Reply to Thread
Results 1 to 4 of 4

Return latest date based on matching criteria

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    bangalore, India
    MS-Off Ver
    2010
    Posts
    2

    Return latest date based on matching criteria

    Hi,

    I am looking for a formula that returns the latest Sale date for a each model of car. Below is sample data which I am trying to use the formula. Can someone help me with correct formula. I tried with below formula, but not successfu
    l.
    =MAX(INDEX($A$1:$C$40,MATCH(A2,$A$1:$C$40,0),3),1)


    Make Model Sale Date
    Audi A4 11-Jan-14
    Audi A4 quattro 12-Jan-14
    Audi A4 quattro 3-Jan-14
    Audi A5 Cabriolet 14-Jan-14
    Audi A5 Cabriolet q 15-Jan-14
    Audi A4 16-Jan-14
    Audi A4 quattro 17-Jan-14
    Audi A4 quattro 18-Jan-14
    Audi A6 quattro 19-Jan-14
    Audi A4 10-Jan-14
    Audi A4 quattro 09-Jan-14
    Audi A4 quattro 10-Jan-14
    Audi A4 11-Jan-14
    Audi A4 quattro 11-Jan-14
    Audi A4 quattro 11-Jan-14
    Audi A8L 11-Jan-14
    Audi A8L 11-Jan-14

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: Return latest date based on matching criteria

    If those in (I guess?!) C column are dates then in D1 use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Confirm with ctrl+shift+enter (not just enter) and pull formula down.

  3. #3
    Registered User
    Join Date
    07-25-2014
    Location
    bangalore, India
    MS-Off Ver
    2010
    Posts
    2

    Re: Return latest date based on matching criteria

    Quote Originally Posted by zbor View Post
    If those in (I guess?!) C column are dates then in D1 use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Confirm with ctrl+shift+enter (not just enter) and pull formula down.
    Hi,

    Excellecnt formula. I am getting the desired result. Thanks a ton for your quick reply.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Return latest date based on matching criteria

    Try this.....

    In E2 (Array Formula to get unique models. Array formula requires confirmation with Ctrl+Shift+Enter instead of just Enter.)
    Please Login or Register  to view this content.
    and copy down until you get blank cells.

    In F2 (Again an Array Formula requires CSE confirmation)
    Please Login or Register  to view this content.
    and copy down.

    For more details see the attached sheet.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. [SOLVED] Vlookup Base on Criteria but pick up the entry based on the latest date
    By kelkelkel08 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2014, 05:37 AM
  2. Powerpivot - Returning latest update based on latest date
    By Kehjz in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 08-22-2013, 02:45 PM
  3. [SOLVED] Find the latest date matching known data
    By tb100 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2013, 03:06 PM
  4. Sumif Based on matching date criteria
    By krunk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2013, 11:19 AM
  5. Replies: 1
    Last Post: 01-20-2012, 09:44 AM

Tags for this Thread

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