Pick a day of 25 weeks later

secoo140

Board Regular
Joined
Oct 12, 2013
Messages
85
Office Version
  1. 2010
Platform
  1. Windows
Hello,
It is hard to explain, but I need to create a table, that says exact dates of some schecules.

The patients that I discharged from hospital
Needs to see me
in 25 weeks later, but exactly that week's Tuesday.

Code:
=Today()+175
this code not helps me because I discharge patient in different days.

I need a code like =blabla()+25weeks; tuesday.

Hope you understand, And help me :)
static work table makes cancer patients life harder.


Dr. Seckin.
Regards.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Or possibly...

=3-WEEKDAY(TODAY()+175)+TODAY()+175

depending on what you want it to produce when today's date is a Sunday.
 
Upvote 0
Code:
[COLOR=#333333][I]=3-WEEKDAY(TODAY()+175)+TODAY()+175[/I][/COLOR]

this code works
but how can I modify this as
next days of that week?

wednesday, friday - --- ?
 
Upvote 0
I don't understand what you are asking, the formula gives the Tuesday of the week whatever the day.

Excel Workbook
ABCDE
1MARK858steve the fish
224/02/2018 Sat14/08/2018 Tue14/08/2018 Tue
325/02/2018 Sun21/08/2018 Tue14/08/2018 Tue
426/02/2018 Mon21/08/2018 Tue21/08/2018 Tue
527/02/2018 Tue21/08/2018 Tue21/08/2018 Tue
628/02/2018 Wed21/08/2018 Tue21/08/2018 Tue
701/03/2018 Thu21/08/2018 Tue21/08/2018 Tue
802/03/2018 Fri21/08/2018 Tue21/08/2018 Tue
903/03/2018 Sat21/08/2018 Tue21/08/2018 Tue
1004/03/2018 Sun28/08/2018 Tue21/08/2018 Tue
Sheet1
 
Upvote 0
this works perfectly!

but today I managed to find another problem.
Some days are national holiday.
How to find these days / and skip that week?

is there any way to add this code "Skip these days"
 
Upvote 0
Probably a tidier way of doing this if I thought more about it but see if the below works for you.
The holidays are listed in E2:E4 (change to suit).
The 182 is what adds the 7 days (175 + however many days you need to add).

Excel Workbook
ABCDE
1Start dateOriginal formulaAdding 7 days to holidaysHoliday dates
224/02/201814/08/2018 Tue14/08/2018 Tue20/11/2018
325/02/201821/08/2018 Tue21/08/2018 Tue18/12/2018
425/02/201821/08/2018 Tue21/08/2018 Tue25/12/2018
526/02/201821/08/2018 Tue21/08/2018 Tue
626/04/201816/10/2018 Tue16/10/2018 Tue
727/05/201820/11/2018 Tue27/11/2018 Tue
827/02/201821/08/2018 Tue21/08/2018 Tue
930/06/201818/12/2018 Tue25/12/2018 Tue
1001/07/201825/12/2018 Tue01/01/2019 Tue
Sheet1
 
Upvote 0
Just a fix for an issue with Xmas and New Year....

Excel Workbook
ABCDE
1Start dateOriginal formulaAdding 7 days to holidaysHoliday dates
224/02/201814/08/2018 Tue14/08/2018 Tue20/11/2018
325/02/201821/08/2018 Tue21/08/2018 Tue18/12/2018
425/02/201821/08/2018 Tue21/08/2018 Tue25/12/2018
526/02/201821/08/2018 Tue21/08/2018 Tue
626/04/201816/10/2018 Tue16/10/2018 Tue
727/05/201820/11/2018 Tue27/11/2018 Tue
827/02/201821/08/2018 Tue21/08/2018 Tue
930/06/201818/12/2018 Tue08/01/2019 Tue
1001/07/201825/12/2018 Tue08/01/2019 Tue
1108/07/201801/01/2019 Tue08/01/2019 Tue
Sheet1
 
Upvote 0
A shorter one:

=WORKDAY.INTL(A2+170,1,"1011111",Holidays)

where Holidays is a range that contains holiday dates.
 
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

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