Hey guys I am working with lease end dates and I am trying to create a nested if statement that says, If the extended lease end date is over 30 days away then "green". If the extended lease end date is less than 30 days away or today then turn "yellow". If the extended lease end date is past todays date then turn "Red". I have the first two correct I believe but I can't seem to get the last part to work. What am I doing wrong here? Any help would be appreciated.
=IF([Extended End Date]@row > today(30), "Green", IF([Extended End Date]@row <= today(30), "Yellow", IF([Extended End Date]@row < today(), "Red")))
I am also trying to include a contingent where the [End Date] shows "N/A" as well and can't get that to work either. I am not sure I have this correct.
=IF([Extended End Date]@row > TODAY(30), "Active", IF([Extended End Date]@row <= TODAY(30), "Almost Expired", IF(AND(Today() - [End Date]@row < "1d", [Extended End Date]@row = "N/A", "Expired")))