Forum Discussion

dan_sen25's avatar
dan_sen25
Copper Contributor
Jun 10, 2022
Solved

Conditional formatting for lines which 2 staff members is busy in determined date and hours

Hi everyone, I had a file where were 4 columns "Date", "Start Time", "End time" and "Tutor" and I needed a conditional formatting formula that fills my line or cell in red when a "Tutor" is inserted...
  • HansVogelaar's avatar
    HansVogelaar
    Jun 13, 2022

    dan_sen25 

    If your system uses comma as decimal separator, you should use semicolon to separate the arguments of the function.

    In Italian:

     

    =O((CONTA.PIÙ.SE($A$2:$A$8;$A2;$B$2:$B$8;"<="&$C2;$C$2:$C$8;">="&$B2;$D$2:$D$8;$D2) + CONTA.PIÙ.SE($A$2:$A$8;$A2;$B$2:$B$8;"<="&$C2;$C$2:$C$8;">="&$B2;$D$2:$D$8;$F2))>1; (CONTA.PIÙ.SE($A$2:$A$8;$A2;$B$2:$B$8;"<="&$C2;$C$2:$C$8;">="&$B2;$F$2:$F$8;$D2) + CONTA.PIÙ.SE($A$2:$A$8;$A2;$B$2:$B$8;"<="&$C2;$C$2:$C$8;">="&$B2;$F$2:$F$8;$F2))>1)

     

    See the attached demo workbook.

Resources