• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Conditional formatting for every 12th entry

Is it possible to create a conditional formatting for every 12th occurrence that has a fill color and says the word yes in column c? The occurs of every 12 won't be in order. So the conditional format will reference the name and if it's the 12th occurrence
 

Attachments

  • 12's.xlsx
    22.5 KB · Views: 5
Last edited:
paste in c2:

=IF(MOD(COUNTIF($A$2:A2,A2),12)=0,"yes","")​

and drag to fill.

Then, conditional formatting formula will look like this:

=c2="yes"​

See attached.
 

Attachments

  • shaded1.xlsx
    11.3 KB · Views: 7
Remove the old CF

Select A2:C61
Goto CF
Apply a new CF
Use a Formula
=MOD(COUNTIF($A$2:$A2,$A2),12)=0
select a format
apply

If Column C can also be No or Blank
use:
=And(MOD(COUNTIF($A$2:$A2,$A2),12)=0,$C2="Yes")
 
Back
Top