excel 2010 conditional format

User avatar
luv2bounce
StarLounger
Posts: 59
Joined: 07 Dec 2010, 12:21

excel 2010 conditional format

Post by luv2bounce »

I have a spreadsheet that was originally created in office 2003 including conditional formats. it has now been converted to excel 2010 and if the conditional format is true the font changes - but the font choices are greyed out if I try to edit this (I don't want the font style to change).

Any ideas? Also, can anyone summarise how you use the stop if true tick box on multiple conditional formats, I seem to have problems with this if an answer changes wherein the conditional format doesn't update?

Many thanks in advance for your thoughts!

:chocciebar:

User avatar
HansV
Administrator
Posts: 78630
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: excel 2010 conditional format

Post by HansV »

Welcome to Eileen's Lounge!

In conditional formatting, the font characteristics that you can specify are style (bold, italic), underlining, strikethrough and colour. Font name and size cannot be set for conditional formatting. This was also true in Excel 2003.

In Excel 2003 and before, only a single conditional formatting rule could apply to a cell. Processing of the rules always stopped at the first condition that evaluated to True.

In Excel 2007 and later, multiple rules can be applied to the same cell. If the first rule specifies that the background colour is yellow and the second one that the font colour is red, the cell will display red text on a yellow background, unless the first rule specifies "stop if true" to emulate the pre-2007 behaviour (then the cell would have normal text on a yellow background).
Best wishes,
Hans

User avatar
luv2bounce
StarLounger
Posts: 59
Joined: 07 Dec 2010, 12:21

Re: excel 2010 conditional format

Post by luv2bounce »

so how do I find out what is changing the font style - it's doing my head in?

(ps - nice to be in touch with you again - you used to solve all my dilemmas on Woody's Lounge! (I was dandssom then...)

User avatar
HansV
Administrator
Posts: 78630
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: excel 2010 conditional format

Post by HansV »

Are ALL font characteristics greyed out in the dialog, including bold, italic etc.?
Best wishes,
Hans

User avatar
luv2bounce
StarLounger
Posts: 59
Joined: 07 Dec 2010, 12:21

Re: excel 2010 conditional format

Post by luv2bounce »

no, but the font definitely changes from candara to cambria....

User avatar
HansV
Administrator
Posts: 78630
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: excel 2010 conditional format

Post by HansV »

Could you attach a small sample workbook in which this happens? Thanks in advance.
Best wishes,
Hans

User avatar
luv2bounce
StarLounger
Posts: 59
Joined: 07 Dec 2010, 12:21

Re: excel 2010 conditional format

Post by luv2bounce »

does this help to explain?
CF font change.xlsx
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78630
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: excel 2010 conditional format

Post by HansV »

Yes, I see what's happening. Apparently this is a bug in the conversion from the Access 97-2003 format to Excel 2007-2010 format, and it always involves Cambria.

Unfortunately, there is no easy way to correct this - the font name in conditional formatting can't be set either in the interface or in VBA. So the only workaround is to delete the conditional formatting rules that exhibit this behaviour, then re-create them - the bug doesn't occur when you create a new rule in Excel 2007/2010. Sorry!
Best wishes,
Hans

User avatar
luv2bounce
StarLounger
Posts: 59
Joined: 07 Dec 2010, 12:21

Re: excel 2010 conditional format

Post by luv2bounce »

I don't have a problem redoing it - It was more a principle thing! Thanks for having a look.

I am also having a problem with the conditional formats not refreshing in converted spreadsheets unless I page down and page up or close and open the file. Any further ideas?

User avatar
HansV
Administrator
Posts: 78630
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: excel 2010 conditional format

Post by HansV »

Conditional formatting not updating automatically in some circumstances is a known problem; it has been passed on to the Excel development team, so hopefully it'll be corrected in Excel 2010 SP2.
Best wishes,
Hans