#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Time

Trying to set up a simple time schedule.
Thought I knew how to do this.
Beginning time - End time = hours & minutes worked

Please help
Thanks
Eric
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Time

Wouldn't it be ending time - beginning time? There are days when I have quit
even before I started but that probably does not apply in this case.
--
HTH...

Jim Thomlinson


"Window Guy" wrote:

Trying to set up a simple time schedule.
Thought I knew how to do this.
Beginning time - End time = hours & minutes worked

Please help
Thanks
Eric

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Time

Eric,

You want to use the following VBA

End_Time - Begin_Time - (End_Time<Begin_Time)

This assumes you have times without dates. If you have dates and
times, just use
End_Time - Begin_Time

In both cases, format the cell with a custom format of [hh]:mm or
[hh]:mm:ss



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Window Guy" wrote in message
...
Trying to set up a simple time schedule.
Thought I knew how to do this.
Beginning time - End time = hours & minutes worked

Please help
Thanks
Eric


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Time

Hi Eric

See Chip Pearson's site
http://www.cpearson.com/excel/overtime.htm

See also the links on the bottom of this page


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Window Guy" wrote in message ...
Trying to set up a simple time schedule.
Thought I knew how to do this.
Beginning time - End time = hours & minutes worked

Please help
Thanks
Eric
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Time

Thank you Ron,

Excellent info and formulas.
Appricate it very much.

Eric
"Ron de Bruin" wrote in message ...
Hi Eric

See Chip Pearson's site
http://www.cpearson.com/excel/overtime.htm

See also the links on the bottom of this page


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Window Guy" wrote in message ...
Trying to set up a simple time schedule.
Thought I knew how to do this.
Beginning time - End time = hours & minutes worked

Please help
Thanks
Eric
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 for Scheduled Time vs. Actual Time Worked The Caterer Excel Discussion (Misc queries) 1 November 29th 09 08:08 AM
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
verify use of TIME Function, Find Quantity Level compare to time-d nastech Excel Discussion (Misc queries) 9 July 11th 07 01:58 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 07:56 AM.

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"