I assume a report with a blank submission date will be ‘In progress’, unless the due date is before today, in which case it’s over due? And one where the submission date is before the due date is ‘up and coming’?
Try
IF(
{Report Due Date},
IF(
NOT(
{Report Submitted}
),
IF(
IS_AFTER(
TODAY(),
{Report Due Date}
),
'Overdue',
'In Progress'
),
'Up and Coming'
)
)
(The first IF()
statement is simply to keep the field from displaying #ERROR!
after the record is created but before {Report Due Date}
has been entered.)
Edit: Wait; that’s possibly wrong. I think you need another branch or two.
- No report submitted,
TODAY()
is after due date: ‘Overdue’.
- No report submitted,
TODAY()
is before due date: ‘In progress’.
- Report submitted before due date,
TODAY()
is before due date: ‘Up and coming’? ‘Completed’?
- Report submitted before due date,
TODAY()
is after due date: ‘Completed’?
- Report submitted after due date,
TODAY()
is either before or after due date: ‘Completed’? ‘Overdue’?
You’ll probably want to adjust the formula above to take the possible ‘Completed’ status into account…