Remaining_days__c = End_date__c - today();
End Date__c is Null in my required case, making Remaining Days as "Null-today()"
I am trying to make this work for a formula field, however its failing. Returns value "-" to Status__c, in case Remaining_days__c>90 which is satisfying the else condition, but returns value "Urgent" i.e. for Remaining_days__c<10, in case when we pass "End_Date__c-today()" in Remaining days, which should ideally pass in else condition.
Status__c=
IF(Remaining_Days__c <0 , "Late",
IF(Remaining_Days__c <10, "Urgent",
IF(Remaining_Days__c <30, "Soon",
IF(Remaining_Days__c <90, "Started", "-"))))
Tried passing value by making Remaining Days as today()-today(), but no luck!