• 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 format row based on cell contents

rbobcat1

Member
What formula would I use to highlight only those rows that contain abc?
I have tried =$c2=”abc”
I also tried Search and Find but they didn’t work either.
column acolumn bcolumn c
FALSE​
TRUE​
abc.def.ghi.jkl
FALSE​
TRUE​
123.456.789.012
FALSE​
TRUE​
xyz.abc.def.ghi
FALSE​
TRUE​
345.123.456.789
FALSE​
TRUE​
uvw.xyz.abc.def
FALSE​
TRUE​
890.345.123.456
 
uploaded file

I even tried wildcards
 

Attachments

  • Highlight Rows Based on Cell Value1.xlsx
    31.3 KB · Views: 4
The cell in the formula should match the first row in the Refers to range, so change it from $C1 to $C2
 
Works for me just by changing the range in the formula from $C1 to $C2
if the formula returns a number it's treated as TRUE and an error is treated as FALSE
 
wow i cannot believe i missed that. i guess i was messing with it so much i messed up.

How about another one, what if there is another criteria it must meet?

for instance; if column b =this and column c has 123
I have notice when trying IF and =TEXT it kind of turn numbers in to garbage (see a13)
 

Attachments

  • Highlight Rows Based on Cell Value1.xlsx
    10.2 KB · Views: 3
Back
Top