![]() |
How do I set up a time card format in Excel
I am trying to construct a worksheet that will allow me to figure out my
hours worked, regular time and overtime in seperate columns. I have the following headings: Start End Hours Reg Hours Overtime Total F 1 8:00 AM 9:00 PM 13:00 F = Friday 1 = 1st of the month I want to know hot to set it up to figure out the Reg Hours column, Overtime = anything after 8 hours and the total should be the same number as in the hours column |
Hi!
Having both an Hours column and a Total column is kind of redundant isn't it? Headers in row 1 from C1 to G1 C2 = 8:00 AM D2 = 9:00 PM E2 = formula for Hours: =IF(D2="","",(D2-C2+(D2<C2))*24) F2 = formula for Reg Hours: =IF(D2="","",MIN((D2-C2+(D2<C2))*24,8)) G2 = formula for OT Hours: =IF(D2="","",MAX(0,(D2-C2+(D2<C2))*24-8)) H2 = formula for Total: =IF(D2="","",SUM(F2:G2)) Select the range E2:H2 and copy down as needed. Biff "bugged out" wrote in message ... I am trying to construct a worksheet that will allow me to figure out my hours worked, regular time and overtime in seperate columns. I have the following headings: Start End Hours Reg Hours Overtime Total F 1 8:00 AM 9:00 PM 13:00 F = Friday 1 = 1st of the month I want to know hot to set it up to figure out the Reg Hours column, Overtime = anything after 8 hours and the total should be the same number as in the hours column |
All times are GMT +1. The time now is 08:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com