Workbook Loses All Conditional Formatting

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


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, Excel in Microsoft 365, and 2021.

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

Conditional Formatting

One of the powerful features of Excel is the ability to format a cell based on the contents of that cell or another. It ...

Discover More

Automatically Capitalizing Day Names

Type the name of any of the seven days into your document, and Word automatically makes sure it is capitalized. This is ...

Discover More

Removing Cells Containing Specific Terms

Macros are great for processing large amounts of data quickly. This tip examines several ways you can remove specific ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Comparing Workbooks

Do you need to compare two workbooks to each other? While you can use specialized third-party software to do the ...

Discover More

Forcing a Workbook to Close after Inactivity

Tired of your workbooks being left open on the screen where they can be seen by anyone passing by? Here's a way to have ...

Discover More

Making Data Universally Accessible to Workbooks

If you are using Excel as a repository for data used in your business, you may want to figure out a way to make that ...

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 8 - 4?

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.