Tip Printed from ExcelTip.com
Retrieving the Most Recent Payment Made by Client


Problem:

Columns A & B list all the pay dates of various clients.
We want to retrieve the date of the most recent payment made by each of the clients listed in column D.

Solution:

Use the MAX and IF functions as shown in the following Array formula:
{=MAX(IF($A$2:$A$8=D2,$B$2:$B$8))}