Workbook Loses All Conditional Formatting

Written by Allen Wyatt (last updated February 4, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365


3

Michael has a workbook that he created using Excel 2007. If he opens the workbook on a system using a later version of Excel (such as Excel 2013), then all conditional formatting is erased in the workbook. Michael wonders why this would be happening.

More than likely, this is a compatibility issue rearing its head. Open the workbook in Excel 2007 and check to see if it is saved in "compatibility mode." If it is, use Save As to save in native Excel 2007, most likely in XLSX format. Then, open the file in Excel 2013 and see if the same problem exists.

If it does still exist, then see if you can find someone using Excel 2010 and try opening the workbook in that version. If the problem is not evident, then use Save As on that system to save as a new workbook, again making sure you don't use compatibility mode. You can then try, again, opening in Excel 2013.

If the problem still manifests itself, it is probably time to think long and hard about biting the bullet and upgrading to a much more recent version of Excel and recreating the workbook from scratch. (Nobody likes to do such recreation, but sometimes it is necessary.)

This tip specifically addresses Michael's case, where he references moving a workbook from Excel 2007 to Excel 2013. It is equally applicable, however, if you are wanting to move a workbook to a much later version of Excel. The same process—to incrementally move the workbook from one version to the next later version—should be followed. Of course, if you need to "step" a workbook through four or five different versions of Excel, you might find the hassle in doing so to be more work than simply recreating the workbook in whatever version of the software you happen to be using.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13021) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Inserting Fields

Fields are used for a variety of dynamic purposes in a document. There are a couple of ways you can easily insert fields, ...

Discover More

Drawing Lines

Lines are one of the most common graphic elements to be added to documents. Here's how you can add the lines you want.

Discover More

Merging Custom Dictionaries

It is possible to develop a custom dictionary on your computer that reflects the types of documents with which you work ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Saving a Workbook in a Macro

Does your macro need to make sure that the workbook being processed is saved to disk? You can add the saving capability ...

Discover More

Noting the Workbook Creation Date

You may want to add, to your worksheet, the date on which a particular workbook was created. Excel doesn't provide a way ...

Discover More

Remembering Workbook Settings from Session to Session

You can spend a lot of time getting your workbook to look "just right." Wouldn't it be great if Excel was able to ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 3?

2023-02-05 10:07:42

J. Woolley

@Fred Burg
Even if you don't have access to your previous version of Excel, you might still have success with the CFBackup and CFRestore macros and/or the ListFormatConditions function described in my previous comment when you use them with your current version.


2023-02-05 09:59:09

J. Woolley

My Excel Toolbox includes macros to backup and restore the active sheet’s conditional formatting. Michael could run CFBackup with his workbook opened in Excel 2007, then run CFRestore with his workbook opened in Excel 2013 (or later). For more about CFBackup and CFRestore, see my comment dated 2021-08-14 at the bottom of the following Tip's comment section: https://excelribbon.tips.net/T001143
The following dynamic array function is also available in My Excel Toolbox:
=ListFormatConditions([AllSheets],[SkipHeader])
This function returns Applies To Range, Type, and Stop If True for each CF. When using pre-2021 versions of Excel without support for dynamic arrays, consider UseSpillArray.pdf.
See https://sites.google.com/view/MyExcelToolbox/
For related discussion, see https://excelribbon.tips.net/T006253_Copying_Conditional_Formatting.html


2023-02-04 14:15:54

Fred Burg

WIth respect to your tip on a workbook losing all conditional formatting, I have a similar problem. I have workbooks created in Excel 2003. I have now migrated to 2010 (well, a few years ago). When I open the 2003 workbook in 2010, I see that the conditional formatting in SOME/MANY (but not all) is lost. But when I open the "Manage Rules", it appears that the conditional formatting does, in fact, apply to the cell where the conditional formatting had been lost. Any clues?


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.