Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I set conditional formatting relative to another cell -XL20

I want to conditionally format a cell - say cell B1 - based on the value in
another cell - say cell A1 - and then apply that relative formula to a column
of values:

if B1 < A1 then turn red
if B1 <= (A1 * 0.90) then turn yellow

I can create the rules for this (red rule gets priority over yellow rule) in
the new Excel 2007, but I can not figure out how to copy down the rule to
cells B2 (compared to cell A2), B3 (compared to cell A3), etc.

In the older version of Excel I could just copy and paste special --
formats, but in this version, it keeps putting the $ in front of the
variables (i.e. $A$1) fixing them in place. (It won't let me delete the $
signs; it adds them back in whenever I click "apply".) I have a column of
several hundred values and don't really fancy adding each of these rules to
all of the values!

Any advice would be greatly appreciated! Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do I set conditional formatting relative to another cell-XL20

Highlight all the cells in column B first, with B1 as the active cell,
and then apply your CF rules as if for B1 - Excel will adjust the cell
references for you when you OK out.

Hope this helps.

Pete

On Dec 7, 4:37*am, kboekhoff
wrote:
I want to conditionally format a cell - say cell B1 - based on the value in
another cell - say cell A1 - and then apply that relative formula to a column
of values:

if B1 < A1 then turn red
if B1 <= (A1 * 0.90) then turn yellow

I can create the rules for this (red rule gets priority over yellow rule) in
the new Excel 2007, but I can not figure out how to copy down the rule to
cells B2 (compared to cell A2), B3 (compared to cell A3), etc.

In the older version of Excel I could just copy and paste special --
formats, but in this version, it keeps putting the $ in front of the
variables (i.e. $A$1) fixing them in place. (It won't let me delete the $
signs; it adds them back in whenever I click "apply".) I have a column of
several hundred values and don't really fancy adding each of these rules to
all of the values!

Any advice would be greatly appreciated! Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I set conditional formatting relative to another cell -

Unfortunately, that did not work. It is still only doing conditional
formatting based on cell A1 for all selected cells...

"Pete_UK" wrote:

Highlight all the cells in column B first, with B1 as the active cell,
and then apply your CF rules as if for B1 - Excel will adjust the cell
references for you when you OK out.

Hope this helps.

Pete

On Dec 7, 4:37 am, kboekhoff
wrote:
I want to conditionally format a cell - say cell B1 - based on the value in
another cell - say cell A1 - and then apply that relative formula to a column
of values:

if B1 < A1 then turn red
if B1 <= (A1 * 0.90) then turn yellow

I can create the rules for this (red rule gets priority over yellow rule) in
the new Excel 2007, but I can not figure out how to copy down the rule to
cells B2 (compared to cell A2), B3 (compared to cell A3), etc.

In the older version of Excel I could just copy and paste special --
formats, but in this version, it keeps putting the $ in front of the
variables (i.e. $A$1) fixing them in place. (It won't let me delete the $
signs; it adds them back in whenever I click "apply".) I have a column of
several hundred values and don't really fancy adding each of these rules to
all of the values!

Any advice would be greatly appreciated! 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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional formatting changing relative when copied to other cell robbin Excel Worksheet Functions 1 September 5th 07 11:36 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
XL2K - Conditional Formatting relative to cell selection Lezh Excel Discussion (Misc queries) 3 December 31st 05 09:56 AM


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