Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default How do I add 12 business hours to the current date/time?

Business hours is defined as Monday to Friday, 8:00am - 4:30pm.

I want to add 12 business hours to the current time (09/05/2006 9:13pm)
and return the due date for completion (11/05/2006 11:30am).

Anyone help me?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tony h
 
Posts: n/a
Default How do I add 12 business hours to the current date/time?


in vba or on the worksheet?

It is 01:15 here and I need my sleep but a few pointers:
a date and time is a floating point number. The integer part is the
number of days from 1-jan-1900 and the fractional part is a fraction of
one day so 2.5 is 3jan1900 12:00

to add 12 hours add 0.5 to add 2 days add 2

08:00 is 8/24 and 16:30 is 16.5/24

If you want it on the worksheet I would probably use a user defined
function so that I could write the code in VBA

regards.

Wrote:
Business hours is defined as Monday to Friday, 8:00am - 4:30pm.

I want to add 12 business hours to the current time (09/05/2006
9:13pm)
and return the due date for completion (11/05/2006 11:30am).

Anyone help me?



--
tony h
------------------------------------------------------------------------
tony h's Profile:
http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=540499

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 add 12 business hours to the current date/time? [email protected] Excel Worksheet Functions 0 May 10th 06 12:45 AM
Calculating Business Hours Between 2 Dates tanya216 Excel Discussion (Misc queries) 3 April 11th 06 03:22 PM
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
With this business with ONLY 5,- EUR OVER 61,370 EUR in 3 months earn!! With this business with ONLY 5,- EUR OVER 61,370 E Charts and Charting in Excel 0 September 19th 05 02:58 AM
With this business with ONLY 5,- EUR OVER 61,370 EUR in 3 months earn!! With this business with ONLY 5,- EUR OVER 61,370 E Charts and Charting in Excel 0 September 19th 05 02:58 AM


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