Add the specified number of work days to the a date.

  • Thread starter Thread starter gus
  • Start date Start date
G

gus

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.
 
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.
 
Thanks it worked


Bob Phillips said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top