Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 5
Smile Future date with six day week including holidays

can anyone help me with this
a. how to get future date (like WORKDAY Function) but the formula should include saturdays as work day excluding sundays and holidays.

for example if 2 mar 10 is the starting date then plus 15 days including 2 holidays (say 5 mar 10 & 9 mar 10) and sundays (i.e. 7 mar & 14 mar) the to be arrived should be 20 mar 10.
and the formula should also check if the date arrived is a saturday then it should add following sunday i.e in above case it should become 21 mar 10
:)
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Future date with six day week including holidays

Hi

The following array entered formula is based upon one written by the
late Frank Kabel.

It depends upon some defined names.
Use InsertNameDefine
Days =cell with number of days to add
Start_date =cell containing the start date
holidays =range of cells containing holiday dates

Then use the array entered formula
{=start_date+IF(days=0,0,SIGN(days)*SMALL(IF((WEEK DAY(start_date+SIGN(days)*
(ROW(INDIRECT("1:"&ABS(days)*10))),2)<7)*ISNA(MATC H(start_date+SIGN(days)*
(ROW(INDIRECT("1:"&ABS(days)*10))),holidays,0)),RO W(INDIRECT("1:"&ABS(days)*
10))),ABS(days)))}

Use Control+Shift+Enter (CSE) not just Enter when you save or amend the
formula. Do not type the curly braces { } yourself, Excel will insert
them when you use CSE.

I believe that you meant, when the result ends on a Saturday, use the
following Monday, which would be the 22nd March, not the 21st.
--
Regards
Roger Govier

ajitexcel wrote:
can anyone help me with this
a. how to get future date (like WORKDAY Function) but the formula
should include saturdays as work day excluding sundays and holidays.

for example if 2 mar 10 is the starting date then plus 15 days
including 2 holidays (say 5 mar 10 & 9 mar 10) and sundays (i.e. 7 mar
& 14 mar) the to be arrived should be 20 mar 10.
and the formula should also check if the date arrived is a saturday
then it should add following sunday i.e in above case it should become
21 mar 10
:)




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
returning a date 7 business day excluding holidays in the future excelrookie Excel Worksheet Functions 2 February 25th 10 06:46 PM
Calculate a future date, not including Sat/Sun or Bank Holidays RR Excel Discussion (Misc queries) 2 May 26th 09 01:27 PM
excel total days formula including weekends, excluding holidays wtfisch Excel Discussion (Misc queries) 0 May 7th 08 04:53 PM
EXCEL 2003 7 Day Week plus Holidays GTFSSC Excel Discussion (Misc queries) 1 May 3rd 07 07:00 PM
Project future date w/ 6 day work week and holiday damucol Excel Discussion (Misc queries) 3 February 8th 07 02:41 PM


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