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
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
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.
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
its sorted by name then by payment date
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks