Hi,
I hope someone will be able to help me just as they have before.
I want to build in an automatic check to my staff off duty sheet (attached) to make sure that I have 2 or more people arriving at 0800 and 2 or more people staying until 1820.
In B151 I want to count the number of times 0800 appears in the shift times line of each persons rota, but I need to take away from that the number of times "ODU" appears in the top line of each persons shifts.
In B152 I want to count the number of times 1820 appears in the shift times line of each persons rota, but I need to take away from that the number of times ODU appears in the bottom line of each persons shifts.
Then I would copy this across to C151, D, E, F.
I tried starting simple and counting the number of 0800s using the following:
=COUNTIF((B135,B130,B125,B120,B115,B110,B105,B100,B95,B90,B85,B80,B75,B70,B65,B60,B55,B50,B45,B40,B35,B30,B25,B20,B15,B10),"*0800*")
But that returns a #VALUE! result.
I'm not great with excel and would appreciate any help.
Bookmarks