Schedule shift for holiday

djay1991

New Member
Joined
Feb 18, 2018
Messages
4
I have a fleet of truck I'm tracking. I need a minimum amount of trucks every day, depending on the day of the week. Right now I am using nested "IF" statements checked against a cell that has the date in it to pull trucks needed number. I have two questions. First I want to be able to shift everything 1 day for holidays. Sometime observed holiday will be different then the actual holiday. Second, is there a better way then nested IF to do this?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Flashbond

Well-known Member
Joined
Mar 13, 2010
Messages
1,784
Office Version
  1. 2019
Platform
  1. Windows
Can you share sample table? May be there can be done something with INDEX() and MATCH() functions.
 
Upvote 0

djay1991

New Member
Joined
Feb 18, 2018
Messages
4
Here's a link. Under the "Totals" and "ES Report" sheet I pull the required number from the "Count" sheet. I use the date on the sheet to set the day of the week which then gets my count number. I need a way, preferably automatically, to shift everything one day from the holiday through the week then the next week go back to original.


https://drive.google.com/file/d/1OlUL6-jjMajeoHrx1h7IppltdgSJbxAw/view?usp=sharing
 
Upvote 0

Forum statistics

Threads
1,186,692
Messages
5,959,202
Members
438,404
Latest member
RailEngineer76

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
Top