Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chuy
 
Posts: n/a
Default Workday With Weekends Excluding Holidays


Hi! Can Anyone help me please!!!
I Need the Function WORKDAY buy that INCLUDES saturdays and EXCLUDES
Holidays....


--
Chuy
------------------------------------------------------------------------
Chuy's Profile: http://www.excelforum.com/member.php...o&userid=30603
View this thread: http://www.excelforum.com/showthread...hreadid=502541

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chuy
 
Posts: n/a
Default Workday With Weekends Excluding Holidays


I really need as an Urgent Matter....

I Need Like the WORKDAY function but That *INCLUDES SATURDAYS *and
*EXCLUDES HOLIDAYS*!!! Please!!!! Can Anyone Help Me????


--
Chuy
------------------------------------------------------------------------
Chuy's Profile: http://www.excelforum.com/member.php...o&userid=30603
View this thread: http://www.excelforum.com/showthread...hreadid=502541

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default Workday With Weekends Excluding Holidays

Chuy,
the following *array* formula (should be entered with
Shift+Ctrl+Enter), assumes the starting date in E1, the ending day in
E2 and a list of additional holidays in H1:H3. There might be a simpler
one, but this one works, at least according to my tests.
=SUM((WEEKDAY(ROW(INDIRECT(VALUE(E1)&":"&VALUE(E2) )),1)<1)*(1-ISNUMBER(MATCH(ROW(INDIRECT(VALUE(E1)&":"&VALUE(E2 ))),H1:H3,0))))

Does this help?
Kostis Vezerides

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chuy
 
Posts: n/a
Default Workday With Weekends Excluding Holidays


Thank You Kostis, Really!

But I Require The Date as a Output of The Function...

INPUT:
Holidays
Number Of Days
Start Day
Extra: Including Saturdays. (Workday works only from Monday To Friday)

*OUTPUT:*
Deadline Day


--
Chuy
------------------------------------------------------------------------
Chuy's Profile: http://www.excelforum.com/member.php...o&userid=30603
View this thread: http://www.excelforum.com/showthread...hreadid=502541

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
vezerid
 
Posts: n/a
Default Workday With Weekends Excluding Holidays

Ooops! Wrong functionality.

For some time now I am trying to figure out a formula but I am stuck.
It is a much harder problem that for NETWORKDAYS(). I have not come up
with anything yet. My mind is clogged. I cannot even think the logic of
a VBA solution. I'll give it a try for some more time. Maybe it can be
done with 2 cells instead of one, I will have to see.

Sorry that I cannot help you right now, but I too am infatuated with
the problem and I cannot come up with anything yet.

I will post something before I go, even if it is to say that I quit :(

Regards,
Kostis



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chuy
 
Posts: n/a
Default Workday With Weekends Excluding Holidays


Thank You Again Kostis!

I allready hace the one of Networkdays, This formula Im Positng I Mede
It...

=IF(A2<=B2,(SUMPRODUCT(--(COUNTIF(Holidays,ROW(INDIRECT(A2&":"&B2)))=0),--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)),3)<6))-1),(SUMPRODUCT(--(COUNTIF(Holidays,ROW(INDIRECT(A2&":"&B2)))=0),--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)),3)<6))-1)*-1)

*Whe*A2 = Start Date
B2 = End Date
Holidays = Range of Holidays

I Repeated The
"SUMPRODUCT(--(COUNTIF(Holidays,ROW(INDIRECT(A2&":"&B2)))=0),--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)),3)<6))-1"
So That in case that the start date has been in the past...

Best Regards.
Chuy


--
Chuy
------------------------------------------------------------------------
Chuy's Profile: http://www.excelforum.com/member.php...o&userid=30603
View this thread: http://www.excelforum.com/showthread...hreadid=502541

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
Use networkdays INCLUDE weekends, Exclude holidays ronnomad Excel Worksheet Functions 4 December 16th 05 04:55 PM
Generating business days in a calendar month, EXCLUDING holidays jacob Excel Worksheet Functions 1 April 12th 05 05:38 AM
How do you count work days excluding weekends and holidays? Hausma Excel Discussion (Misc queries) 2 April 8th 05 07:39 PM
Schedule to exclude weekends and holidays Erin D. Excel Discussion (Misc queries) 3 March 15th 05 09:49 PM
Formula - Excluding weekends & holidays Connie Martin Excel Worksheet Functions 9 February 25th 05 04:28 AM


All times are GMT +1. The time now is 11:23 PM.

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"