I wish to find the last two payments in Column B (but not always above each other) and then obtain the date that is in column A for those payments. Then have the number of days between these payments shown in the top of Column B.
All information starts from row 10 downwards.
What formula could I use to get this information ?
Assuming that your data is formatted as an Excel table, put this formula into B1 and press CTRL+SHIFT+ENTER to make it a range formula.
You would obviously have to substitute the PMT and DATE entries to match the table column headings, and replace "Table1" with your actual table name.
Thanks to @simoco for the inspiration from Given value in column A, find min/max in column B in EXCEL
EDIT To reference from a different sheet, and to not use a table:
and press CTRL+SHIFT+ENTER to make it a range formula.