Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Count days but solutions can't land on holiday or weekend

Hi there,

I am trying count 15 days from 2/4/09, with the following caveats. I can't
count holiday's (2/16/09) and the solution can't land on a Saturday or
Sunday, if it does move it the following Monday.

Any help would be greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Count days but solutions can't land on holiday or weekend

Consider using

=WORKDAY(D3,A1,H1:H7)

Where D3 is the start date, A1 contains the number of weekdays you want to
add to and H1:H7 contains a list of holidays you want excluded.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"NB292" wrote:

Hi there,

I am trying count 15 days from 2/4/09, with the following caveats. I can't
count holiday's (2/16/09) and the solution can't land on a Saturday or
Sunday, if it does move it the following Monday.

Any help would be greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Count days but solutions can't land on holiday or weekend

Hi

general format
=workday(startdate, days, holidays)

Try placing the start date in a cell e.g. B1 and a list of the holiday dates
for the year in cells A1:A20
then
=Workday(B1,15,A1:A20)
will give your result
--
Regards
Roger Govier

"NB292" wrote in message
...
Hi there,

I am trying count 15 days from 2/4/09, with the following caveats. I can't
count holiday's (2/16/09) and the solution can't land on a Saturday or
Sunday, if it does move it the following Monday.

Any help would be greatly appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Count days but solutions can't land on holiday or weekend

Thanks Roger & Shane, not quite there yet though.

State date = 2/2/09, excel tells me 2/9/09 which is technically correct but
the answer I am looking for is 2/10/09. Because I must give an additional
business day if solution lands on a Saturday or Sunday.

Start date = 2/3/09, excel tells me 2/10/09, which is what I am looking.

Start date = 2/4/09, excel tells me 2/11/09, answer that I am look for is
2/10/09

-Nick

"Roger Govier" wrote:

Hi

general format
=workday(startdate, days, holidays)

Try placing the start date in a cell e.g. B1 and a list of the holiday dates
for the year in cells A1:A20
then
=Workday(B1,15,A1:A20)
will give your result
--
Regards
Roger Govier

"NB292" wrote in message
...
Hi there,

I am trying count 15 days from 2/4/09, with the following caveats. I can't
count holiday's (2/16/09) and the solution can't land on a Saturday or
Sunday, if it does move it the following Monday.

Any help would be greatly appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Count days but solutions can't land on holiday or weekend

Hi Nick

i don't think you can be entering the formula correctly.
Workday will never give you a date which is a Saturday or Sunday.
In this latest posting you are adding 7 days, not 15 as originally posted.
Using UK dates, and including just 16th Feb as a holiday, I get

Start Date Result Day
02/02/2009 11/02/2009 Wed
03/02/2009 12/02/2009 Thu
04/02/2009 13/02/2009 Fri
05/02/2009 17/02/2009 Tue
06/02/2009 18/02/2009 Wed
07/02/2009 18/02/2009 Wed
08/02/2009 18/02/2009 Wed
09/02/2009 19/02/2009 Thu
10/02/2009 20/02/2009 Fri
11/02/2009 23/02/2009 Mon

--
Regards
Roger Govier

"NB292" wrote in message
...
Thanks Roger & Shane, not quite there yet though.

State date = 2/2/09, excel tells me 2/9/09 which is technically correct
but
the answer I am looking for is 2/10/09. Because I must give an additional
business day if solution lands on a Saturday or Sunday.

Start date = 2/3/09, excel tells me 2/10/09, which is what I am looking.

Start date = 2/4/09, excel tells me 2/11/09, answer that I am look for is
2/10/09

-Nick

"Roger Govier" wrote:

Hi

general format
=workday(startdate, days, holidays)

Try placing the start date in a cell e.g. B1 and a list of the holiday
dates
for the year in cells A1:A20
then
=Workday(B1,15,A1:A20)
will give your result
--
Regards
Roger Govier

"NB292" wrote in message
...
Hi there,

I am trying count 15 days from 2/4/09, with the following caveats. I
can't
count holiday's (2/16/09) and the solution can't land on a Saturday or
Sunday, if it does move it the following Monday.

Any help would be greatly appreciated.

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
Removing weekend/holiday dates - cont'd GR Charts and Charting in Excel 4 January 10th 08 09:09 PM
Count Weekend Days solutions thank you very much to both of you koob Excel Worksheet Functions 1 December 9th 07 08:34 PM
Count weekend days with criteria koob Excel Worksheet Functions 2 December 8th 07 09:45 PM
Invalid date if weekend or bank holiday grobertson Excel Worksheet Functions 7 June 14th 07 03:24 PM
Weekend days other than Sat Sun rkk Excel Worksheet Functions 15 January 25th 05 02:31 AM


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