I Need a Workday Formula that includes saturdays and excludes holidays...
Can anyone help me ????
Thanxs!!!
I Need a Workday Formula that includes saturdays and excludes holidays...
Can anyone help me ????
Thanxs!!!
Last edited by VBA Noob; 03-25-2007 at 02:34 PM.
I'm assuming you mean that you want to add a number of workdays to a date, counting Saturday as a workday but excluding holidays.
Assuming you have a named range - holidays - including your holiday dates and start date is A2, days to add in B2
=SMALL(IF(WEEKDAY(ROW(INDIRECT("1:"&B2*10))+A2)<>1,IF(ISNA(MATCH(ROW(INDIRECT("1:" &B2*10))+A2,holidays,0)),ROW(INDIRECT("1:"&B2*10))+A2)),B2)
confirmed with CTRL+SHIFT+ENTER
Thank You Very Much, you have been really helpful, the formula works just fine, but..
This formula works only if the "Days to Add" is a positive number, but it dosenīt work when the "Days to Add" is "Cero" or a Negative Number.
This is in order to know when the task was suppose to conclude or if its for "today", can you do that for me?
Thank you a lot this has been a really good advance.
Regards!
That gets a little more complex but you can use this formula
again, confirmed with CTRL+SHIFT+ENTERPlease Login or Register to view this content.
That is Exactly as I need it.
Best regards! Take care!
Chuy
Last edited by VBA Noob; 03-25-2007 at 02:35 PM.
Chuy
Please read the forum rules - see links below
When you 1st registered you agread to no duplicate postings & here you have posted 3 threads all asking the same question.
Your other 2 threads have been deleted.
Any more duplicate postings and all threads on that subjecy will be deleted
I also suggest you stop using large capitol letters in your posts - A odd thank you every now & then is ok but not in your initial posting of a thread to try & get attention & certainly not on every thank you
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assisted or failed to assist you I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks