rerturn latest date

C

confused!!

I have a history of password change dates each user on the system

An example of how my records look:
MOTON 7/01/09
MOTON 10/14/09
MOTON 12/28/09
MOTON 1/15/10
Objective is to return only the most recent or latest date change in that
list of dates. The name is already in a complete list of users so I would
like to search from worksheet 1 column A list of names in worksheet 2 column
B returning only the most recent or latest date change.
 
P

Pete_UK

If your first name is in A1 of sheet1, put this array* formula in B1:

=MAX(IF(Sheet2!A$1:A$1000=A1,Sheet2!B$1:B$1000))

adjust the ranges to suit your data, and format the cell as a date.
Then copy down as far as needed.

* An array formula needs to be committed using the key combination of
Ctrl-Shift-Enter (CSE) rather than the usual <enter>. If you do this
correctly then Excel will wrap curly braces { } around the formula
when viewed in the formula bar - do not type these yourself. If you
need to amend the formula you will have to use CSE again.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top