In a nutshell, I have an Excel workbook that updates Exchange Rates, the workbook is driven by dates (fortnightly basis).
A historical worksheet shows the rates each fortnight – the date is the driver but the issue I am having is that when a rate has not changed I need the formula to search back each fortnight until the last change to the rate was made. I am not sure what formula to use here.
EG:
Fortnight 1 – Set rate;
Fortnight 2 – No change to Rate;
Fortnight 3 – No change to Rate;
Fortnight 4 – No change to Rate;
Fortnight 5 – change to Rate
Basically thinking in binary terms it would be: 1,0,0,0,1 – so if in fortnight 3 no change then it would pick up fortnight 2, but if this is no change, then goes back to Fortnight 1 (so like a loop until it reaches the last change that was made).
Any help would be much appreciated!
A historical worksheet shows the rates each fortnight – the date is the driver but the issue I am having is that when a rate has not changed I need the formula to search back each fortnight until the last change to the rate was made. I am not sure what formula to use here.
EG:
Fortnight 1 – Set rate;
Fortnight 2 – No change to Rate;
Fortnight 3 – No change to Rate;
Fortnight 4 – No change to Rate;
Fortnight 5 – change to Rate
Basically thinking in binary terms it would be: 1,0,0,0,1 – so if in fortnight 3 no change then it would pick up fortnight 2, but if this is no change, then goes back to Fortnight 1 (so like a loop until it reaches the last change that was made).
Any help would be much appreciated!
Last edited: