conditional formatting with asterisk

  • Thread starter Thread starter Jack Sons
  • Start date Start date
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
 
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
 
And you don't even need the =isnumber() bit.

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

An error will be treated as false.
 
Back
Top