Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Conditional Formatting

How do I enter the condition for "Formula is" if I want to base conditional
formatting on more than one valid value in a cell - i.e., if L$9 equals
either "Sat" or "Sun"?

My test for a single value works(=L$9="Sat"), but I can't seem to extend it
to more than one value without errors.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Conditional Formatting

One way:

=OR(L$9="Sat",L$9="Sun")

In article , WillW
wrote:

How do I enter the condition for "Formula is" if I want to base conditional
formatting on more than one valid value in a cell - i.e., if L$9 equals
either "Sat" or "Sun"?

My test for a single value works(=L$9="Sat"), but I can't seem to extend it
to more than one value without errors.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,081
Default Conditional Formatting

I also like the {} construct

=or(l$9={"Sat","Sun"})

"JE McGimpsey" wrote:

One way:

=OR(L$9="Sat",L$9="Sun")

In article , WillW
wrote:

How do I enter the condition for "Formula is" if I want to base conditional
formatting on more than one valid value in a cell - i.e., if L$9 equals
either "Sat" or "Sun"?

My test for a single value works(=L$9="Sat"), but I can't seem to extend it
to more than one value without errors.

Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Conditional Formatting

I do too, but it only works with literals, where separate arguments can
include references, so I usually don't use it in examples.

In article ,
Duke Carey wrote:

I also like the {} construct

=or(l$9={"Sat","Sun"})

"JE McGimpsey" wrote:

One way:

=OR(L$9="Sat",L$9="Sun")

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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 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 10:39 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"