Forum

Check for overlappi...
 
Notifications
Clear all

Check for overlapping sprint dates

7 Posts
2 Users
0 Reactions
172 Views
(@swallack202)
Posts: 77
Estimable Member
Topic starter
 

Hello -

To start, I do not have O365. I have Excel 2016.

I have a table of sprint dates and need to know whether any of the dates overlap. If so, I'd like to be able to identify where the overlaps occur.

Thanks!

 
Posted : 22/04/2022 6:05 pm
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

Two possible solutions (not in PQ though), provided that you sort the table by Start date, ascending.

 

=AND(B3<>"",OR([@Start]<=N(C1),[@End]>=B3))

or

=AND(OFFSET([@Start],1,0)<>"",OR([@Start]<=N(OFFSET([@Start],-1,1)),[@End]>=OFFSET([@End],1,-1)))

 

Both demonstrated in the attached file, as well as a PQ solution.

 
Posted : 23/04/2022 1:52 am
(@swallack202)
Posts: 77
Estimable Member
Topic starter
 

Thanks, Riny. Those are good solutions. However, in this scenario, I cannot make the assumption nor require that the table be sorted in any particular way. Nonetheless, I appreciate your kind assistance. 

 
Posted : 26/04/2022 6:50 am
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

But with PQ you can connect to an unsorted table and do the sorting in PQ. Your choice.

 
Posted : 26/04/2022 7:43 am
(@swallack202)
Posts: 77
Estimable Member
Topic starter
 

Thanks. I am new to PQ. I will investigate. Thank you!

 
Posted : 26/04/2022 9:29 am
Riny van Eekelen
(@riny)
Posts: 1194
Member Moderator
 

OK, perhaps I misunderstood your intentions, since you posted your question in the PQ section of the forum.

 
Posted : 26/04/2022 11:08 am
(@swallack202)
Posts: 77
Estimable Member
Topic starter
 

It was suggested I do so by a moderator. Thanks.

 
Posted : 26/04/2022 12:31 pm
Share: