Hi there,
I want to simplify an excessively long nested IF(OR formula; can anyone help?
Here is the formula:
=IF(OR(I$6=$F15+$H15,I$6=$F15+$H15*2,I$6=$F15+$H15*3,I$6=$F15+$H15*4,I$6=$F15+$H15*5,I$6=$F15+$H15*6,I$6=$F15+$H15*7,I$6=$F15+$H15*8,I$6=$F15+$H15*9,I$6=$F15+$H15*10),1,0)
I have attached a screenshot of what I'm trying to do. I am building a rent forecast model, and want to apply inflation. However, inflation could be every 2 years, or every 3 years etc. as specified. My formula only applies CPI after the start year, and then applies CPI at the frequency specified. However, I would need 20 or more OR formulas for my formula to forecast out 20+ years, but I'm sure there is a more graceful and compact formula to do the job. I'm just not sure how to do it.
Appreciative of anyone's help. Thanks very much
I want to simplify an excessively long nested IF(OR formula; can anyone help?
Here is the formula:
=IF(OR(I$6=$F15+$H15,I$6=$F15+$H15*2,I$6=$F15+$H15*3,I$6=$F15+$H15*4,I$6=$F15+$H15*5,I$6=$F15+$H15*6,I$6=$F15+$H15*7,I$6=$F15+$H15*8,I$6=$F15+$H15*9,I$6=$F15+$H15*10),1,0)
I have attached a screenshot of what I'm trying to do. I am building a rent forecast model, and want to apply inflation. However, inflation could be every 2 years, or every 3 years etc. as specified. My formula only applies CPI after the start year, and then applies CPI at the frequency specified. However, I would need 20 or more OR formulas for my formula to forecast out 20+ years, but I'm sure there is a more graceful and compact formula to do the job. I'm just not sure how to do it.
Appreciative of anyone's help. Thanks very much