Return a date based on it being Monday, Thursday or Friday

shina67

Board Regular
Joined
Sep 18, 2014
Messages
141
Hi,

I have a spreadsheet that gets dates manually inputted into it.
What I need is a formula to return a date 7 days on from the manual input but has to be a Monday, Thursday or Friday.
I.E. Manual input is 1/10/19 or 2/10/19 I would want the returned date to be 10/10/19. Manual input 3/10/19 would return the date 10/10/19, manual input 4/10/19 returned date would be 11/10/19.

Hope this makes sense.
I have tried using a helper column with the function WEEKDAY in it but I am having some brain freeze.

Thanks in advance for any help.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Here's my formula. There may be better ones.

Book1
ABCD
1Tue10/1/201910/10/2019Thu
2Wed10/2/201910/10/2019Thu
3Thu10/3/201910/10/2019Thu
4Fri10/4/201910/11/2019Fri
5Sat10/5/201910/14/2019Mon
6Sun10/6/201910/14/2019Mon
7Mon10/7/201910/14/2019Mon
8Tue10/8/201910/17/2019Thu
9Wed10/9/201910/17/2019Thu
10Thu10/10/201910/17/2019Thu
11Fri10/11/201910/18/2019Fri
12Sat10/12/201910/21/2019Mon
13Sun10/13/201910/21/2019Mon
14Mon10/14/201910/21/2019Mon
15Tue10/15/201910/24/2019Thu
16Wed10/16/201910/24/2019Thu
17Thu10/17/201910/24/2019Thu
Sheet1
Cell Formulas
RangeFormula
C1=IF(OR(WEEKDAY(B1+7,14)<3,WEEKDAY(B1+7,14)=5),B1+7,IF(WEEKDAY(B1+7,14)>5,B1+7+3-WEEKDAY(B1+7,12),B1+7+3-WEEKDAY(B1+7,16)))
 
Upvote 0
A little shorter:

=WORKDAY.INTL(A1+6,1,"0110011")



 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top