Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default conditional formatting with asterisk

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




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default conditional formatting with asterisk

Try
=ISNUMBER(FIND("*",A3))
Regards,
Alan.
"Jack Sons" wrote in message
...
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




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default conditional formatting with asterisk

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

"Jack Sons" wrote:

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




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default conditional formatting with asterisk

How about:

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

You really want those $'s?

Jack Sons wrote:

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

--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default conditional formatting with asterisk

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

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

An error will be treated as false.



Dave Peterson wrote:

How about:

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

You really want those $'s?

Jack Sons wrote:

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

--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,953
Default conditional formatting with asterisk

=COUNTIF($a$3,"*~**")

You have to account for the characters before and after

--
Regards,
Tom Ogilvy


"Jack Sons" wrote:

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




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default conditional formatting with asterisk

Gentlemen,

Thanks for your help (fast as lightning) and the explanation.

Jack.

"Jack Sons" schreef in bericht
...
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




--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


--------------------------------------------------------------------------------
Mijn Postvak In wordt beschermd door SPAMfighter
102 spam-mails zijn er tot op heden geblokkeerd.
Download de gratis SPAMfighter vandaag nog!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
asterisk tikchye_oldLearner57 Excel Discussion (Misc queries) 7 January 26th 07 01:43 AM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
asterisk in formulas STF Excel Discussion (Misc queries) 4 September 26th 06 06:47 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"