#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Time Sheet Question

I am trying to create a time sheet where all time worked between 6:30 am to
2:30 pm goes in one column, and time else where goes in another column. For
some reason my company tracks hours worked between 6:30 am and 2:30 pm.

Can anyone help?

--
Martin
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Time Sheet Question

Assuming start time in A1, and End time in A2
=A2-A1


"Martin" wrote:

I am trying to create a time sheet where all time worked between 6:30 am to
2:30 pm goes in one column, and time else where goes in another column. For
some reason my company tracks hours worked between 6:30 am and 2:30 pm.

Can anyone help?

--
Martin

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default Time Sheet Question

I guess I didn't ask the question right. What I would like to do is have
staff sign in and out and then put the time worked between 6:30 am and 2:30
pm in one column and time elsewhere in another column.


Time In Time out morning elsewhere

6:00 am 3:00 pm 8 1
--
Martin


"Teethless mama" wrote:

Assuming start time in A1, and End time in A2
=A2-A1


"Martin" wrote:

I am trying to create a time sheet where all time worked between 6:30 am to
2:30 pm goes in one column, and time else where goes in another column. For
some reason my company tracks hours worked between 6:30 am and 2:30 pm.

Can anyone help?

--
Martin

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Time Sheet Question

Try this:

A2 = Time in
B2 = Time out

Shift hours
H2 = 6:30 AM
I2 = 2:30 PM

D2 = formula for morning hours:

=IF(COUNT(A2:B2)<2,"",(IF(B$2<H2,0,IF(A$2I2,0,IF( B$2I2,I2,B$2)-IF(A$2<H2,H2,A$2)))/(B$2-A$2)*(B2-A2+(B2<A2)))*24)

E2 = formula for elsewhere hours:

=IF(D2="","",(B2-A2+(B2<A2))*24-D2)

Biff

"Martin" wrote in message
...
I am trying to create a time sheet where all time worked between 6:30 am to
2:30 pm goes in one column, and time else where goes in another column.
For
some reason my company tracks hours worked between 6:30 am and 2:30 pm.

Can anyone help?

--
Martin



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Time Sheet Question

That formula can be cleaned up a little bit since it is intended to only
work on less than a 24 hour period - 12:00 AM to 11:59 PM

=IF(COUNT(A2:B2)<2,"",(IF(B2<H2,0,IF(A2I2,0,IF(B2 I2,I2,B2)-IF(A2<H2,H2,A2)))/(B2-A2)*(B2-A2))*24)

Biff

"T. Valko" wrote in message
...
Try this:

A2 = Time in
B2 = Time out

Shift hours
H2 = 6:30 AM
I2 = 2:30 PM

D2 = formula for morning hours:

=IF(COUNT(A2:B2)<2,"",(IF(B$2<H2,0,IF(A$2I2,0,IF( B$2I2,I2,B$2)-IF(A$2<H2,H2,A$2)))/(B$2-A$2)*(B2-A2+(B2<A2)))*24)

E2 = formula for elsewhere hours:

=IF(D2="","",(B2-A2+(B2<A2))*24-D2)

Biff

"Martin" wrote in message
...
I am trying to create a time sheet where all time worked between 6:30 am
to
2:30 pm goes in one column, and time else where goes in another column.
For
some reason my company tracks hours worked between 6:30 am and 2:30 pm.

Can anyone help?

--
Martin





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
time sheet question Oldjay Excel Discussion (Misc queries) 7 October 3rd 06 02:22 AM
Not as stupid a question; this time about data from multiple sheet Ben Karlin Excel Worksheet Functions 1 May 27th 06 12:45 AM
Detailed Time Sheet (overtime, comp time, vacation used) Robert D. Sandersfeld New Users to Excel 2 May 22nd 06 10:14 PM
How do I time Hours & mins in excel - Time sheet Helen Excel Discussion (Misc queries) 5 September 17th 05 11:42 AM
I need a time sheet template that verifies time entered against sy Bob Powell Excel Discussion (Misc queries) 1 April 19th 05 03:11 PM


All times are GMT +1. The time now is 02:01 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"