Scheduler formulas not quite right.

marz73

New Member
Joined
Feb 15, 2016
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Good day everyone! I’m trying to create a list of dates that will automatically update when the value of cell C4 is changed. Cells C7 through C14 work as I needed them. The first issue I’m having starts with Cell C16. Cell C16 needs to be the following Monday from C14, no matter what date is returned in cell C14 when Cell C4 is changed, C16 needs to be the Monday that follows C14, unless it’s a holiday then Tuesday. Then Cells C17 to C34 need to display the First workday of that week omitting Monday Holidays (listed in G8-G12). I have uploaded my attempt. I genuinely appreciate all help and any input!
 

Attachments

  • Training Schedule.jpg
    Training Schedule.jpg
    92.8 KB · Views: 4

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Try in C16:
Excel Formula:
=IF(COUTNIF($G$8:$G$12,C14+(7-WEEKDAY(C14,2)+1))=0,C14+(7-WEEKDAY(C14,2)+1),"")
 
Upvote 0
Try in C16:
Excel Formula:
=IF(COUTNIF($G$8:$G$12,C14+(7-WEEKDAY(C14,2)+1))=0,C14+(7-WEEKDAY(C14,2)+1),"")
I got a return of #NAME? when I put =IF(COUTNIF($G$8:$G$12,C14+(7-WEEKDAY(C14,2)+1))=0,C14+(7-WEEKDAY(C14,2)+1),"") in cell C16
 
Upvote 0
Countif has a typo, sorry. Also you may sum with row number in order to get following values:
Excel Formula:
=IF(COUNTIF($G$8:$G$12,C14+(7-WEEKDAY(C14,2)+1))=0,(C14+(7-WEEKDAY(C14,2)+1))+(ROW()-16),"")
 
Upvote 0
awesome! Cell C16 works!!! Thanks a ton!!!!!! I dragged it down to cell C34 and once the holiday 5/29/2023 comes up I get a blank cell in C30?
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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