SOLVED

Add time sheet hours

Copper Contributor

I am trying to add the hours up,Image 2-21-23 at 2.05 PM.jpeg and once block I16 hits 40 hours would like the remaining hours to populate in block I17. 

 

The formula that I used to get total hours per each day: =if(g6>h6,h6+1,h6)-g6

The formula that I used to get total hours in block I16: =sum(I6:I15

 

 

4 Replies

@AAFox 

A shorter formula in I6:

=MOD(H6-G6, 1)

 

Edited to correct mistakes!

In I16:

=MIN(SUM(I6:I15), 40/24)

In  I17:

=MAX(SUM(I6:I15)-40/24, 0)

I was unable to get these formulas to work.
best response confirmed by Grahmfs13 (Microsoft)
Solution

@AAFox 

I have corrected my previous reply.

I have attached a simple sample workbook to this reply.

Thank you, it worked perfectly.
1 best response

Accepted Solutions
best response confirmed by Grahmfs13 (Microsoft)
Solution

@AAFox 

I have corrected my previous reply.

I have attached a simple sample workbook to this reply.

View solution in original post