Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Excel

The team blog for Microsoft Excel and Excel Services.
Conditional Formatting Compatibility

Today we have the third guest post from Eric Patterson, Excel Program Manager.  Eric is writing about compatibility in Excel 2007.

Conditional Formatting is one of the areas where we have made a lot of improvements in for Excel 2007.  Dave has already described in previous posts what we have done; here is a recap of our investments:

  • Three new visualizations – “data bars”, “color scales”, and “icon sets”
  • New UI for adding, removing, and managing conditional formats 
  • New conditional formatting “rules” 
  • Increased “limits” and other customer requests 
  • Some PivotTable-specific functionality 
  • Some Table-specific functionality

I want to describe in more detail what to expect using these features in Excel 2007 when sharing workbooks with others using previous versions of Excel.

Formatting Retained

In general all of the conditional formatting is retained when saved to the Excel 97-2003 file format.  Even though previous versions of Excel don’t have the same functionality, we do save the conditional formatting to the file and the file can be opened and saved in previous versions of Excel without losing conditional formatting.

What does it look like?

Previous versions of Excel cannot display the new data visualizations that we have added.  In the example below I have added 3 different types of visualizations and saved to the Excel 97-2003 file format.  The pictures show what you will see in Excel 2007 and previous versions.



Can I edit the file?

Files that have new conditional formatting stored in them can be edited in previous versions.  You can change values in cells, sort ranges, add formatting and do a number of other tasks without disturbing the conditional formatting.  In general if you don’t make changes directly to the conditional formatting on a range, it will safely round-trip back to Excel 2007.

For example, using the same file, I opened it in Excel 2003, cleared a few cells, applied bold formatting, changed number formats and sorted a range.  I saved the file and then opened it in Excel 2007.  Here is the result:


Designing formats for use in multiple versions

If you want to create workbooks in Excel 2007 with conditional formatting that looks the same in previous versions, you can do so by avoiding the new visualizations and new rules.  Specifically, here is a list of new conditional formatting features that affect the result in previous versions:

  • More than 3 conditions used for formatting – Previous versions of Excel limited the conditions to 3 per cell.  You can use more than 3 and they will be retained, but only the first three conditions will be displayed in earlier versions of Excel.
  • Conditional Formatting that overlaps – Excel 2007 let’s you define overlapping conditional formatting and previous versions of Excel will not evaluate all of the rules, so these cells may show different formatting.
  • New visualizations – As discussed above data bars, color scales and icon sets cannot be displayed in earlier versions.
  • “Stop if True” – Excel 2007 has a new conditional formatting option to process additional formatting rules even when a previous condition is true.  Earlier versions of Excel do not recognize this option and will stop after the first true condition.
  • 'Top 10' or 'Compare to Average' - Earlier versions of Excel do not have this ability and will calculate the condition across all values.
  • Non-contiguous Formatting – Excel 2007 supports additional conditional formatting on ranges that are not adjacent to each other. This conditional formatting type is not supported in earlier versions of Excel."
  • Conditional formatting of PivotTables – There are new types of formatting in Excel 2007.  I will cover this in more detail in an upcoming post about the compatibility of PivotTables.

Finding Incompatibilities

As you are using conditional formatting the Compatibility Checker is designed to help you to identify and find the above issues in your workbook.  Use the Compatibility Checker to make decisions about whether you need to change conditional formatting to ensure greater visual compatibility with previous versions of Excel.

Next up – Compatibility of other Formatting

Posted: Monday, August 14, 2006 10:30 AM by David Gainer

Comments

Patrick Schmid said:

Hi Eric,

are you going to have a post that shows the difference between the compatibility handling of Excel and Word? Or is that something the (almost dead) Word blog will do?

Thanks,

Patrick Schmid
# August 14, 2006 3:56 PM

Francis said:

An aside:
I take it that screenshot is from a recent build. It is odd that, despite the new interface, which conceals the application control menu, the document control menu is sticking around.

It is in the middle of all the action--Office button, Save, Home tab, and Copy/Paste--and thus seems likely to invite more stray clicks (and mystification) than anything else.

Why not get rid it, at least when the document window is maximized? The restore, minimize, and close commands would still be available via the 3 dedicated buttons in the NE corner plus keyboard shortcuts.

This should be easy, given that the application control menu appears to be implemented twice: once for maximized windows and once for restored!
# August 14, 2006 7:07 PM

Eric Patterson said:

Patrick,

I will see if I can put together something that compares the compatibility features in Excel in Word.  

-Eric
# August 14, 2006 11:09 PM

Patrick Schmid said:

Eric,

thank you. I think it's especially important to highlight the difference between Excel's and Word's handling of new features (e.g. SmartArt) in legacy documents (doc & xls).

Patrick
# August 15, 2006 2:11 PM

David Gainer said:

Francis, the application control menu is not shown by default.  It only appears when the "Show all windows in taskbar" switch is turned off in Options (i.e. Excel is put in full MDI mode).  Eric must have had that setting off when it took the picture.
# August 15, 2006 2:37 PM
New Comments to this post are disabled
Page view tracker