Home

Excel Formula

Mgayer
Occasional Visitor
I am trying to create a formula that not only adds 15 days to a particular date but if said date lands on a Saturday then it rolls back to Friday and if it lands on a Sunday then it rolls forward to Monday. I have made them with two separate formulas in two separate cells but is there a way to combine those two formulas into one cell?
2 Replies

@Mgayer , first in mind

=A1+7-(WEEKDAY(A1+7,2)=6)+(WEEKDAY(A1+7,2)=7)

 

Use this formula:
=A1+15-(WEEKDAY(A1+15)=7)+(WEEKDAY(A1+15)=1)