Hi,
I am using a formula to calculate number of "work" days in a range of start and end dates. Not sure where the formula came from and need to modify it It is used to calculate the number of "workdays" in a range of dates that dont overlap.
=SUM(IF(MMULT((WEEKDAY(ROW(INDIRECT(MIN(INT(B14:B20))&":"&MAX(INT(C14:C20)))),2)<6)*(ROW(INDIRECT(MIN( INT(B14:B20))&":"&MAX(INT(C14:C20))))>=TRANSPOSE(INT(B14:B20)))*(ROW(INDIRECT(MIN(INT(B14:B20))&":"&MAX(INT(C14:C20))))<=TRANSPOSE(C14:C20))+0,ROW(B14:B20)^0),1))
13 Planned Start Date Planned Finish Date
14 8/16/2012 8/20/2012
15 8/19/2012 8/24/2012
16 8/21/2012 8/29/2012
17 9/1/2012 9/12/2012
18 10/2/2012 10/4/2012
19 11/1/2012 11/2/2012
20 11/2/2012 11/13/2012
I need to extend the Range to B14:B100 and C14:C100 but the cells may not have data in them, so the formula throws an error. I need to modify the formula to ignore the blank cells
I have tried using the <> "" after each range reference(B14:B20, <> "") and (C14:C20, <> "") but still not working for me, I am not sure what I am doing wrong
Thank you in advance for any advice you can give me
Bookmarks