I'm trying to create a formula that will give the project status based on start date, end date, and complete flag. I have been working on the following formula for a bit, trying different iterations, but it just wont work. If the record does not have a Start date, then Status should be TBD, else, if Start date is greater than or equal to Today and Due date is greater than 15 days from today, then status is On Track, else if Start date is greater than or equal to Today and Due date is less than 15 days from today then status is Coming Due.
=IF([Complete]@row = 1, "COMPLETE", IF([Start Date]@row = "", "TBD", IF(and([Start Date]@Row > Today(),[Due Date]@row <= (TODAY(+15))), "COMING DUE", IF([Start Date]@Row >= Today(), "ON TRACK")), "NOT STARTED"))