Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to do conditional formatting by checking whether a cell of a row is in a column of another sheet?

$
0
0

In sheet A I have this data:

AB
1CustomerId
2Alice012
3Bob024
4Charlie087

And in sheet B I have the conditions for the formatting:

AB
1RedBlue
2024012
3087

Is there a way to conditional formatting sheet A with the conditions in sheet B? I try using this custom formula:

=countif('B'!A:A, $B2) > 0

But it doesn't accept the formula. I need to use it with Google Spreadsheet, but solution for any spreadsheet software is fine.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>