maverick8519
New Member
- Joined
- May 5, 2009
- Messages
- 7
Hi all,
I am trying to figure out a way in excel to count the number of date range that overlap other date ranges. For example my data is set out like this
Subject Start End Outcome
A 9/05/09 20/05/09 2
B 10/05/09 25/05/09 2
C 1/06/09 15/06/09 3
D 3/06/09 20/06/09 3
E 10/06/09 25/06/09 3
I have tried using Sumproduct and countif function but all failed.
I want to have excel to count the overlap dates to the answer in outcome column. So it will count using subject A's first start and end dates as 1 then if there is another date range that overlaps another date range which in this caise Subject B it will count that as the 2nd one. Therefore both Subject A and B count will equal to 2. However if the first date range does not overlap any other date ranges it will count that as only 1.
Anyone able to help, I hope this make sense :P
Cheers,
I am trying to figure out a way in excel to count the number of date range that overlap other date ranges. For example my data is set out like this
Subject Start End Outcome
A 9/05/09 20/05/09 2
B 10/05/09 25/05/09 2
C 1/06/09 15/06/09 3
D 3/06/09 20/06/09 3
E 10/06/09 25/06/09 3
I have tried using Sumproduct and countif function but all failed.
I want to have excel to count the overlap dates to the answer in outcome column. So it will count using subject A's first start and end dates as 1 then if there is another date range that overlaps another date range which in this caise Subject B it will count that as the 2nd one. Therefore both Subject A and B count will equal to 2. However if the first date range does not overlap any other date ranges it will count that as only 1.
Anyone able to help, I hope this make sense :P
Cheers,