I'm trying to use conditional formatting to highlight all rows that contains a specific value in any of the cells of that row.
For example, if this is the spreadsheet:
A B C D E
1 Town Baseball Basketball Football Soccer
2 Barksdale Cardinals Lions Tigers Lightning
3 Clinton Bluejays Bears Cardinals Tornadoes
4 Denton Giants Tigers Blues Hornets
I would like to highlight every row that contains 'Blue' anywhere in the row. In this case, it should highlight the "Clinton" row, because it has "Bluejays", and the "Denton" row, because it has "Blues".
I'm trying this as the formula:
=SEARCH("Blue",A1)
And I'm applying it to:
=$1:$1048576
Unfortunately, that highlights the specific cell containing "Blue", but not the entire row.
I've seen posts about formatting the entire row based upon the value of one cell, and I've seen posts about formatting one cell based upon the value of other cells in the row, but I can't seem to figure out how to combine those to work in my situation.
Any ideas?
Try this formula for conditional formatting:
=COUNTIF(1:1,"*blue*")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With