Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default time calculations

I need to count the total hours by unit in a spreadsheet. One column is for
a start time, the next column is an end time and this is the formula that I
use to calculate the number of hours on a 24 hour clock:
=MOD(G107-F107,1)-((MOD(G107-F107,1)*248)*30/1440)

I need to look at the whole pay period and calculate the hours by ward.
Ward = C column
# of hours worked = H column (where formula is)
I have tried using =SumIF($C$5:$C$25, "3A", $H$5:$H$25). It doesn't work.
I then tried to use the TimeValue formua and couldn't get that to work. Help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default time calculations

I don't know what "It doesn't work" means - how does it not work? Do
you get errors, zero, answer too large or too small ??

The SUMIF formula looks fine, as long as your Ward is called 3A, but
perhaps you might have entered it within your data in column C as
3A<space. To check for that put wildcards within the quotes, like
this:

=SUMIF($C$5:$C$25,"*3A*",$H$5:$H$25)

If this doesn't work, tell me what happens.

Hope this helps.

Pete

On Sep 8, 9:21*pm, NEHicks wrote:
I need to count the total hours by unit in a spreadsheet. *One column is for
a start time, the next column is an end time and this is the formula that I
use to calculate the number of hours on a 24 hour clock: *
=MOD(G107-F107,1)-((MOD(G107-F107,1)*248)*30/1440)

I need to look at the whole pay period and calculate the hours by ward.
Ward = C column
# of hours worked = H column (where formula is)
I have tried using =SumIF($C$5:$C$25, "3A", $H$5:$H$25). *It doesn't work. *
I then tried to use the TimeValue formua and couldn't get that to work. Help.


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 calculations Matt[_4_] Excel Discussion (Misc queries) 5 January 27th 09 09:52 AM
Time calculations [email protected] Excel Worksheet Functions 1 December 26th 08 10:15 AM
Time difference calculations, daylight savings time, Excel Tim Excel Discussion (Misc queries) 1 December 28th 06 04:18 PM
Overlapping time calculations and automatic time updates Arlette Excel Worksheet Functions 1 December 9th 06 12:20 AM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM


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