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

Google Sheets Conditionally format a range based on values from another range

$
0
0

I have a column/range of emails like:

  • jschmoe@zzz.org
  • vwilliams@zzz.org
  • hpotter@zzz.org
  • swilliams@zzz.org

and a column/range of names like:

  • jschmoe
  • vwilliams
  • tbrady
  • rdowneyjr
  • caguilera
  • swilliams

I'm trying highlight the emails column based on if it finds any substring name from the names column in any of the email columns' emails.

I've tried various variations of COUNTIF, but most of the examples I have found online are for excel and not specifically google sheets.

I've tried=COUNTIF(INDIRECT("ScrubbedNames"), I4)and=COUNTIF(INDIRECT("ScrubbedNames"), I4:I159)

Where ScrubbedNames is the range of names without the email domain and I4 is the first email on the list, or I4:I159 is the entire list of emails

Any help with this would be greatly appreciated as I am new to Stack Exchange and Conditional Formatting in Google Sheets. Thank you!!


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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