Latest Interest rate

Swaroon

Active Member
Hi, I have a list of agreemeents and the history of the interest rate associated with each agreement.
So eg. Agreement XYZ000001 appears 3 times as there have been 3 changes to the interest rate.
Against a full list of agreement numbers (aooear only once in list), I need to pull the most recent effective date and interest rate
Out of the table below, I'm showing the required result underneath - make sense ?

Agreement# Intreffectivedate Interestrate
XYZ000001 14/05/2015 0.1856
XYZ000001 30/03/2015 0.18425
XYZ000001 14/02/2015 0.1785
XYZ000002 18/05/2015 0.18656
XYZ000002 30/04/2015 0.18425
XYZ000002 14/04/2015 0.1785
XYZ000003 01/05/2015 0.1866
XYZ000003 15/04/2015 0.18425
XYZ000003 14/03/2015 0.1785

Agreement# Intreffectivedate Interestrate
XYZ000001 14/05/2015 0.1856
XYZ000002 18/05/2015 0.18656
XYZ000003 01/05/2015 0.1866

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Your table is sorted per Agreember # and then per Most Recent Date, this means you could run a straight VLOOKUP to return the first matches

Are the dates always sorted latest to oldest? (Within each agreement #?).

If so then try this for the date.

=INDEX(\$B\$2:\$C\$10,MATCH(\$A21,\$A\$2:\$A\$10,0),1)

Change the 1 at the end to 2 for Interest Rate.

Thanks for the help, sorted

You're welcome, thanks for the feedback.

Replies
2
Views
275
Replies
5
Views
314
Replies
6
Views
193
Replies
1
Views
104
Replies
1
Views
110

1,202,916
Messages
6,052,539
Members
444,591
Latest member
exceldummy774

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back