Forum Discussion

Anonymous's avatar
Anonymous
Oct 11, 2019
Solved

Calculating job estimates within working days and hours (in Excel). Help Please!

Hello,  I'm currently having a lot of trouble calculating estimates within working hours in excel.  Ill try to explain to the best of my ability what i am trying to accomplish. Attached is my curr...
  • Twifoo's avatar
    Twifoo
    Oct 22, 2019

    Deleted 

    In the attached version of your file, the formula in L2, copied across to N2, is: 

    =K2+INT(D2/7.5)+MOD(D2,7.5)/24+
    IF(MOD(K2,1)>=13/24,CHOOSE(1+(MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>15.5/24),
    0,15.5),CHOOSE((MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>7/24)+
    (MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>12/24)+
    (MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>15.5/24),0,1,16.5))/24+
    2*(K2+INT(D2/7.5)+MOD(D2,7.5)/24+
    IF(MOD(K2,1)>=13/24,CHOOSE(1+(MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>15.5/24),
    0,15.5),CHOOSE((MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>7/24)+
    (MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>12/24)+
    (MOD(K2+INT(D2/7.5)+MOD(D2,7.5)/24,1)>15.5/24),0,1,16.5))/24>
    INT(K2)+CHOOSE(WEEKDAY(K2),5,4,3,2,1,0,6)+15.5/24)

    In O2, the formula is: 

    =WORKDAY(N2,1)+
    7/24

    I hope that the foregoing formulas will now return your expected results, as shown here: 

     

Resources