Conditionally format entire worksheet

J

JDesmarais

I want to format the worksheet to look in every cell for a letter and if that
letter is present, color the background a color. I cannot figure out how to
write the formula to search the entire worksheet without turning the entire
worksheet the color.

Example, everytime a cell's entry is M color the background green
 
T

Teethless mama

Assuming you're looking for a letter "e"

Select your range

Conditional Formatting:

=COUNTIF(A1,"*e*")
 
S

Sheeloo

OR use in FORMULA IS
=ISNUMBER(FIND("M",A1))

or

=ISNUMBER(FIND("M",UPPER(A1))) if you want both m and M.
 
T

T. Valko

You don't really need to use ISNUMBER.

For case consideration

=FIND("M",A1)

Or, for case not a consideration:

=SEARCH("M",A1)

FIND/SEARCH will return either a number >=1 or an error. When the return is
any number other than 0 the format will be applied. When the return is an
error the format will not be applied.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top