I have a series of date ranges and I'm trying to find a solution (ideally without pivot tables) to count the unique days within the ranges by month.
For example, for the following ranges:
1/10/2012 - 1/12/2012 (3 total days, 3 unique days in Jan)
1/12/2012 - 1/15/2012 (4 total days, 3 unique days in Jan, as 1/12 was already counted)
1/30/2012 - 2/2/2012 (4 total days, 2 unique days in Jan, as 2/1 and 2/2 would fall under February)
So for January, the total I'd be looking for was 8.
Had a bunch of false starts, but can't seem to wrap my head around this one. Any suggestions to get me going?
Thanks,
Larry
Bookmarks