View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
cufc1210 cufc1210 is offline
external usenet poster
 
Posts: 18
Default Working out a future date with formulas

in cell A2 date, in cell B2 the amount of days i want to add (not including
sundays) i am using this formula

=IF(WEEKDAY(A7)=2,A7-1-WEEKDAY(A7-1,3)+INT(7/6*(B7+MIN(WEEKDAY(A7-1,3))))-1,A7-1-WEEKDAY(A7-1,3)+INT(7/6*(B7+MIN(WEEKDAY(A7-1,3)))))

which works fine but in cells H2:O2 i have dates (Bank Holidays etc) that i
dont want to be included when it works out the dats

E.g

start date 24/08/09 add 10 days finish date at the moment shows 03/09/09
which is correct but there is one bank holiday in there 28/09 so finish date
needs to show as 04/09

is there some thing I can add to the formula above to remove these dates

Cheers