Here is a revised version that fixes this problem. There was no check for those two blank cells. Completely missed it.
=IF(B2&C2&D2&E2="",IF(A2="","NO SHIFT","ON LEAVE"),IF(OR(C2="",E2="",C2>B2+TIME(0,20,0),E2<D2-TIME(0,20,0)),"NOT OK","OK"))
Here is a revised version that fixes this problem. There was no check for those two blank cells. Completely missed it.
=IF(B2&C2&D2&E2="",IF(A2="","NO SHIFT","ON LEAVE"),IF(OR(C2="",E2="",C2>B2+TIME(0,20,0),E2<D2-TIME(0,20,0)),"NOT OK","OK"))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks