hi there,
For some reason I cannot get this code to work no matter what I tried.
I have a table called tblTracker in excel with the columns Name, Start Date and End Date.
The table starts on Row 6 (Row 5 are the headers). Column D is the Start Date Column and Column E is the End Date Column. Column B is the Name column.
I am trying to find duplicate / overlapping date ranges.
This code works:
SUMPRODUCT(($D6<=$E$6:$E$60)*($E6>=$D$6:$D$60)*($B6=$B$6:$B$60))>1
But when I try to reference the table columns (so it is dynamic), I can't get it to work.
I have tried:
SUMPRODUCT(($D6<=tblTracker[End Date])*($E6>=tblTracker[Start Date])*($B6= tblTracker[Name]))>1
And other things but it keeps giving me a formula error.
Please help and thanks!
Jen
For some reason I cannot get this code to work no matter what I tried.
I have a table called tblTracker in excel with the columns Name, Start Date and End Date.
The table starts on Row 6 (Row 5 are the headers). Column D is the Start Date Column and Column E is the End Date Column. Column B is the Name column.
I am trying to find duplicate / overlapping date ranges.
This code works:
SUMPRODUCT(($D6<=$E$6:$E$60)*($E6>=$D$6:$D$60)*($B6=$B$6:$B$60))>1
But when I try to reference the table columns (so it is dynamic), I can't get it to work.
I have tried:
SUMPRODUCT(($D6<=tblTracker[End Date])*($E6>=tblTracker[Start Date])*($B6= tblTracker[Name]))>1
And other things but it keeps giving me a formula error.
Please help and thanks!
Jen