Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default conditional format error Excel 2007

I am trying to use conditional formatting to display a different number of
decimal places in a result based on the value of another variable in the same
worksheet. The data to calculate the result is entered in a separate
worksheet. The idea is that if the variable is less than a certain value
then one less digit is diplayed. This is triggered by the conditional format.
Otherise the default number of digits (ie one more) is displayed.
This seems to work fine where the data is input in the same worksheet but
where the input is in another worksheet as in my case then if the conditional
formatting is invoked the format of the cell does not change (revert to
default) if the variable rises above the target value.
F9 has no effect but if you delete a blank cell in the worksheet this
triggers the change. Recalculation is set on automatic.
Any ideas?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default conditional format error Excel 2007

Ron thanks! I'm using Ecel 2007.
The SS is a little complex but I made up a simple one which shows the error.
As below
Sheet 1 data entry in A1 and B1
Sheet 2
A1 =Sheet1!A1
A2=Sheet1!A2
A3=SUM(A1:A2)
Format sheet 2 A3 as a number with 1decimal place
Conditional format sheet 2 A3 with say 6 decimal places with condition
formula =$A$1=0
So if you enter 0 in sheet 1 A1 then see 6 decimal places in sheet 2 A3.
if you then enter 1 in sheet 1 A1, Excel does not reset sheet 2 A3 to 1
decimal place until you delete a blank cell on sheet 2.
Wierd?
Thanks
Phil

"Ron Rosenfeld" wrote:

On Wed, 19 Nov 2008 18:48:02 -0800, Dr. Phil M <Dr. Phil
wrote:

I am trying to use conditional formatting to display a different number of
decimal places in a result based on the value of another variable in the same
worksheet. The data to calculate the result is entered in a separate
worksheet. The idea is that if the variable is less than a certain value
then one less digit is diplayed. This is triggered by the conditional format.
Otherise the default number of digits (ie one more) is displayed.
This seems to work fine where the data is input in the same worksheet but
where the input is in another worksheet as in my case then if the conditional
formatting is invoked the format of the cell does not change (revert to
default) if the variable rises above the target value.
F9 has no effect but if you delete a blank cell in the worksheet this
triggers the change. Recalculation is set on automatic.
Any ideas?


Please post your CF formula or rule, and also the version of Excel you are
using.

I had no problem in Excel 2007

Sheet1!A1: =Sheet2!A1*Sheet2!B1

I entered data in Sheet2!A1:B1 and Sheet1!A1 responded appropriately.

--ron

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default conditional format error Excel 2007

On Wed, 19 Nov 2008 19:49:00 -0800, Dr. Phil M
wrote:

Ron thanks! I'm using Ecel 2007.
The SS is a little complex but I made up a simple one which shows the error.
As below
Sheet 1 data entry in A1 and B1
Sheet 2
A1 =Sheet1!A1
A2=Sheet1!A2
A3=SUM(A1:A2)
Format sheet 2 A3 as a number with 1decimal place
Conditional format sheet 2 A3 with say 6 decimal places with condition
formula =$A$1=0
So if you enter 0 in sheet 1 A1 then see 6 decimal places in sheet 2 A3.
if you then enter 1 in sheet 1 A1, Excel does not reset sheet 2 A3 to 1
decimal place until you delete a blank cell on sheet 2.
Wierd?
Thanks
Phil


I can reproduce it now, and yes, it is extremely weird.

With regard to the conditional formatting, it seems to only affect the number
format. If, in addition to formatting the 6-decimal places in the conditional
format dialog box, you also format a fill color (for the same condition), the
fill color changes appropriately when the number format behaves as you
describe.

As you wrote, it is only an issue if the precedent cell refers to another
worksheet.

To me, all this implies that the Conditional Formatting is being triggered, but
there is some issue with the number formatting "going along".

I believe the ability to include number formatting in with the conditional
formatting was new in Excel 2007.

Seems to me to be a real bug.

Hopefully, one of the MVP's who has a contact with Microsoft for reporting bugs
will see this thread. If not, we should repost it.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default conditional format error Excel 2007

I can also reproduce this and I will report it to Microsoft
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters

"Ron Rosenfeld" wrote in message
...
On Wed, 19 Nov 2008 19:49:00 -0800, Dr. Phil M
wrote:

Ron thanks! I'm using Ecel 2007.
The SS is a little complex but I made up a simple one which shows the
error.
As below
Sheet 1 data entry in A1 and B1
Sheet 2
A1 =Sheet1!A1
A2=Sheet1!A2
A3=SUM(A1:A2)
Format sheet 2 A3 as a number with 1decimal place
Conditional format sheet 2 A3 with say 6 decimal places with condition
formula =$A$1=0
So if you enter 0 in sheet 1 A1 then see 6 decimal places in sheet 2 A3.
if you then enter 1 in sheet 1 A1, Excel does not reset sheet 2 A3 to 1
decimal place until you delete a blank cell on sheet 2.
Wierd?
Thanks
Phil


I can reproduce it now, and yes, it is extremely weird.

With regard to the conditional formatting, it seems to only affect the
number
format. If, in addition to formatting the 6-decimal places in the
conditional
format dialog box, you also format a fill color (for the same condition),
the
fill color changes appropriately when the number format behaves as you
describe.

As you wrote, it is only an issue if the precedent cell refers to another
worksheet.

To me, all this implies that the Conditional Formatting is being
triggered, but
there is some issue with the number formatting "going along".

I believe the ability to include number formatting in with the conditional
formatting was new in Excel 2007.

Seems to me to be a real bug.

Hopefully, one of the MVP's who has a contact with Microsoft for reporting
bugs
will see this thread. If not, we should repost it.
--ron




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default conditional format error Excel 2007

On Sat, 22 Nov 2008 11:55:35 -0400, "Bernard Liengme"
wrote:

I can also reproduce this and I will report it to Microsoft
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters


Great! Thank you, Bernard.
--ron
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default conditional format error Excel 2007

Thanks Bernie,
I will have to stick with a workaround I used in previous versions of Excel.
Regards
Phil

"Ron Rosenfeld" wrote:

On Sat, 22 Nov 2008 11:55:35 -0400, "Bernard Liengme"
wrote:

I can also reproduce this and I will report it to Microsoft
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters


Great! Thank you, Bernard.
--ron

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default conditional format error Excel 2007

Thanks Ron for your help
Phil

"Dr. Phil M" wrote:

Thanks Bernie,
I will have to stick with a workaround I used in previous versions of Excel.
Regards
Phil

"Ron Rosenfeld" wrote:

On Sat, 22 Nov 2008 11:55:35 -0400, "Bernard Liengme"
wrote:

I can also reproduce this and I will report it to Microsoft
best wishes
--
Bernard Liengme
Microsoft Excel MVP
people.stfx.ca/bliengme
email address: remove uppercase characters


Great! Thank you, Bernard.
--ron

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 number format in Excel 2007 hmm Excel Discussion (Misc queries) 3 November 10th 08 03:54 PM
Excel 2007 Vs 2003 Conditional Format Diana Excel Discussion (Misc queries) 4 October 17th 08 06:19 PM
Conditional Format - Excel 2007 6538[_2_] Excel Discussion (Misc queries) 1 March 2nd 08 08:34 AM
Excel 2007 Conditional Format with Formula Suzanne Excel Discussion (Misc queries) 5 September 13th 07 05:18 PM
Conditional format oddity in Excel 2007 [email protected] Excel Worksheet Functions 4 January 25th 07 08:37 PM


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