Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Calculating hours between two points in time

I need a way of calculating the length of events
at work that start and end at various times,
sometimes spanning several days. I have been
working with a formula using NETWORKDAYS
that I got on Chip Pearson's site and I get good
results for most events but the problem is that we
are open on Saturday and NETWORKDAYS
eliminates those hours. I do want to eliminate
Sundays and Holidays so I was wondering if
there was a custom worksheet formula or VBA
procedure that could accomodate a six-day work week.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculating hours between two points in time


why not just subtract end time from start time and format as [h:mm:ss]
to get hours,minutes and sec.
Or take result of subtraction and multiply by 1440 and divide by 60.
Format as general and get decimal hours.


--
JohnDK
------------------------------------------------------------------------
JohnDK's Profile: http://www.excelforum.com/member.php...fo&userid=7184
View this thread: http://www.excelforum.com/showthread...hreadid=482413

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
Calculating diff between date/ time only between certain hours GMv1 Excel Discussion (Misc queries) 4 March 1st 10 09:56 AM
calculating time for late hours Tim Excel Worksheet Functions 1 May 28th 08 01:31 AM
Calculating Time in Hours and round it up. newbie New Users to Excel 1 July 11th 07 12:59 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
Calculating time, hours and minutes arrowpilot Excel Discussion (Misc queries) 1 October 21st 06 12:04 AM


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