Forum Discussion

JulMir0689's avatar
JulMir0689
Copper Contributor
Oct 06, 2021
Solved

Conditional format

 

Having the hardest times setting up a conditional format were i need to highlight a duplicated date with the client first name. for instance Aaron had two services the same day 5/3/21 but when i do a conditional format Adrienne is highlighted as well but she does not have a duplicate service for the same day. i need to find a way to highlight clients that receive multiple services on the same day.  

 

Appt DateaccountClient First NameClient Last NameService
5/3/2021 12:30 PM28458AaronBanksTELD3
5/3/2021 2:00 PM28458AaronBanksTELD7
5/6/2021 12:00 PM105065AdielJonsTELD7
5/14/2021 3:15 PM105065AdielJonsTELD7
5/3/2021 1:45 PM102937AdriennewhiteTELD7
5/24/2021 11:45 AM102937AdriennewhiteTELD7
5/6/2021 2:00 PM105024AleskiBrownTELD7
5/10/2021 11:00 AM105024AleskiBrownTELD3
5/11/2021 11:00 PM105024AleskiBrownTELD3
5/13/2021 1:45 PM105024AleskiBrownTELD7
5/14/2021 8:00 AM105024AleskiBrownD3  - CD Group Session
  • JulMir0689's avatar
    JulMir0689
    Oct 06, 2021

    i like it but it would be helpful if it would be possible to have a number rather than true or false for instance if there are two services for the one day have a number 2 and if three services in the same day a number 3 is that possible?Ilgar_Zarbaliyev 

4 Replies

  • JulMir0689 Hi there,

    I made slight changes in your excel file, solved the issue and attached to this email.

    I changed date to day format. Added two repetitive rows to be sure that the conditional formatting works well.

    To solve this issue, I used Countifs and If functions.

    Have a good day.

    P.S.

    =IF(COUNTIFS($A$2:$A$14,A2,$C$2:$C$14,C2)>1,TRUE, FALSE)

     

     

    If you like this solution, please highlight:))

    • JulMir0689's avatar
      JulMir0689
      Copper Contributor

      i like it but it would be helpful if it would be possible to have a number rather than true or false for instance if there are two services for the one day have a number 2 and if three services in the same day a number 3 is that possible?Ilgar_Zarbaliyev 

      • JulMir0689 

        Conditional Formatting is working on basis of Boolean Logic (True or False Values).
        Actually, if you take if function from my formula, it will give you numbers.
        =COUNTIFS($A$2:$A$14,A2,$C$2:$C$14,C2)

Resources