Hello,
I'm currently using the following CF Rule to highlight cells in two columns that meet a single criteria from a list on another sheet.
However, I would like to expand my criteria to only highlight the cells that meet the current criteria AND one more.
For example, instead of updating a single list with preferred Author's and Series, I added a Status column that will use "active" as the second criteria. This way I can make changes to the Whitelist without having to remove them, only to add them back as needed.
In other words, if Status = "active", AND my current criteria, then highlight cell.
I've tried replacing COUNTIF with COUNTIFS but get a VALUE error.
Any help would be greatly appreciated.
I'm currently using the following CF Rule to highlight cells in two columns that meet a single criteria from a list on another sheet.
Excel Formula:
=SUM(COUNTIF(C2,"*"&INDIRECT("t_Whitelist[Author-Series]")&"*"))
However, I would like to expand my criteria to only highlight the cells that meet the current criteria AND one more.
For example, instead of updating a single list with preferred Author's and Series, I added a Status column that will use "active" as the second criteria. This way I can make changes to the Whitelist without having to remove them, only to add them back as needed.
In other words, if Status = "active", AND my current criteria, then highlight cell.
I've tried replacing COUNTIF with COUNTIFS but get a VALUE error.
VBA Testing.xlsm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Quiz | Title | Author | Series | Author-Series | Range | Status | |||
2 | 149101 | All You Ever Need | Lucado, Max | Abdo, Kenny | Author | active | ||||
3 | 88934 | Aloha, Scooby-Doo! | Weyn, Suzanne | Scooby-Doo (Scholastic); | Aesop | Series | ||||
4 | 192174 | Ant and the Grasshopper | Windmill Book Editors | Let's Learn Aesop's Fables; | All Aboard America | Series | active | |||
5 | 9004 | Bear Detectives | Berenstain, Stan | Berenstain Bears; | Amazing Science | Series | active | |||
6 | 507949 | Black Panthers | Abdo, Kenny | Superhero Animals; | Berenstain Bears | Series | ||||
7 | 59946 | Gateway Arch | Murray, Julie | All Aboard America; | Lucado, Max | Author | active | |||
8 | 103786 | Tires, Spokes, and Sprockets | Dahl, Michael | Amazing Science: Simple Machines; | Scooby-Doo | Series | ||||
CF_Range |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
C2:D8 | Expression | =SUM(COUNTIF(C2,"*"&INDIRECT("t_Whitelist[Author-Series]")&"*")) | text | NO |
Any help would be greatly appreciated.