I have a timecard sheet I am working on that I got to figure the time worked and round to the nearest quarter hour, which is what i wanted it to do. However, I can't seem to get it to work if that person takes a lunch hour and their shift goes past midnight into the next day. In row 45 when there is just an in & out punch it works fine. But if I try to add a lunch hour, I get a negative return value. One crew works 7 pm until 7:15 am the next day for one shift, then the shift rotates every 3 months to 7 am until 7:15 pm. Sometime they leave for dr appt or something and may only work 8-9 hours. Any help is appreciated.
MIN(ROUND(SUM((D45-C45)+(D45<c45))*96,0) 4,12.25)="" -="" formula="" work="" without="" a="" lunch="" hour="" punch
MIN(ROUND(SUM((F46-C46)-(E46-D46))*96,0)/4,8) - formula I am trying to use and it returns a -11.50
Cross posted https://www.excelforum.com/excel-for...h-punches.html
</c45))*96,0)>
MIN(ROUND(SUM((D45-C45)+(D45<c45))*96,0) 4,12.25)="" -="" formula="" work="" without="" a="" lunch="" hour="" punch
MIN(ROUND(SUM((F46-C46)-(E46-D46))*96,0)/4,8) - formula I am trying to use and it returns a -11.50
Cross posted https://www.excelforum.com/excel-for...h-punches.html
</c45))*96,0)>
Last edited by a moderator: