LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Calculate Time

Is there away to go through excel and sum the only the total hours
that someone has worked for each day

The format that my excel worksheet is:

Name1
12/15/2007 0:41 | Out
12/15/2007 0:44 | Out
12/15/2007 0:44 | IN
12/15/2007 0:44 | IN
12/15/2007 16:11 | IN
12/15/2007 16:18| Out
12/17/2007 9:03 | IN
12/17/2007 12:27 | OUT
12/17/2007 12:51 | IN
12/17/2007 17:08| Out

Etc for all users the "|" represents the next column

In the last column I have calculated all if the times by using the
following formula in a Macro

=A4-A3+IF(A3A4,1)

But this gives me everything. Now I need to calculate just the times
that the person has worked throughout one day (it does not matter if
it is during a weekend; I just need the total hours)

 
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
Excel 2007 calculate time between 2 date/time columns Kevo Excel Discussion (Misc queries) 8 April 25th 09 12:02 AM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
calculate hours using start time & end time, excluding weekends noname Excel Programming 6 April 10th 07 03:30 PM
IF statement to calculate time usage in specific time bands Daren Excel Worksheet Functions 6 January 31st 07 01:34 PM
how to calculate time start & time finish in quarter hour Peter Wu Excel Discussion (Misc queries) 3 June 7th 06 12:58 AM


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