#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Conditional Format

Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 106
Default Conditional Format

You can use the or function

i.e. =or(a1="VIP";a1="Prem")

"nbslarson" wrote:

Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Conditional Format

Doctor G, I tried that, but I keep getting an error, and the "VIP" is
highlighted in the error,

"DoctorG" wrote:

You can use the or function

i.e. =or(a1="VIP";a1="Prem")

"nbslarson" wrote:

Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Conditional Format

You probably need to use a comma rather than a semicolon:

=or(a1="VIP",a1="Prem")

Hope this helps.

Pete

On Feb 12, 6:47*pm, nbslarson
wrote:
Doctor G, I tried that, but I keep getting an error, and the "VIP" is
highlighted in the error,



"DoctorG" wrote:
You can use the or function


i.e. =or(a1="VIP";a1="Prem")


"nbslarson" wrote:


Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 106
Default Conditional Format

Why don't you try it first in a worksheet cell.

Put
=or(a1="VIP";a1="Prem")
in cell A2 and try different inputs in A1.

Maybe something is written wrong. Do you use all of the quotes? Maybe
something is wrong with the ";".

You can also try it with just one argument, like =or(A1="VIP")

If this succeeds see if your language settings require a different character
to join the arguments instead of ";".

See if this helps.

"nbslarson" wrote:

Doctor G, I tried that, but I keep getting an error, and the "VIP" is
highlighted in the error,

"DoctorG" wrote:

You can use the or function

i.e. =or(a1="VIP";a1="Prem")

"nbslarson" wrote:

Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 106
Default Conditional Format

I am sorry about the inconvenience I may have caused. My regional settings
require me to use a semicolon instead of a comma when entering a formula in a
cell and a comma when writing VBA. What a mixup....

Anyway, I believe we have helped nbslarson with his problem although I
cannot see any green checks beside any of our answers.

"nbslarson" wrote:

Doctor G, I tried that, but I keep getting an error, and the "VIP" is
highlighted in the error,

"DoctorG" wrote:

You can use the or function

i.e. =or(a1="VIP";a1="Prem")

"nbslarson" wrote:

Is there a way to use a conditional format which will color a cell one way if
the value is either "VIP" or "Prem"?
I have conditional formats in condition 1 and condition 2, and this would be
condition 3.

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
Capture conditional format as cell format Diddy Excel Discussion (Misc queries) 2 June 23rd 09 11:01 PM
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
Conditional Format - Format Transfer To Chart ju1eshart Excel Discussion (Misc queries) 0 June 1st 06 02:46 PM
copy conditional format to regular format GDC Setting up and Configuration of Excel 3 May 4th 05 09:35 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


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