+ Reply to Thread
Results 1 to 3 of 3

Find latest date from variable range

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    Wiltshire, England
    MS-Off Ver
    2010
    Posts
    15

    Find latest date from variable range

    Hi

    I have a range of reference numbers with corresponding dates which change continually. I need to find the latest date against each individual reference number, ie:

    200.1 30 Sep 16
    200.1 26 Jan 16
    200.1 26 Jan 16

    Should return 30 Sep 16 for reference 200.1.

    I have the below code which gets stuck at the indicated line, I previously got this to work but it did not pick out the latest date, just a random date from each reference number, in the case of the above it was the first occurence of 26 Jan 16. I think this was a problem with the MAX function looking up against the reference number instead of the date.

    Any help would be much appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Find latest date from variable range

    Do you know that a Pivot Table could do the job
    Without real data it is not easy to understand but perhaps use
    Please Login or Register  to view this content.
    Last edited by PCI; 07-20-2016 at 01:06 PM.
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Find latest date from variable range

    Another way
    Please Login or Register  to view this content.

+ 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. Replies: 9
    Last Post: 12-21-2014, 06:29 PM
  2. [SOLVED] Find the latest date
    By fitzt70 in forum Excel General
    Replies: 5
    Last Post: 07-16-2013, 03:36 AM
  3. Replies: 1
    Last Post: 04-04-2012, 08:21 AM
  4. Find Latest Date
    By Loisw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2011, 06:09 AM
  5. Replies: 3
    Last Post: 08-11-2009, 11:46 AM
  6. Find latest date for each row
    By scuba79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2005, 06:05 PM
  7. [SOLVED] Find latest date
    By john.bedford3 in forum Excel General
    Replies: 2
    Last Post: 02-13-2005, 03:06 PM

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