Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Let say is Friday at 8:00 PM. I want to add 7 hours to it and skip all
hours in Saturday and Sunday. Start adding calulating again at Monday at 12:00 AM (Monday Morning). Any help in this would be appricated. I have reviewed and reviewed things trying to figure this out. Eric |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 8 Jun 2008 15:57:28 -0700 (PDT), Eric wrote:
Let say is Friday at 8:00 PM. I want to add 7 hours to it and skip all hours in Saturday and Sunday. Start adding calulating again at Monday at 12:00 AM (Monday Morning). Any help in this would be appricated. I have reviewed and reviewed things trying to figure this out. Eric Try this: =WORKDAY(A1+TIME(A2,,)-1,1)+MOD(A1+TIME(A2,,),1) with Date and time in A1; and the number of hours to add in A2 This formula is the same: =WORKDAY(A1+A2/24-1,1)+MOD(A1+A2/24,1) --ron |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
that worked. Thanks. I have to spend some time trying to figure this
out. It makes my head hurt right now so I look at it again tomorrow. Props to you. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 8 Jun 2008 17:04:42 -0700 (PDT), Eric wrote:
that worked. Thanks. I have to spend some time trying to figure this out. It makes my head hurt right now so I look at it again tomorrow. Props to you. You're welcome. By the way, the TIME function is set up to only take integer hours, and its output is a maximum of 23 hours -- never more. If you want to use fractional hours, or more than 24 hours, use the second variation I posted. --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
date and time [skipping weekends] | Excel Worksheet Functions | |||
Track time to resolution (without including after hours on weekdays and weekends) | Excel Worksheet Functions | |||
Calculate number of hours between dates and times excluding Weekends | Excel Discussion (Misc queries) | |||
How do I add 12 business hours to the current date/time? | Excel Worksheet Functions | |||
How do I add 12 business hours to the current date/time? | Excel Worksheet Functions |