Explanation

Consider for a moment how overlapping dates work.

The SUMPRODUCT function is perfect for this kind of test because it handles array comparisons elegantly.

Excel formula: Highlight dates between

Excel SUMPRODUCT function

Article image

Article image

Article image

Article image