Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Calculate minutes from timecard

I have to manually calculate the time someone has worked using timecards. Is
there a formula where I can plug in the time and get the answer? I saw one
question where this was posted but it didn't help. For example, he worked
from 7:40 AM - 11:37 AM and then came back to work from 12:03 PM to 4:59 PM.

Thx!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Calculate minutes from timecard

With the four times in A1:D1 use
=(B1-A1)+(B1<A1)+(D1-C1)+(D1<C1)
The second and fourth term allows for an intervening midnight
But formula will no work if there are two midnight in a shift (unlikely?)
best wishes


--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"achapman" wrote in message
...
I have to manually calculate the time someone has worked using timecards.
Is
there a formula where I can plug in the time and get the answer? I saw
one
question where this was posted but it didn't help. For example, he worked
from 7:40 AM - 11:37 AM and then came back to work from 12:03 PM to 4:59
PM.

Thx!



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
how do I calculate minutes when given two times? Kina Excel Worksheet Functions 2 June 17th 06 04:38 AM
how to calculate the hours and minutes in excel Mital Excel Discussion (Misc queries) 3 February 14th 06 06:49 PM
Calculate hour and minutes worked each day Allan New Users to Excel 3 November 19th 05 10:32 PM
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
calculate average hours and minutes llstephens Excel Worksheet Functions 4 November 30th 04 03:47 PM


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