ShontaySmith
8 years agoQrew Assistant Captain
Help with multiple If statements in a date field
I have a date field with multiple If conditions
If(not Isnull([Override Actual Complete Date]),Override Actual Complete Date],
If([Total # of Active In-Service Tasks - Job] > 0,
If([Total # of Active In-Service Tasks - Job] = [Total # of Active In-Service Tasks Completed - Job], [Latest Actual In-Service Complete Date - Job]),
If([Total # of Tasks Completed - Job] = [Total # of Active Tasks - Job], [Latest Actual Complete Date - Job])
)
)
If(not Isnull([Override Actual Complete Date]),Override Actual Complete Date],
If([Total # of Active In-Service Tasks - Job] > 0,
If([Total # of Active In-Service Tasks - Job] = [Total # of Active In-Service Tasks Completed - Job], [Latest Actual In-Service Complete Date - Job]),
If([Total # of Tasks Completed - Job] = [Total # of Active Tasks - Job], [Latest Actual Complete Date - Job])
)
)