Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-02-2017, 12:39 PM
realtor realtor is offline Windows 10 Office 2016
Novice
weekend to monday logic problem
 
Join Date: Aug 2017
Posts: 2
realtor is on a distinguished road
Default weekend to monday logic problem

I'm writing a timeline sheet and need to know the formula if a timeline ends on a Saturday/sunday to default to the following Monday IE:

inspection deadline is 10 days ( not workdays) but if it ends on a weekend /holiday it needs to default to the following Monday.
any help would be greatly appreciated
Reply With Quote
  #2  
Old 08-02-2017, 03:30 PM
macropod's Avatar
macropod macropod is offline weekend to monday logic problem Windows 7 64bit weekend to monday logic problem Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Suppose the initial date is in A1 and the deadline offset (the 10 days) is in B1. In that case, the inspection date could be calculated as:
=A1+B1+(MOD(A1+B1,7)<2)*(2-MOD(A1+B1,7))
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-02-2017, 04:22 PM
realtor realtor is offline Windows 10 Office 2016
Novice
weekend to monday logic problem
 
Join Date: Aug 2017
Posts: 2
realtor is on a distinguished road
Default

It worked with just a little customizing. Thanks a bunch
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate time from midnight on (Weekend hours, Fri-Sat night shift problem) stormrider2230 Excel 1 01-20-2016 01:41 PM
weekend to monday logic problem force task start on monday pascalbidouille Project 2 07-01-2015 01:57 PM
'Monday to Friday' Date calculation help needed ballst Word 10 12-16-2014 09:51 AM
weekend to monday logic problem Weekend Working Planner18 Project 1 10-29-2014 11:30 AM
Calculating Weekend Allowance WinIDS Excel 6 09-02-2011 01:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft