Please see formula below - when the planned date is less than the due date and inside the same month it shows as 'N/A'…. when the planned date is greater than either the actual day/date or the month in the due date of next inspection column it shows as 'Yes' in late booking column - when the planned date is less than the due date it shows as 'IN PAST - ACTION ASAP' - I want it so that if the planned date is a date less than todays date then show as 'IN PAST - ACTION ASAP', also what i want is.. if the planned date is later than the due date but outside of the month so greater then i want it to show as 'YES - OUTSIDE MONTH- but if the planned date is less than the due date of next inspection but outside of its month so month outside the due date month i want it to show as ' IN PAST - OUTSIDE MONTH'.
I know this is a tad confusing but please see formula below and also a snippet of it. The formula the column is in is 'Late Booking?'
=IF(ISBLANK([Planned/Proposed Service Date]@row ), "", IF([Planned/Proposed Service Date]@row > [Due Date Of Next Inspection]@row , "YES", IF(AND(MONTH([Planned/Proposed Service Date]@row ) = MONTH([Due Date Of Next Inspection]@row ), YEAR([Planned/Proposed Service Date]@row ) = YEAR([Due Date Of Next Inspection]@row )), "N/A", "IN PAST - ACTION ASAP")))