Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Werner Rohrmoser
 
Posts: n/a
Default Conditional Formatting Reference / Inserting Rows

Hello,

Application: Excel XP SP2
OS: Win XP 5.1.2600 SP1

Data:
A1 10
A2 20
A3 30

Cond. Format in:
A11 =$a$1 5 = green interior color
A12 =$a$2 5 = green interior color
A13 =$a$3 5 = green interior color

When I insert rows between row 1 and 2 the references
in the cond. format formulas do not change.
When I use cond. formatting only in row 11 and I insert
rows between row 1 and 2, then the formula
of the cond. formatting adjusts to the appropriate reference.

What's the secret behind this behaviour?

Regards
Werner

  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Werner,

Conditional formatting formulas are actually stored as strings. If you want to have them update,
you'll need to use a helper column of formulas.
For example, in B11, use the formula

=A1

and copy down for two cells, then change your CF formulas to

=B115
etc...

HTH,
Bernie
MS Excel MVP


"Werner Rohrmoser" wrote in message
oups.com...
Hello,

Application: Excel XP SP2
OS: Win XP 5.1.2600 SP1

Data:
A1 10
A2 20
A3 30

Cond. Format in:
A11 =$a$1 5 = green interior color
A12 =$a$2 5 = green interior color
A13 =$a$3 5 = green interior color

When I insert rows between row 1 and 2 the references
in the cond. format formulas do not change.
When I use cond. formatting only in row 11 and I insert
rows between row 1 and 2, then the formula
of the cond. formatting adjusts to the appropriate reference.

What's the secret behind this behaviour?

Regards
Werner



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 a full row triggered by a single cell reference... neilcarden Excel Worksheet Functions 1 August 17th 05 02:59 PM
Conditional Formatting... OC Del Guy Excel Discussion (Misc queries) 0 June 1st 05 12:05 AM
Losing conditional formatting when saving Eric FD Excel Discussion (Misc queries) 3 January 18th 05 11:42 PM
Copy conditional formatting across multiple rows? Gil Excel Discussion (Misc queries) 1 January 11th 05 11:27 AM
CAN I HIDE ROWS WITH CONDITIONAL FORMATTING? Likepike Excel Discussion (Misc queries) 2 December 21st 04 04:02 PM


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