Hello,
I have been struggling with this formula for a few days now and can only get bits and pieces of it to work. So I am hoping I can get some help here. Essentially I am trying to create a formula that includes 5 fields and depending on what is in them, give me three possible outcomes. The fields I have are:
1. Approved?
2.First Date Absent
3.Return Date
4.Calendar Start Date
5.Calendar End Date
So what I am trying to accomplish is create a formula to first check if the approved field is checked, I want nothing to happen if that field is not checked. Then I want the formula to check if the First Date Absent is less than the Return Date. If that is true then I want the sheet to give me the Return Date -1. If that statement isn't true then I want it to go to the second part and check if the First Date Absent is equal to the Return date. If that is true then I want the sheet to just give me the Return Date. If no conditions are met, I want it to return blank.
Here is an example of one of the many forumals I have tried.
=IF(Approved?141 = 1, AND([First Date Absent]141 < [Return Date]141, [Return Date]141 - 1, OR(IF(Approved?141 = 1, AND([First Date Absent]141 = [Return Date]141, [Return Date]141, " ")))))
I've tried to simplify this code to just two varibles, and a multitude of other variations but I cannot seem to get this to work when I add more than one logical function. Is what I am trying to accomplish even possible within Smartsheet?