Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-19-2018, 07:44 AM
crishar crishar is offline Counting out 10 days from today and then adjusting to the following business day Windows 7 64bit Counting out 10 days from today and then adjusting to the following business day Office 2007
Novice
Counting out 10 days from today and then adjusting to the following business day
 
Join Date: May 2018
Posts: 1
crishar is on a distinguished road
Default Counting out 10 days from today and then adjusting to the following business day

I have a current formula that counts out 10 calendar days from an entered date. if the calculated date lands on a weekend or holiday, it currently displays the previous business day (usually a Friday). I would like it instead to display the following business day (usually a Monday).

I'm not sure which part of the formula to adjust to make that change. I've attached a snippet of the current formula. Any help would be greatly appreciated.
Thanks!
Attached Images
File Type: png Formula snip.PNG (15.8 KB, 19 views)
Reply With Quote
  #2  
Old 05-19-2018, 08:47 AM
ArviLaanemets ArviLaanemets is offline Counting out 10 days from today and then adjusting to the following business day Windows 8 Counting out 10 days from today and then adjusting to the following business day Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

USE WEEKDAY() with ISO weekday numbers. Then you can use formula (on fly)
Code:
=E6 + (8 - WEEKDAY(E6,2))*(WEEKDAY(E6,2) > 5)

Last edited by ArviLaanemets; 05-19-2018 at 04:48 PM.
Reply With Quote
  #3  
Old 05-19-2018, 09:33 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Counting out 10 days from today and then adjusting to the following business day Windows 7 64bit Counting out 10 days from today and then adjusting to the following business day Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

As you have XL2007 the WORKDAY function should be available?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 05-20-2018, 02:48 PM
p45cal's Avatar
p45cal p45cal is online now Counting out 10 days from today and then adjusting to the following business day Windows 10 Counting out 10 days from today and then adjusting to the following business day Office 2016
Expert
 
Join Date: Apr 2014
Posts: 867
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

=workday(e6+9,1)
?
Reply With Quote
  #5  
Old 05-21-2018, 01:11 AM
ArviLaanemets ArviLaanemets is offline Counting out 10 days from today and then adjusting to the following business day Windows 8 Counting out 10 days from today and then adjusting to the following business day Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

WORKDAY() is a bit tricky function. It is logical to assume, that when you want to move the date only when it falls on weekend, and otherwise to let it unchanged, the 2nd parameter will be 0. Forget logic there - with 0 as parameter you get same date back - workday or not. Instead you have to use
Code:
=WORKDAY(E6-1,1)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting out 10 days from today and then adjusting to the following business day Fifteen Days From Today's Date, (Not Counting Saturday & Sunday). StephenRay Word VBA 13 07-26-2017 11:22 AM
Sum Function over Today +/- 60 Days gabeha Excel 2 09-12-2014 01:13 AM
Using Outlook Today Calendar Days cwksr Outlook 0 08-13-2014 10:57 AM
Conditional formatting of Today +21 days? SHERMAN Excel 3 12-20-2010 08:08 AM
Creating an Auto-Calc'd Date? Today+7 Days? SoCalTelephone Word 0 10-06-2010 10:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:19 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