The logic used to apply conditional formatting depends on the start and end times.

AND returns TRUEonly if all the conditions are met.

If any conditions are not met, the AND function returns FALSE.

Excel formula: Gantt chart

OR returns TRUEif any condition is TRUE.

If all conditions are FALSE, the OR function returns FALSE.

Excel formula: Gantt chart with weekends

Excel formula: Gantt chart by week

Excel formula: Highlight dates between

Excel formula: Dynamic calendar grid

Excel AND function

Excel OR function

Article image

Article image

Article image

Article image