Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Networkdays including Saturday?

Hello

I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.

I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.

Can anyone help???

Phil
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Networkdays including Saturday?

=NETWORKDAYS(C1,C2)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=6))

--
__________________________________
HTH

Bob

wrote in message
...
Hello

I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.

I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.

Can anyone help???

Phil



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Networkdays including Saturday?

That should be = 7 not = 6, and I missed the holidays bit.

=NETWORKDAYS(C1,C2,holidays)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=7),--(NOT(ISNUMBER(MATCH(ROW(INDIRECT(C1&":"&C2)),holid ays,0)))))

--
__________________________________
HTH

Bob

"Bob Phillips" wrote in message
...
=NETWORKDAYS(C1,C2)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=6))

--
__________________________________
HTH

Bob

wrote in message
...
Hello

I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.

I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.

Can anyone help???

Phil





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Networkdays including Saturday?

Hi Bob

From what I can see that sum only works out the days not the hours,
here is the formula I am currently using:

A1=dd/mm/yyyy/hh:mm
A2=dd/mm/yyyy/hh:mm

DayEnd= 17:30:00
DayStart= 09:00:00
HolidayList= "Currently Blank"

=(NETWORKDAYS(A1,A2,HolidayList)-1)*(DayEnd-DayStart)+MOD(A2,1)-
MOD(A1,1)

Phil

On Jun 17, 12:56*pm, "Bob Phillips" wrote:
=NETWORKDAYS(C1,C2)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=6))

--
__________________________________
HTH

Bob

wrote in message

...



Hello


I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.


I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.


Can anyone help???


Phil- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Networkdays including Saturday?

Just take off one if the start date is a workday, another if end date is a
workday, and add on the hours in those days.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
...
Hi Bob

From what I can see that sum only works out the days not the hours,
here is the formula I am currently using:

A1=dd/mm/yyyy/hh:mm
A2=dd/mm/yyyy/hh:mm

DayEnd= 17:30:00
DayStart= 09:00:00
HolidayList= "Currently Blank"

=(NETWORKDAYS(A1,A2,HolidayList)-1)*(DayEnd-DayStart)+MOD(A2,1)-
MOD(A1,1)

Phil

On Jun 17, 12:56 pm, "Bob Phillips" wrote:
=NETWORKDAYS(C1,C2)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=6))

--
__________________________________
HTH

Bob

wrote in message

...



Hello


I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.


I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.


Can anyone help???


Phil- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Networkdays including Saturday?

Bob

Is there a formula that will determine this and calculate accordingly?

Phil



On Jun 17, 2:31*pm, "Bob Phillips" wrote:
Just take off one if the start date is a workday, another if end date is a
workday, and add on the hours in those days.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message

...
Hi Bob

From what I can see that sum only works out the days not the hours,
here is the formula I am currently using:

A1=dd/mm/yyyy/hh:mm
A2=dd/mm/yyyy/hh:mm

DayEnd= 17:30:00
DayStart= 09:00:00
HolidayList= "Currently Blank"

=(NETWORKDAYS(A1,A2,HolidayList)-1)*(DayEnd-DayStart)+MOD(A2,1)-
MOD(A1,1)

Phil

On Jun 17, 12:56 pm, "Bob Phillips" wrote:



=NETWORKDAYS(C1,C2)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C1&":"&C2)))=6))


--
__________________________________
HTH


Bob


wrote in message


...


Hello


I need to calculate the total WORK-hours (09:00-17:30) between two
date/time-stamps;
Including Saturdays but excluding Sundays & Holidays.


I can get this working excluding Saturdays using NETWORKDAYS however
the call centre work six days a week Mon-Sat.


Can anyone help???


Phil- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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 set NETWORKDAYS to regard friday and saturday as weekend Shay.C. Excel Worksheet Functions 2 April 13th 10 05:13 PM
NETWORKDAYS including Saturday and Sunday Sherry Excel Discussion (Misc queries) 2 May 15th 08 11:06 PM
Networkdays including sundays Frank Pytel Excel Discussion (Misc queries) 0 April 21st 08 07:53 PM
How to set Saturday as a working day Chatter_tk Setting up and Configuration of Excel 3 August 16th 05 02:38 PM
"Saturday as a work day? keith m Excel Worksheet Functions 6 August 12th 05 10:17 PM


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