Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Conditional Formatting while working with 2 columns

I'm working on excel 2003, and I have a list table that has six columns.
Column E contains volatile data which computes the number of days the row
item has been on the table until the entry is updated again.

What I've been trying to do is to shade the cell in column A, depending on
the value in the corresponding cell in column E which falls along the same
row. The only method I've been able to figure out so far that is guaranteed
to work is to make conditional formats for every cell in column A, but that
will be too tedious, and also inappropriate, since the data occasionally gets
rearranged because it is frequently updated, thus it would change the cell
references.

Example:

A | B | C | D | E
| | | | 18
| | | | 7
| | | | 24
| | | | 2

condition 1: E 20 Red
condition 2: E 13 Orange
condition 3: E 6 Green

I think i need a formula to make the conditional format refer _implicitly_
to the corresponding cell that is along the same row under column E, but i
just can't figure it out. Hope you guys can help me out with this. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Conditional Formatting while working with 2 columns

Select all the cells in column A, starting at A1

Got to FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$E120
Click the Format button
Select the Palette tab
Choose Red
OK
Click the Add button
Change Condition 2 to Formula Is
Add a formula of =$E113
Click the Format button
Select the Palette tab
Choose Orange
OK
Click the Add button
Change Condition 1 to Formula Is
Add a formula of =$E16
Click the Format button
Select the Palette tab
Choose Green
OK
OK

Also, see http://www.xldynamic.com/source/xld.CF.html#lights

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jonathan" wrote in message
...
I'm working on excel 2003, and I have a list table that has six columns.
Column E contains volatile data which computes the number of days the row
item has been on the table until the entry is updated again.

What I've been trying to do is to shade the cell in column A, depending on
the value in the corresponding cell in column E which falls along the same
row. The only method I've been able to figure out so far that is
guaranteed
to work is to make conditional formats for every cell in column A, but
that
will be too tedious, and also inappropriate, since the data occasionally
gets
rearranged because it is frequently updated, thus it would change the cell
references.

Example:

A | B | C | D | E
| | | | 18
| | | | 7
| | | | 24
| | | | 2

condition 1: E 20 Red
condition 2: E 13 Orange
condition 3: E 6 Green

I think i need a formula to make the conditional format refer _implicitly_
to the corresponding cell that is along the same row under column E, but i
just can't figure it out. Hope you guys can help me out with this. Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Conditional Formatting while working with 2 columns

Thanks, but unfortunately this wouldn't work for me. You see, the data I work
with is updated daily, so the rows change from time to time. if i choose E1
explicitly, it might not shade the cell correctly when the row number for
that line item changes.

"Bob Phillips" wrote:

Select all the cells in column A, starting at A1

Got to FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$E120
Click the Format button
Select the Palette tab
Choose Red
OK
Click the Add button
Change Condition 2 to Formula Is
Add a formula of =$E113
Click the Format button
Select the Palette tab
Choose Orange
OK
Click the Add button
Change Condition 1 to Formula Is
Add a formula of =$E16
Click the Format button
Select the Palette tab
Choose Green
OK
OK

Also, see http://www.xldynamic.com/source/xld.CF.html#lights

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Conditional Formatting while working with 2 columns

Shouldn't matter, the formula will update inline with the rows.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jonathan" wrote in message
...
Thanks, but unfortunately this wouldn't work for me. You see, the data I
work
with is updated daily, so the rows change from time to time. if i choose
E1
explicitly, it might not shade the cell correctly when the row number for
that line item changes.

"Bob Phillips" wrote:

Select all the cells in column A, starting at A1

Got to FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$E120
Click the Format button
Select the Palette tab
Choose Red
OK
Click the Add button
Change Condition 2 to Formula Is
Add a formula of =$E113
Click the Format button
Select the Palette tab
Choose Orange
OK
Click the Add button
Change Condition 1 to Formula Is
Add a formula of =$E16
Click the Format button
Select the Palette tab
Choose Green
OK
OK

Also, see http://www.xldynamic.com/source/xld.CF.html#lights

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Conditional Formatting while working with 2 columns

I'm sorry. I doublechecked. i mistyped the formula, and it works! haha.
Thanks a lot, you're great!
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
Conditional Formatting - not working Maze[_2_] Excel Discussion (Misc queries) 0 February 10th 10 06:22 PM
Conditional formatting in VBA not working Marilyn Excel Discussion (Misc queries) 3 January 10th 09 04:58 PM
Conditional Formatting ROW not working Rod Excel Discussion (Misc queries) 8 October 5th 08 09:32 PM
Why isn't the conditional formatting working? Ray[_4_] Excel Programming 2 July 10th 07 06:42 AM
Conditional formatting not working! Simon Lloyd[_420_] Excel Programming 13 May 8th 04 05:43 PM


All times are GMT +1. The time now is 12:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"