Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Feb 16, 2021 10:13 AM
I’ve looked all over for this, and there are formulas that get close, but nothing that quite gets what I want.
If the date is equal to or past the date under “Deadline”, autofill the formula cell with “OVERDUE”, unless the Status column (single select) is tagged “Complete”, in which case it should say “Done” no matter what (before, on, or after deadline)
Else-wise, the formula cell should be blank.
Feb 16, 2021 10:38 AM
Try something like this (might need a tweak)…
IF({Status}=“Complete”,“Done”,IF(IS_AFTER(TODAY(),{Deadline}),“OVERDUE”))
Feb 16, 2021 10:46 AM
It says invalid formula.
Feb 16, 2021 10:50 AM
Can you copy/paste the formula as you have it? Did you need to change either of the field names?
Feb 16, 2021 11:10 AM
I pasted exactly what you suggested and didn’t need to change any field names. The columns are labeled Deadline and Status on my base.
Feb 16, 2021 11:17 AM
Well, I wanted to see your formula because, sometimes when you copy/paste, the double quotes get turned into the wrong type of quotes.
I’ll bet you $1 that if you manually retype the double quotes, the formula will work well.
Good luck!!
Feb 16, 2021 11:35 AM
Maybe you owe me $1?
IF({Status}=“Complete”,“Done”,IF(IS_AFTER(TODAY(),{Deadline}),“OVERDUE”))
Feb 16, 2021 11:36 AM
YOU WERE RIGHT! It was a difference of slanted quotes vs regular quotes.
Feb 16, 2021 11:39 AM
Looking good! How would I add in for multiple Statuses, like if i wanted it to ignore “Complete” and “Archived”
Feb 16, 2021 11:44 AM
When you say “ignore”, do you mean how would you remove them from view? If that’s the case, you would use the filter capability of the view.