Hi All! This is what I am trying to achieve:
I would like to add a function or formula in 'Availability' column to determine if the Vessel(s) selected in 'Vessel Type' column are available or not for newly 'Submitted' rows.
Condition to check availability: Compare Start Date and End Date for Vessel(s) in 'Submitted' with Start and End Date of those Vessels with 'Scheduled' Status:
- If date range for Submitted vessels overlap with date range with previous records with Scheduled status - then Not Available
- If Date range is outside the date range of previous records with Scheduled status - then Available
- If Start Date for vessels in 'Submitted' row is equal to or greater than the 'End date' on 'Scheduled' row, then Available.
I have attached an example of my data. I would also like to know if this can be achieved using Automation workflow. I am open to adding news columns. Thanks!