Excel Formulas

L

LH4045

I have a sheet that tracks time alotted for work schedule over several Months.

I need to force any formulas that return a Saturday or Sunday, to Monday.
 
G

Gary''s Student

With your date or formula in A1:
=A1+(WEEKDAY(A1)=7)*2+(WEEKDAY(A1)=1) will change Saturday or Snday to the
following Monday.
 
R

Rick Rothstein

Same length, but saves a multiplication operation...

=A1+(WEEKDAY(A1,2)>5)+(WEEKDAY(A1)=7)
 
Top