Latest Interest rate

Swaroon

Active Member
Joined
Nov 18, 2005
Messages
284
Office Version
  1. 365
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



Answer

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
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top