Can you please help with the below
in this formula is there anyway i can add a time limit for “unsatisfactory” rating. That if Submission date has been exceeded by 14 days, it should fall under unsatisfactory.
for “below Expectation” the Submission Date should should be below extension of 14 days.
These are the conditions i need
- Expected date and Submission Date are blank : Enter dates
- Submission Date is blank or 15 days more than Expected date: "Unsatisfactory
- Expected date and Submission Date are equal: “Meets Expectations”
- Expected date is less than Submission Date: “Below Expectations”,
- Expected date is more than Submission Date: “Exceeds Expectations”
Below is the formula that i am currently using:
SwitchIf(
IsBlank(thisRow.[Expected date]) AND IsBlank(thisRow.[Submission Date]),
“Enter dates”,
(thisRow.[Expected date]) AND IsBlank(thisRow.[Submission Date]),
“Unsatisfactory”,
thisRow.[Submission Date] = thisRow.[Expected date],
“Meets Expectations”,
thisRow.[Expected date] < thisRow.[Submission Date],
“Below Expectations”,
thisRow.[Expected date] > thisRow.[Submission Date],
“Exceeds Expectations”
)