conditional formatting with asterisk

J

Jack Sons

Hi all,

How to do the conditional formatting if I want in A3:p200 the back ground
color of a cell to be yellow if it contains an asterisk. Example, cells may
look
like ABC/D*EF/JSO/HIJ in which case I want the back ground yellow.
I tried a lot, but (for instance) =countif($A$3="~*" ) etc. won't work. How
to make clear that with
* is meant just that character, not the wildcard?

TIA

Jack Sons
The Netherlands
 
G

Guest

Put this conditional format in A3 after selecting Formula is

=FIND("*",A3)>0

Then use the format painter to paint the format into your range of cells.

Mike
 
D

Dave Peterson

And you don't even need the =isnumber() bit.

=SEARCH("~*",$A$3)

An error will be treated as false.
 

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