Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Dave
 
Posts: n/a
Default Conditional Format based on range

Hi,
Is there a formula I can use in CF to change the format of a cell if the
value is within a specified range? For example, if the value in B1 matches a
value in A1:A20 then I want the format to change.

Thanks in advance.
Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Conditional Format based on range

Hi!

Try this:

Select cell B1
Goto FormatConditional Formatting
Formula Is: =COUNTIF(A$1:A$20,B1)
Click the Format button
Select the desired style(s)
OK out

Biff

"Dave" wrote in message
...
Hi,
Is there a formula I can use in CF to change the format of a cell if the
value is within a specified range? For example, if the value in B1 matches
a
value in A1:A20 then I want the format to change.

Thanks in advance.
Dave



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave
 
Posts: n/a
Default Conditional Format based on range

Thanks Biff,
That's much more elegant than the =OR(... function I had in there.

Dave


"Biff" wrote:

Hi!

Try this:

Select cell B1
Goto FormatConditional Formatting
Formula Is: =COUNTIF(A$1:A$20,B1)
Click the Format button
Select the desired style(s)
OK out

Biff

"Dave" wrote in message
...
Hi,
Is there a formula I can use in CF to change the format of a cell if the
value is within a specified range? For example, if the value in B1 matches
a
value in A1:A20 then I want the format to change.

Thanks in advance.
Dave




  #4   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Conditional Format based on range

You're welcome!

Biff

"Dave" wrote in message
...
Thanks Biff,
That's much more elegant than the =OR(... function I had in there.

Dave


"Biff" wrote:

Hi!

Try this:

Select cell B1
Goto FormatConditional Formatting
Formula Is: =COUNTIF(A$1:A$20,B1)
Click the Format button
Select the desired style(s)
OK out

Biff

"Dave" wrote in message
...
Hi,
Is there a formula I can use in CF to change the format of a cell if
the
value is within a specified range? For example, if the value in B1
matches
a
value in A1:A20 then I want the format to change.

Thanks in advance.
Dave






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 do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM
Conditional format IP range deo89 Excel Discussion (Misc queries) 4 December 29th 05 02:56 AM
Conditional Format Not Working KMH Excel Discussion (Misc queries) 0 December 22nd 05 05:32 PM
Conditional Format based on contents of cell. dave m Excel Worksheet Functions 13 April 29th 05 01:12 PM
Copying a conditional format Meaux Excel Worksheet Functions 2 November 29th 04 10:19 AM


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