Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add the specified number of work days to the a date.
Can someone know how i can get the date after adding to another date some
working days? Let's say that now we have 2005-10-13, if i add 5 working days i must get as a result the 2005-10-20 .(not include sun and sat). Can anyone have a forumula. (Not with the analysis toolpack) just simple formula or vba for excel 97. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add the specified number of work days to the a date.
Why not the ATP?
=start_date+SIGN(B1)*SMALL(IF((WEEKDAY(start_date+ SIGN(days)*(ROW(INDIRECT(" 1:"&ABS(days)*10))))={1,2,3,4,5})* ISNA(MATCH(start_date+SIGN(days)*(ROW(INDIRECT("1: "&ABS(days)*10))),holidays ,0)),ROW(INDIRECT("1:"&ABS(days)*10))),ABS(days)) it is an array formula, so commit with Ctrl-Shift-Enter. -- HTH Bob Phillips "gus" wrote in message ... Can someone know how i can get the date after adding to another date some working days? Let's say that now we have 2005-10-13, if i add 5 working days i must get as a result the 2005-10-20 .(not include sun and sat). Can anyone have a forumula. (Not with the analysis toolpack) just simple formula or vba for excel 97. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add the specified number of work days to the a date.
Thanks it worked "Bob Phillips" wrote in message ... Why not the ATP? =start_date+SIGN(B1)*SMALL(IF((WEEKDAY(start_date+ SIGN(days)*(ROW(INDIRECT(" 1:"&ABS(days)*10))))={1,2,3,4,5})* ISNA(MATCH(start_date+SIGN(days)*(ROW(INDIRECT("1: "&ABS(days)*10))),holidays ,0)),ROW(INDIRECT("1:"&ABS(days)*10))),ABS(days)) it is an array formula, so commit with Ctrl-Shift-Enter. -- HTH Bob Phillips "gus" wrote in message ... Can someone know how i can get the date after adding to another date some working days? Let's say that now we have 2005-10-13, if i add 5 working days i must get as a result the 2005-10-20 .(not include sun and sat). Can anyone have a forumula. (Not with the analysis toolpack) just simple formula or vba for excel 97. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Date minus work days | Excel Worksheet Functions | |||
Date Formula for number of days between a date and today | Excel Discussion (Misc queries) | |||
business day date from a specific date based on a number of days | Excel Worksheet Functions | |||
Excel Formula to calulate number of days passed from date to date | Excel Discussion (Misc queries) | |||
Number of work days/month | Excel Worksheet Functions |