How to check if two conditions are met in conditional formatting?

billg127

New Member
Joined
Oct 6, 2017
Messages
2
I have two conditional formatting rules. One highlights games that only appear once in a sheet, the other checks to see if the games exist in a list on another sheet, if so they turn yellow or green, respectively. The problem is some games satisfy both rules. I’d like to create a third rule which turns those games into a different color than the other two rules. Here are my two formulas, I just don’t know how to create the third rule. Anyone know how that would be done? Thanks!

=COUNTIF('Master Games List'!$F$2:$F$200,A3)>0
=COUNTIF($A$3:$M$2000,A3)=1
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to the Board!

Combine the two rules with the AND function, i.e.
Code:
=AND([COLOR=#333333]COUNTIF('Master Games List'!$F$2:$F$200,A3)>0,[/COLOR][COLOR=#333333]COUNTIF($A$3:$M$2000,A3)=1)[/COLOR]
 
Upvote 0
Put the two together for the third rule:
Code:
=AND(COUNTIF('Master Games List'!$F$2:$F$200,A3)>0,COUNTIF($A$3:$M$2000,A3)=1)
Make this your first rule and check the box under Manage Rules that says "Stop if True".
 
Upvote 0
Put the two together for the third rule:
Code:
=AND(COUNTIF('Master Games List'!$F$2:$F$200,A3)>0,COUNTIF($A$3:$M$2000,A3)=1)
Make this your first rule and check the box under Manage Rules that says "Stop if True".
Thank you, Gents!
 
Upvote 0

Forum statistics

Threads
1,214,572
Messages
6,120,306
Members
448,955
Latest member
Dreamz high

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top