Forum Discussion

RWA_HB's avatar
RWA_HB
Copper Contributor
Sep 30, 2021
Solved

Product sum in a time reporting sheet.

I have some difficulty to get the product sum to calculate what I want. 

 

I have a time reporting sheet that sums up the overtime depending on how long you work and during what time it is. 

 

But when someone works over 12h etc (07-20) the calculation goes wrong. For time 12h and below i calculates correctly.  Please see cell Z14 or Y19.

 

Of course i would like  help to fix my formula but also understand why i calculates wrong. 

 

 

3 Replies

  • NikolinoDE's avatar
    NikolinoDE
    Platinum Contributor

    RWA_HB 

     

    in German:

    =WENN(G6<F6;((G6+1)-F6)*24;(G6-F6)*24)

     

    in Englisch:

    =IF(G6<F6,((G6+1)-F6)*24,(G6-F6)*24)

     

    ... and pull it down with the mouse.

     

    I would be happy to know if I could help.

     

    Nikolino

    I know I don't know anything (Socrates)

     

    * Kindly Mark and Vote any reply if it helps please, as it will be beneficial to more Community members reading here.

Resources