Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Text Truncated in PivotTable.
by Allen Wyatt
(last updated December 31, 2015)
Anil complained that when he created a PivotTable, some of the text in some of the source cells was truncated when it was placed in the PivotTable. He wondered if there were a way around this.
The first thing to do is make sure that the text is actually being truncated. When text is transferred to a cell in a PivotTable, it works much the same as text in the original worksheet. This means that the text is "cut off" when there is data in the cell to the right of the text cell. The full text is still there, but it cannot be displayed because there is not enough room to do so within the cell.
Testing has shown, however, that PivotTables will only transfer up to 255 characters from a source cell. Anything after that is truncated. This limit seems to be hard-coded into Excel, and there is no way around it that I could discover. The limit of 255 characters may seem arbitrary, and it is. I can only surmise that Microsoft needed to establish a length limit on text, and figured that 255 characters should be sufficient for most purposes.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3394) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Text Truncated in PivotTable.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Excel allows you to link to values in other workbooks, even if those values are in PivotTables. However, Excel may ...Discover More
Wish there was a way to define how you want PivotTables formatted before you actually create the PivotTable? You may be ...Discover More
When you update a PivotTable, Excel can take liberties with any formatting you previously applied to the PivotTable. ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.