A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Timesheets



 
 
Thread Tools Display Modes
  #1  
Old March 9th, 2004, 10:22 PM
dah
external usenet poster
 
Posts: n/a
Default Timesheets

Is there a way to create a timesheet that calculates working times? Say
work begins at 11 pm and ends at 7 am with 1 hr. for lunch. I would
like Excel to calculate the number of hours worked.

I got this to work beginning at 7 am and ending at 4 pm, but it does
not work the opposite.

Example:
A1 B1 C1 D1
7 am 11:00 12:00 4:00 Returns 8 hr.

=((B1-A1)+(D1-C1))*24

How can I get the numbers below to figure the hours worked?

A1 B1 C1 D1
11 pm 3 am 4 am 7 am


---
Message posted from http://www.ExcelForum.com/

  #2  
Old March 9th, 2004, 10:30 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default Timesheets

Hi
try
=(B1-A1+(B1A1)+D1-C1+(D1C1))*24

or just use
=B1-A1+(B1A1)+D1-C1+(D1C1)
and format the resulting cell as time

--
Regards
Frank Kabel
Frankfurt, Germany
"dah " schrieb im Newsbeitrag
...
Is there a way to create a timesheet that calculates working times?

Say
work begins at 11 pm and ends at 7 am with 1 hr. for lunch. I would
like Excel to calculate the number of hours worked.

I got this to work beginning at 7 am and ending at 4 pm, but it does
not work the opposite.

Example:
A1 B1 C1 D1
7 am 11:00 12:00 4:00 Returns 8 hr.

=((B1-A1)+(D1-C1))*24

How can I get the numbers below to figure the hours worked?

A1 B1 C1 D1
11 pm 3 am 4 am 7 am


---
Message posted from http://www.ExcelForum.com/


  #3  
Old March 10th, 2004, 12:21 AM
Gord Dibben
external usenet poster
 
Posts: n/a
Default Timesheets

See Chip Pearson's Timesheets pages.

http://www.cpearson.com/excel/overtime.htm

Gord Dibben Excel MVP

On Tue, 9 Mar 2004 16:22:40 -0600, dah
wrote:

Is there a way to create a timesheet that calculates working times? Say
work begins at 11 pm and ends at 7 am with 1 hr. for lunch. I would
like Excel to calculate the number of hours worked.

I got this to work beginning at 7 am and ending at 4 pm, but it does
not work the opposite.

Example:
A1 B1 C1 D1
7 am 11:00 12:00 4:00 Returns 8 hr.

=((B1-A1)+(D1-C1))*24

How can I get the numbers below to figure the hours worked?

A1 B1 C1 D1
11 pm 3 am 4 am 7 am


---
Message posted from http://www.ExcelForum.com/


  #4  
Old March 11th, 2004, 10:47 PM
dah
external usenet poster
 
Posts: n/a
Default Timesheets

Thanks! The information was helpful and it worked.


---
Message posted from http://www.ExcelForum.com/

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.