austinandrei
Board Regular
- Joined
- Jun 7, 2014
- Messages
- 117
Hi,
I'm having a hard time in trying to simplify my IF formula without restating the logic if the value was not achieve.
Say I'm trying to get the difference between years then add one and if the answer is 5, then it will take 4 instead of 5 so I'm using below:
What I don't want or to eliminate in the IF formula is the redundant statement of the RED font. Is it possible that if the answer is <=4, then just use the answer on the BLUE font and not to reinstate it again as it is making my overall formula longer.
Thanks!
I'm having a hard time in trying to simplify my IF formula without restating the logic if the value was not achieve.
Say I'm trying to get the difference between years then add one and if the answer is 5, then it will take 4 instead of 5 so I'm using below:
Rich (BB code):
=IF(1+YEAR(E$5)-YEAR($I$5)>4,4,1+YEAR(E$5)-YEAR($I$5))
Thanks!