+ Reply to Thread
Results 1 to 5 of 5

Finding latest date where for multiple entries

  1. #1
    Registered User
    Join Date
    01-15-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Finding latest date where for multiple entries

    Hi

    I have 2 columns where 1 column is a list of names and second column in which is dates of payments, I need to identify the latest date of payment for each name... How would i do this?

    Any help would be great

    Crystal

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding latest date where for multiple entries

    Are either the names or dates sorted/grouped together?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: Finding latest date where for multiple entries

    Obtain a unique list of names, say in column A of another sheet, then you can use this array* formula in B2 of that sheet (assuming row 1 has headers):

    =MAX(IF(Sheet1!A$2:A$100=A2,Sheet1!B$2:B$100))

    Adjust the cell ranges to suit your data (it is not advisable to use full-column references with array formulae), then copy down to cover your unique list.

    *An array formula needs to be committed using the key combination of Ctrl-Shift-Enter (CSE) rather than the usual <Enter>, but it can be copied down in the usual way(s).

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    01-15-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Finding latest date where for multiple entries

    its sorted by name then by payment date

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Finding latest date where for multiple entries

    Here's another way that'll work in Excel 2010 and later.

    Data Range
    A
    B
    C
    D
    E
    1
    Names
    Date
    -----
    Lookup Name
    Latest Date
    2
    Name1
    1/1/2014
    Name1
    1/10/2014
    3
    Name1
    1/2/2014
    4
    Name1
    1/5/2014
    5
    Name1
    1/6/2014
    6
    Name1
    1/10/2014
    7
    Name2
    1/1/2014
    8
    Name3
    1/1/2014
    9
    Name3
    1/2/2014
    10
    Name3
    1/3/2014


    This formula entered in E2:

    =IFERROR(AGGREGATE(14,6,1/(A2:A10=D2)*B2:B10,1),"")

    Format as Date

+ 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] Finding latest date
    By tbaskar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-08-2013, 11:37 PM
  2. Finding latest date
    By tbaskar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2013, 02:36 AM
  3. [SOLVED] finding latest date in table
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 12:48 PM
  4. Finding latest text entries
    By jonhall in forum Excel General
    Replies: 0
    Last Post: 07-27-2010, 12:39 PM
  5. Finding latest date
    By SilverHeli2000 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-22-2009, 02:13 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