Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Calculates Dates Based on 7 day week excluding Holidays

Is there a function similar to networkdays but includes holidays. I want to
calculate the difference between 2 dates excluding holidays but unlike the
networkdays include the weekends.
--
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Calculates Dates Based on 7 day week excluding Holidays

Try this:

A1 = start date
B1 = end date
G1:G10 = list of holiday dates

=B1-A1+1-SUMPRODUCT(--(G1:G10=A1),--(G1:G10<=B1))

Biff

"Daviv" wrote in message
...
Is there a function similar to networkdays but includes holidays. I want
to
calculate the difference between 2 dates excluding holidays but unlike the
networkdays include the weekends.
--
Thanks!



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
Formula for adding days to a date excluding weekends and holidays? Jake via OfficeKB.com Excel Discussion (Misc queries) 3 May 20th 23 07:48 PM
Retrieve multiple dates, from a week number? stonescar New Users to Excel 1 July 5th 06 05:05 PM
lookup based on multiple dates [email protected] Excel Worksheet Functions 1 May 30th 06 09:35 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM
Macro to insert copied cells [email protected] Excel Discussion (Misc queries) 17 January 18th 06 10:40 AM


All times are GMT +1. The time now is 09:38 AM.

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"