#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default NETWORKDAYS

I am currently using NETWORKDAYS to calculate the number of working days
between 2 dates taking into account any static holidays the compmany has put
in place. The current formula is

+NETWORKDAYS(F$1,F$2,Calander!$L$2:$M$65536) L2:M65536 contains holidays
that all the company have to take.

Column A contains employee names, column A on worksheet 'Holidays' also
contains employee names, then columns A onwards contains the dates which that
employee has booked as holidays.

What I am trying to do is something like the following:
+NETWORKDAYS(F$1,F$2,(Calander!$L$2:$M$65536+holid ays booked for the
employee in column A))

Hopefully that makes sense. Is it possible?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default NETWORKDAYS

=NETWORKDAYS(start_date,end_date,static_holidays:e mployee_holidays)


"The Rook" wrote:

I am currently using NETWORKDAYS to calculate the number of working days
between 2 dates taking into account any static holidays the compmany has put
in place. The current formula is

+NETWORKDAYS(F$1,F$2,Calander!$L$2:$M$65536) L2:M65536 contains holidays
that all the company have to take.

Column A contains employee names, column A on worksheet 'Holidays' also
contains employee names, then columns A onwards contains the dates which that
employee has booked as holidays.

What I am trying to do is something like the following:
+NETWORKDAYS(F$1,F$2,(Calander!$L$2:$M$65536+holid ays booked for the
employee in column A))

Hopefully that makes sense. Is it possible?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default NETWORKDAYS

1.The static holidays are on a different worksheet to the employee's holidays
2.how do I get it to lookup the employee in column A on the employee holiday
sheet?

"Teethless mama" wrote:

=NETWORKDAYS(start_date,end_date,static_holidays:e mployee_holidays)


"The Rook" wrote:

I am currently using NETWORKDAYS to calculate the number of working days
between 2 dates taking into account any static holidays the compmany has put
in place. The current formula is

+NETWORKDAYS(F$1,F$2,Calander!$L$2:$M$65536) L2:M65536 contains holidays
that all the company have to take.

Column A contains employee names, column A on worksheet 'Holidays' also
contains employee names, then columns A onwards contains the dates which that
employee has booked as holidays.

What I am trying to do is something like the following:
+NETWORKDAYS(F$1,F$2,(Calander!$L$2:$M$65536+holid ays booked for the
employee in column A))

Hopefully that makes sense. Is it possible?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 793
Default NETWORKDAYS

One simple way is to insert a column at the place you want on the employee
holiday sheet and count the no of days she took an holiday and subtract that
from your networkdays calculation.

Keeping things simple saves time and gives you components which you can reuse.


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
NETWORKDAYS Suzanne Excel Worksheet Functions 7 April 2nd 07 09:32 AM
NETWORKDAYS Suddes Excel Discussion (Misc queries) 7 March 22nd 07 03:04 PM
NETWORKDAYS albertmb Excel Discussion (Misc queries) 3 March 13th 06 09:33 PM
Networkdays DKerr Excel Worksheet Functions 1 September 28th 05 03:30 PM
networkdays kevt Excel Worksheet Functions 1 September 8th 05 02:23 PM


All times are GMT +1. The time now is 03:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"