PC Review


Reply
Thread Tools Rate Thread

Conditional format will not work without $ (removed to allow copyi

 
 
CW
Guest
Posts: n/a
 
      21st Apr 2010
Hi,

I have conditional formatting set-up where a range of cells will change
colour based on values in another couple of cells.

The rule was along the lines of:
Cell Value Is between =$D$134 and $E$134

This worked fine however in order to allow me to copy the rule to other rows
I removed the '$' signs (based on a recommendation in another post).

Unfortunately after copying the formula now no longer works. The rule is now:
Cell Value Is between =D134 and E134

Can anyone help by explaining what the '$' does and how I might be able to
fix this as I need to be able to copy the rule to a several rows without
changing each time.

Thanks
CW
 
Reply With Quote
 
 
 
 
Duke Carey
Guest
Posts: n/a
 
      21st Apr 2010
If the values you want to compare ARE ALWAYS in D134 and E134, then you need
the $ signs. Those tell Excel to anchor the comparison to those cells.

If you are trying to use different compariosn values on each row, so that,
fr instance, the D134 and E134 apply to row 134, but row 135 has different
values in colmns D & E, then you would remove the $ that precedes the row
number, like $D134

Was that at all clear?

"CW" wrote:

> Hi,
>
> I have conditional formatting set-up where a range of cells will change
> colour based on values in another couple of cells.
>
> The rule was along the lines of:
> Cell Value Is between =$D$134 and $E$134
>
> This worked fine however in order to allow me to copy the rule to other rows
> I removed the '$' signs (based on a recommendation in another post).
>
> Unfortunately after copying the formula now no longer works. The rule is now:
> Cell Value Is between =D134 and E134
>
> Can anyone help by explaining what the '$' does and how I might be able to
> fix this as I need to be able to copy the rule to a several rows without
> changing each time.
>
> Thanks
> CW

 
Reply With Quote
 
CW
Guest
Posts: n/a
 
      22nd Apr 2010
Great, thanks Duke, that worked

"Duke Carey" wrote:

> If the values you want to compare ARE ALWAYS in D134 and E134, then you need
> the $ signs. Those tell Excel to anchor the comparison to those cells.
>
> If you are trying to use different compariosn values on each row, so that,
> fr instance, the D134 and E134 apply to row 134, but row 135 has different
> values in colmns D & E, then you would remove the $ that precedes the row
> number, like $D134
>
> Was that at all clear?
>
> "CW" wrote:
>
> > Hi,
> >
> > I have conditional formatting set-up where a range of cells will change
> > colour based on values in another couple of cells.
> >
> > The rule was along the lines of:
> > Cell Value Is between =$D$134 and $E$134
> >
> > This worked fine however in order to allow me to copy the rule to other rows
> > I removed the '$' signs (based on a recommendation in another post).
> >
> > Unfortunately after copying the formula now no longer works. The rule is now:
> > Cell Value Is between =D134 and E134
> >
> > Can anyone help by explaining what the '$' does and how I might be able to
> > fix this as I need to be able to copy the rule to a several rows without
> > changing each time.
> >
> > Thanks
> > CW

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Structured references don't work in conditional format formulas. Kim Anderson Microsoft Excel Crashes 1 11th Mar 2010 10:53 PM
conditional format ref., diff work sheet djc Microsoft Excel Worksheet Functions 2 19th Jan 2009 07:19 PM
Conditional Format doesn't work JimS Microsoft Access Forms 8 3rd Jun 2008 09:00 PM
Conditional format does not work for some cells Kees Vos Microsoft Excel Worksheet Functions 2 6th Dec 2007 06:30 AM
Keep format after paste from other worksheets - conditional format or EnableControl solution doesn't work Microsoft Excel Programming 0 3rd May 2004 12:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:29 AM.