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)
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies