PC Review


Reply
Thread Tools Rate Thread

Conditional Format not behaving

 
 
a.t.brooks@talk21.com
Guest
Posts: n/a
 
      8th Feb 2008
Hello
I have a workbook consisting of multiple sheets.
Each sheet, a part from the first, contains data about an experiment
that has been run.
The first sheet is a summary sheet (set out as a table) with
references to data in the other sheets. I'd like conditional
formatting to color text red when certain values are exceeded.
This works for most cells, however, I have one set of values where
conditional formatting won't behave. I have set the cell to show text
color of red when the value > 3 but all values are appearing red.
I think the issue is down to the fact that I have used the RIGHT
function to select the number as the actual value in the reference cel
(B24) is "Std: 1.62" (i.e. letters and numbers). On my summary sheet I
have referenced it as =RIGHT('Sheet2'!$B$24,4). Hence 1.62 will appear
in my cell IN RED!!!
I have checked and the Category is set to Number/2 digits.
Is this a bug in Excel or am I missing something fundamental.
Thanks in advance
Tony
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      8th Feb 2008
RIGHT returns a text value, not a number - change your formula to
something like this:

=RIGHT('Sheet2'!$B$24,4)+0

which will convert it to a number.

Hope this helps.

Pete

On Feb 8, 4:44*pm, a.t.bro...@talk21.com wrote:
> Hello
> I have a workbook consisting of multiple sheets.
> Each sheet, a part from the first, contains data about an experiment
> that has been run.
> The first sheet is a summary sheet (set out as a table) with
> references to data in the other sheets. I'd like conditional
> formatting to color text red when certain values are exceeded.
> This works for most cells, however, I have one set of values where
> conditional formatting won't behave. I have set the cell to show text
> color of red when the value > 3 but all values are appearing red.
> I think the issue is down to the fact that I have used the RIGHT
> function to select the number as the actual value in the reference cel
> (B24) is "Std: 1.62" (i.e. letters and numbers). On my summary sheet I
> have referenced it as =RIGHT('Sheet2'!$B$24,4). Hence 1.62 will appear
> in my cell IN RED!!!
> I have checked and the Category is set to Number/2 digits.
> Is this a bug in Excel or am I missing something fundamental.
> Thanks in advance
> Tony


 
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
Excel 2003 Conditional formatting not behaving as expected GrantH General Discussion 0 7th Jan 2011 06:58 PM
Conditional Format overwrighting previous conditional format davethewelder Microsoft Excel Programming 2 10th Apr 2008 04:01 PM
New Conditional Format Overriding Previous Conditional Format Rene Microsoft Excel Misc 3 27th Feb 2008 06:08 PM
Conditional formatting behaving strangely Danny J Microsoft Excel Discussion 10 12th Jan 2005 11:08 PM
Multiple conditional on conditional format formula Frank Kabel Microsoft Excel Programming 1 27th Jul 2004 06:24 PM


Features
 

Advertising
 

Newsgroups
 


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