View Single Post
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Joe,

Try this

=A1+16+(WEEKDAY(A1+16,2)=6)+(WEEKDAY(A1+16,2)5)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"JoeKazz" wrote in message
...
I am using Excel 2002. I would like to understand how to have a date

result
from a formula change the date to a Monday, should the result be a

Saturday
or Sunday date. For instance, my return date should be sixteen days from
today. But if the return date is Saturday or Sunday, make the return date

a
Monday. I fooled around to get a formula to work, but only for five rows.
Then, the formula returned a normal X + 16 result.
A B C
1 08/01/05 08/17/05 Wednesday
Formula ColumnC:
A1+16
Format Column C:

dddd
Formula Column B: =if(c1=Saturday,a1+18,if(c1=Sunday,a1+17,a1+16))
The formula did not work with Saturday/Sunday in quotes " ". I also
"INSERT", "NAME", "DEFINE" for all days Sunday through Monday. The

formula
only worked for dates 8/1/05 through 8/5/05, then the result was always

the
date plus 16.