Formula to "Review" Alternating Shift Schedules

davidcox9

New Member
Joined
Sep 21, 2023
Messages
12
Platform
  1. Windows
Hello,

I have rotating shifts that I would like to create a formula to tell me to review or be blank if the days are showing correctly.

Here is an example

DateA and B ShiftC and D Shift
14-Jul​
ISBLANK($G12),ISBLANK($H12),ISBLANK($K12),ISBLANK($L12),$G12:$H12<12,$K12:$L12<12ISBLANK($F12),ISBLANK($I12),ISBLANK($J12),$F12<12,$I12<12,$J12<12
21-Jul​
ISBLANK($F12),ISBLANK($I12),ISBLANK($J12),$F12<12,$I12<12,$J12<12ISBLANK($G12),ISBLANK($H12),ISBLANK($K12),ISBLANK($L12),$G12:$H12<12,$K12:$L12<12)

So week 1 I want A shift to look at Mon, Tue, Fri, and Sat
But then week 2 I need it to look at Sun, Tue, and Wed.

My actual formula is this

IF(OR(D12=$T$2,D12=$T$3),IF(OR(ISBLANK($G12),ISBLANK($H12),ISBLANK($K12),ISBLANK($L12),$G12:$H12<12,$K12:$L12<12),"Review",""),IF(OR(D12=$T$4,D12=$T$5),IF(OR(ISBLANK($F12),ISBLANK($I12),ISBLANK($J12),$F12<12,$I12<12,$J12<12),"Review","")

T2 and T3 are A and B Shift
T4 and T5 are C and D Shift

Any help would be great if it's at all possible.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,223,871
Messages
6,175,092
Members
452,612
Latest member
MESTeacher

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