Forum Discussion
graycrumbs
Jan 12, 2021Copper Contributor
Apply An escalation rate depending on the year
Hi there,
I wish to use a formula that applies an escalation rate to a certain fee depending on the year that the fee is charged.
For Instance, If a project goes begins part way through 2020 and ends in feb of 2022, working days in 2020 need to be charged the normal rate, working days in 2021 need to be charged the normal fee + the escalation rate * normal fee and the working days in 2022 need to be charged the normal fee + the escalation rate^2 * normal fee.
This formula needs to be applicable to any number of years that the project could span
Cheers for the help
- mtarlerSilver Contributor
graycrumbs First of all I assumed you had a typo and the you really wanted a compounding interest type on the escalation rate and therefore (1+escalation)^N, assuming escalation is a % increase since you are + base rate on top of it. It isn't the prettiest and maybe one of you accountants know of some fancy accounting formula in excel to make it easier, but I believe it does what you want:
=LET(start,A2,end,B2,baserate,C2,escalation,D2,holidays,0,startyr,NETWORKDAYS(start,DATE(YEAR(start),12,31),holidays),endyr,NETWORKDAYS(DATE(YEAR(end),1,1),end,holidays),IFS(start>end,"bad start/end dates",YEAR(end)=YEAR(start),NETWORKDAYS(start,end,holidays),YEAR(end)-YEAR(start)=1,startyr+(1+escalation)*endyr,TRUE,LET(yrcount,SEQUENCE(YEAR(end)-YEAR(start)-1,,1,1),years,NETWORKDAYS(DATE(YEAR(start)+yrcount,1,1),DATE(YEAR(start)+yrcount,12,31),holidays),SUM(startyr,years*(1+escalation)^yrcount,endyr*(1+escalation)^(YEAR(end)-YEAR(start)))))*baserate)
you set the location of the start date (A2), end date (B2), base rate (C2), escalation rate (D2) and an array of holidays (0) you want to take into account. you can play with it in the attached sheet.
- MegArchSTNCopper ContributorDoesn't work. The formula is returning the number of days and is not affected by the escalation.
- mtarlerSilver Contributor
MegArchSTN i don't understand your comment. I downloaded that file, copied the line down and changed the escalation on each line and seems to affect it:
maybe you can explain better what isn't working for you or how it is acting on your copy?