Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bugged out
 
Posts: n/a
Default 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

  #2   Report Post  
Biff
 
Posts: n/a
Default

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting to Time Format Amber Excel Discussion (Misc queries) 1 July 7th 05 10:56 PM
Time stamp in Excel Sheet John M Excel Discussion (Misc queries) 3 June 28th 05 02:05 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
How to enter current static time in Excel in 00:00:00.0 format? Wlumkong Excel Worksheet Functions 3 May 12th 05 03:54 PM
Custom Time Format doesn't work for me chuck Excel Discussion (Misc queries) 1 February 13th 05 04:12 AM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"