My apologies. I didn't update the references after copy pasting. Please see updated file. I have also applied a filter - for item 1. But it includes one item 2 value as well. I know the dummy is correct. It works for most of the elements. Its just that filter is throwing errors. So weird

CountDaysWithoutOverlap2.xlsx

Thanks