Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default use of wildcards in conditional formatting

I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I would like
to get a RED return in all cases "S" is used in the active cell as in S1 or
S2 or S3 or S4 etc. Wildcard is apparently not an option in CF. Any neat
solutions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default use of wildcards in conditional formatting

=ISNUMBER(FIND("S",A1)) if you want it case-sensitive
=ISNUMBER(SEARCH("S",A1)) case-insensitive.
--
David Biddulph

JohnPM wrote:
I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I
would like to get a RED return in all cases "S" is used in the active
cell as in S1 or S2 or S3 or S4 etc. Wildcard is apparently not an
option in CF. Any neat solutions?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default use of wildcards in conditional formatting

Either try the below for text starting with 'S'
=LEFT(A1,1)="S"

OR for a 'S' anywhere in the text
=ISNUMBER(SEARCH("S",A1))

If this post helps click Yes
---------------
Jacob Skaria


"JohnPM" wrote:

I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I would like
to get a RED return in all cases "S" is used in the active cell as in S1 or
S2 or S3 or S4 etc. Wildcard is apparently not an option in CF. Any neat
solutions?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default use of wildcards in conditional formatting

Hi

Try this formula:

=IF(ISERROR(SEARCH("s",A2;1)),,1)0

Regards,
Per

"JohnPM" skrev i meddelelsen
...
I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I would
like
to get a RED return in all cases "S" is used in the active cell as in S1
or
S2 or S3 or S4 etc. Wildcard is apparently not an option in CF. Any neat
solutions?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default use of wildcards in conditional formatting

To try out those you will have to select condition using formula within CF.
Follow the below steps

1. Select the cell/Range (say A1:A10). Please note that the cell reference
A1 mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection

2. From menu FormatConditional Formatting

3. For Condition1Select 'Formula Is' and enter the formulas

4. Click Format ButtonPattern and select your color (say Red)

5. Hit OK

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Either try the below for text starting with 'S'
=LEFT(A1,1)="S"

OR for a 'S' anywhere in the text
=ISNUMBER(SEARCH("S",A1))

If this post helps click Yes
---------------
Jacob Skaria


"JohnPM" wrote:

I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I would like
to get a RED return in all cases "S" is used in the active cell as in S1 or
S2 or S3 or S4 etc. Wildcard is apparently not an option in CF. Any neat
solutions?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default use of wildcards in conditional formatting

Try this:

=LEFT(A1)="S"

--
Biff
Microsoft Excel MVP


"JohnPM" wrote in message
...
I use three conditions in the active cell. Entry "A" returns yellow
background, Entry "O" returns green and entry "S" returns red. I would
like
to get a RED return in all cases "S" is used in the active cell as in S1
or
S2 or S3 or S4 etc. Wildcard is apparently not an option in CF. Any neat
solutions?



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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Wildcards with Conditional Formatting? Kokomojo Excel Discussion (Misc queries) 3 March 9th 07 02:49 PM
conditional formating - wildcards Terry Excel Worksheet Functions 3 December 2nd 05 03:54 AM
Can conditional sum use wildcards in the formula? Chris Excel Worksheet Functions 3 August 16th 05 05:23 AM
Can Conditional Sum use wildcards? Chris Excel Worksheet Functions 1 August 16th 05 04:56 AM


All times are GMT +1. The time now is 04:22 AM.

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"