Forum Discussion

NikolinoDE's avatar
NikolinoDE
Gold Contributor
Jul 20, 2020
Solved

incorrect formulation

Hello everyone, need a little food for thought ... or better...need your help 🙂             Examble (Cell L14) : =ODER(UND(L$9>=$C$3;L$9<=$D$3);UND(L$9>=$E$3;L$9<=$F$3); UND(L$9>=$G$3;...
  • mtarler's avatar
    mtarler
    Jul 20, 2020

    NikolinoDE  I didn't see any change in your conditional formatting formula.  I implemented the last suggestion I made in the attached sheet and added more so it will check what day it is and auto-index down on the Jan sheet so 1 conditional formatting formula will work for every day in that month (I added the 2nd to the range and leave it to you to add the rest).  You still need to tweak the formula for each category (MA1, MA2, etc...) since each needs its own color.  

    I also changed the formula to >= the start time but < end time because the don't actually work that hour/ half-hour period.

    I also noted and corrected that your 1st 06:00am was actually 06:00am the next day and your 06:00am at the end was 05:59.999999999am (floating point error).  You may want to look at the rest of the times and days for those and similar errors also.

     

Resources