+ Reply to Thread
Results 1 to 7 of 7

Find 5 latest dates and return values for each

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Find 5 latest dates and return values for each

    The table contains dates, name, and mark.
    Similar to Vlookup, I want to select a name, and have the marks for the latest 5 dates be displayed.

    Alternately would this be best completed by a formula or a macro?

    Example attached
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Find 5 latest dates and return values for each

    Here one posible solution
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Find 5 latest dates and return values for each

    Thanks again popipipo!

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Find 5 latest dates and return values for each

    In cell D4, use the array formula:

    Please Login or Register  to view this content.
    Confirm as an array with Ctrl-Shift-Enter.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  5. #5
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Find 5 latest dates and return values for each

    What about when more dates / data is added?

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Find 5 latest dates and return values for each

    Another solution.
    Is 100 dates enough?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-17-2012
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    80

    Re: Find 5 latest dates and return values for each

    Nope, but from that formula I can adjust it. Thanks popipipo!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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