I have the following.
I would expect each cell to be highlighted, however C35 does not seem to be affected.
The theory behind this is Column B could have duplicate entries,
if there is duplicates then I want to check column C,
If Column C has a different data (not duplicate) then to highlight to indicate an issue.
I have a feeling I am using COUNTIFS wrong and should probably be mixing it with some match and index in some way.
Just looking for some fresh eyes to point me in the right direction.
Hard time template idea.xlsx | ||||
---|---|---|---|---|
B | C | |||
33 | Pos test (dupes) | Other field test | ||
34 | 1 | 1 | ||
35 | 1 | 2 | ||
Sheet1 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B34:C35 | Expression | =IF(COUNTIF($B$34:$B$35,B34)>1,IF(COUNTIFS($B$34:$B$35,B34,$C$34:$C$35,"<>")>=2,TRUE,FALSE),FALSE) | text | NO |
I would expect each cell to be highlighted, however C35 does not seem to be affected.
The theory behind this is Column B could have duplicate entries,
if there is duplicates then I want to check column C,
If Column C has a different data (not duplicate) then to highlight to indicate an issue.
I have a feeling I am using COUNTIFS wrong and should probably be mixing it with some match and index in some way.
Just looking for some fresh eyes to point me in the right direction.