Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I'm trying to calculate the time duration in business hours. The
open/close times are in the following format: 7/28/04 8:09 7/28/04 8:18 5/24/04 10:31 6/8/04 12:13 6/17/04 10:58 6/28/04 8:33 The current formula I'm using is: =(DAY(B3-A3)*8 + HOUR(B3-A3)+MINUTE(B3-A3)/60) But I need to account for weekends too. I initially thought that I could shave off 2 days from 7 day periods, but realized that a three day period could also include a weekend. Is there any way for excel to determine if a day falls on a Saturday or Sunday? Any other ideas on how I could account for weekends?? Thanks in advance. Jackson |
#2
![]() |
|||
|
|||
![]()
Check out the WEEKDAY and WORKDAY functions.
"Jackson" wrote in message om... I'm trying to calculate the time duration in business hours. The open/close times are in the following format: 7/28/04 8:09 7/28/04 8:18 5/24/04 10:31 6/8/04 12:13 6/17/04 10:58 6/28/04 8:33 The current formula I'm using is: =(DAY(B3-A3)*8 + HOUR(B3-A3)+MINUTE(B3-A3)/60) But I need to account for weekends too. I initially thought that I could shave off 2 days from 7 day periods, but realized that a three day period could also include a weekend. Is there any way for excel to determine if a day falls on a Saturday or Sunday? Any other ideas on how I could account for weekends?? Thanks in advance. Jackson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Excel 2003 - long closing time when have many add-ins installed | Excel Discussion (Misc queries) | |||
How do I stop Excel from closing the open file each time I open a. | Setting up and Configuration of Excel | |||
Can't stop time duration [hh]:mm:ss converting to time of day | Excel Discussion (Misc queries) | |||
Converting an Excel formula to an Access query formula | Excel Discussion (Misc queries) |