Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default conditional format using "OR"?

I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest be
another colour. How would I define the conditional formatting to make this
work?

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default conditional format using "OR"?

This function will return true when you have S, V or P in the target
cell (i.e. A1 in the example below)

=NOT(ISERROR(MATCH(UPPER(A1),{"S","V","P"},1)))


On Jul 25, 9:37*am, Heder wrote:
I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest be
another colour. How would I define the conditional formatting to make this
work?

thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default conditional format using "OR"?

In the conditional formatting dialog box, select Formula Is and use:

=OR(E46="S",E46="V",E46="A") for the first condition and

=NOT(OR(E46="S",E46="V",E46="A")) for the second
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Heder" wrote:

I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest be
another colour. How would I define the conditional formatting to make this
work?

thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default conditional format using "OR"?

Assume those cells are in column A starting with A1. Highlight all the
cells with A1 as the active cell, then click on Format | Conditional
Formatting and choose Formula Is rather than Cell Value Is. Put this
formula in the next box:

=AND((LEN(A1)=1,A1<"A")

Then click the Format button and choose your colour, then OK your way
out. Set a normal format colour for all the cells.

Hope ths helps.

Pete

On Jul 25, 2:37*pm, Heder wrote:
I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest be
another colour. How would I define the conditional formatting to make this
work?

thanks


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default conditional format using "OR"?

You cannot have array constants in conditional formatting.


--
__________________________________
HTH

Bob

"Tim879" wrote in message
...
This function will return true when you have S, V or P in the target
cell (i.e. A1 in the example below)

=NOT(ISERROR(MATCH(UPPER(A1),{"S","V","P"},1)))


On Jul 25, 9:37 am, Heder wrote:
I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest
be
another colour. How would I define the conditional formatting to make this
work?

thanks





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default conditional format using "OR"?

Colour all the cells the colour of the rest and add one CF condition of

=OR(A2="S",A2="V",A2="P")

--
__________________________________
HTH

Bob

"Heder" wrote in message
...
I have a set of data, there are a few possible entries:

S
V
A
P
E [NUMBER]
T [NUMBER]
A [NUMBER]

I would like to have the S, V, and P cells all be one colour and the rest
be
another colour. How would I define the conditional formatting to make this
work?

thanks



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
need help with a conditional format in regards to "date" input Fritter Excel Discussion (Misc queries) 1 September 25th 07 02:40 AM
Scroll Bar missing "Control" tab in "Format Properties" dialog box Peter Rooney Excel Discussion (Misc queries) 5 August 24th 06 05:36 PM
"Daisy-Chain" a conditional format? sixwest Excel Discussion (Misc queries) 2 May 12th 06 02:11 PM
Conditional Format Formula "includes" Cheri Excel Discussion (Misc queries) 4 April 13th 06 08:53 PM
conditional formula to show "open" or "closed" SBS Excel Worksheet Functions 6 January 28th 06 01:48 AM


All times are GMT +1. The time now is 12:33 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"