Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default calculating hours in one cell

i am new to excel, i am trying to make a spread sheet for a weekly schedule
that will calculate the hours that will be worked for the week. for example:
Name Monday Tuesday Wed Thurs Fri Sat Sun
Total
Jon 9 to 5 12 to 5 off 9 to 5 off
off 12 to 6 27

I want the spread sheet to calculate the total hrs per day and then to add
up all the days and to total it for me. Please help i am clueless. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default calculating hours in one cell

Hi!

You need to enter the time as a TIME and use 2 cells, one for START (or IN)
and one for END (or OUT):

B3 = Start = 9:00 AM
C3 = End = 5:00 PM
D3 = Daily Total = formula:

=IF(COUNT(B3:C3)<2,"",C3-B3+(C3<B3))

Format the cell as [h]:mm

Returns 8:00

If a person is OFF just leave the cell empty. No real need to enter OFF.
Besides, if you enter OFF you'll have to use a different formula.

To get the weekly total just sum all the daily total cells:

=SUM(D3,G3,J3,etc....)

Also format that cell as [h]:mm

Biff

"CYLON" wrote in message
...
i am new to excel, i am trying to make a spread sheet for a weekly
schedule
that will calculate the hours that will be worked for the week. for
example:
Name Monday Tuesday Wed Thurs Fri Sat
Sun
Total
Jon 9 to 5 12 to 5 off 9 to 5 off
off 12 to 6 27

I want the spread sheet to calculate the total hrs per day and then to add
up all the days and to total it for me. Please help i am clueless.
Thanks!



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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
comparing a value in a cell to see if it is higher than a number PK Excel Worksheet Functions 9 June 2nd 05 03:35 PM
need help w/formula for calculating overtime hours jv749297 Excel Worksheet Functions 1 January 17th 05 07:54 PM


All times are GMT +1. The time now is 07:17 PM.

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

About Us

"It's about Microsoft Excel"