Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
I think this is what you want but I did not test it:
var Date CriticalDate = Min([Program approved], [Permanently Rejected]);
If($CriticalDate <= Date(2016,12,31), "2016",
$CriticalDate <= Date(2017,12,31), "2017",
$CriticalDate <= Date(2018,12,31), "2018",
$CriticalDate <= Date(2019,12,31), "2019"
)