Forum Discussion
QuickBaseCoachD
8 years agoQrew Captain
I let Eric do the heavy lifting here. But you can make the formula more readable like this
IF(
isnull([date 3]), [date 2]-[date 1],
not(isnull([date 3])) and isnull([date 4]),today()-[date 1],
not(isnull([date 3])) and not(isnull([date 4])),[date 4]-[date 1],
null)
IF(
isnull([date 3]), [date 2]-[date 1],
not(isnull([date 3])) and isnull([date 4]),today()-[date 1],
not(isnull([date 3])) and not(isnull([date 4])),[date 4]-[date 1],
null)