Article ID: 213904 - Last Review: February 20, 2012 - Revision: 6.0 You receive a "Too many different cell formats" error message in Excel
This article was previously published under Q213904 SYMPTOMSIn Microsoft Excel 2003, when you format a cell or a range of cells, you may receive the following error message: Too many different cell formats. Excel encountered an error and had to remove some formatting to avoid corrupting the workbook. In Microsoft Excel 2007/2010 files may produce the following error message; Excel found unreadable content in the file Other scenarios that as associated with styles are: 1. When opening a file all formatting is stripped out. 2. File size grows after copying and pasting between workbooks 3. Inability to paste: Microsoft Excel displays “Microsoft Excel can’t paste data” All menu option for "Paste" or Ctrl-V keyboard shortcut are ignored and produce no results although clipboard is not empty. CAUSEThis problem occurs when the workbook contains more than approximately 4,000 different combinations of cell formats in Excel 2003 or 64,000 in Excel 2007 and higher. A combination is defined as a unique set of formatting elements that are applied to a cell. A combination includes all font formatting (for example: typeface, font size, italic, bold, and underline), borders (for example: location, weight, and color), cell patterns, number formatting, alignment, and cell protection. NOTE: If two or more cells share exactly the same formatting, they use one formatting combination. However, if there are any differences in formatting between the cells, each cell uses a different combination. In Excel style counts may increase when copying between workbooks because custom styles are copied. A workbook that has more than 4,000 styles may open in Excel 2007 and higher (because of the increased limitation for formatting) but result in an error in Excel 2003. RESOLUTION1. To prevent styles from built in styles from being duplicated when copied make sure you have the latest updates for Excel installed from Windows Update. 2. The following KB articles allow disabling copying custom styles between workbooks in one instance of Excel. Install and add registry key in the following article. Unused styles are copied from one workbook to another workbook in Excel 2007 http://support.microsoft.com/kb/2553085
(http://support.microsoft.com/kb/2553085/[anySimpleType]/
)
3. To cleanup workbooks that already have numerous styles, run one of the following: Excel formats (xlsx, xlsm) XLStyesTool
(http://sergeig888.wordpress.com/2011/03/21/net4-0-version-of-the-xlstylestool-is-now-available/)
Older Excel formats (xls) Remove Styles Add-in
(http://removestyles.codeplex.com/)
4. Simplifying the formatting in your workbooks. For example, the following are suggestions for simplifying formatting:
MORE INFORMATION
In most cases, the limit of approximately 4,000 different formatting
combinations for a single workbook is sufficient. This problem is likely
to occur only when the workbook contains a large number of worksheets that
use different formatting, or when a large number of cells are all
formatted differently.
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
