Hi There,
Below I have a table start and end dates for specific employees.
I have 43 days overlapping, but this does not take into account the the names, but rather the entire list. (Using this array formula {=SUM(IF(FREQUENCY(IF((MIN(Start)+COLUMN(OFFSET($B$1, , 0, , MAX(End)-MIN(Start)+1))-1<=End)+(MIN(Start)+COLUMN(OFFSET($B$1, , 0, , MAX(End)-MIN(Start)+1))-1>=Start)>1, MIN(Start)+COLUMN(OFFSET($B$1, , 0, , MAX(End)-MIN(Start)+1))-1, ""), MIN(Start)+COLUMN(OFFSET($B$1, , 0, , MAX(End)-MIN(Start)+1))-1)>1, 1, 0))}.
(Note: the above formula has not been fully tested, but appears to work)
"Start" and "End" dates have been defined as names.
My first challenge is to use the formula above, but only sum the days that pertinent to the "Name", not the entire list
"Overlaps with" - is the number of other transactions (row/line items) relating to the same employee that overlap. (2nd challenge)
"First Overlap" - is the first line (duplicate name) (from top to bottom) that it overlaps with. (3rd Challenge). (I realize another column with transaction number would be required in this case)
I would prefer to avoid VBA and use formulas. Any assitance would be greatly appreciated as I know this is quite a toughie:)
Name Start End overlaps with by how many days First Overlap
Liur, ANC_00005 2013/04/08 2013/04/18 43.00
Bob, AB_00002 2013/04/19 2013/04/29 43.00
Bob, AB_00002 2013/04/30 2013/05/10 43.00
Beoln, ABD_00004 2013/05/11 2013/05/21 43.00
Liur, ANC_00005 2013/04/08 2013/04/18 43.00
Beoln, ABD_00004 2013/04/19 2013/04/29 43.00
Beoln, ABD_00004 2013/04/30 2013/05/10 43.00
Beoln, ABD_00004 2013/05/11 2013/05/21 43.00
Beoln, ABD_00004 2013/05/22 2013/06/01 43.00
Beoln, ABD_00004 2013/06/02 2013/06/12 43.00
Beoln, ABD_00004 2013/06/13 2013/06/23 43.00
Beoln, ABD_00004 2013/06/24 2013/07/04 43.00
Beoln, ABD_00004 2013/07/05 2013/07/15 43.00
Beoln, ABD_00004 2013/07/16 2013/07/26 43.00
Beoln, ABD_00004 2013/07/27 2013/08/06 43.00
Thanks,
ENDO123
Bookmarks