Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Text Truncated in PivotTable.

Text Truncated in PivotTable

by Allen Wyatt
(last updated January 28, 2017)

3

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 wes 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 (11784) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Text Truncated in PivotTable.

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

Converting a Text Box to a Frame

These days, most people using Word know what text boxes are but have no idea about frames. Yet, for some purposes, frames are ...

Discover More

Noting a False Zero On a Chart

When creating charts that will be used by other people, you may need to take some liberties with the presentation of your ...

Discover More

Automatic Font Color Won't Print Properly

Imagine that you go to print your document and all the text you can see on the screen just isn't there on the ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Updating Multiple PivotTables at Once

PivotTables are a great way to process huge amounts of data and make sense of that data. If you have a number of PivotTables ...

Discover More

Reducing File Sizes for Workbooks with PivotTables

Need to reduce the size of your workbooks that contain PivotTables? Here's something you can try to minimize the ...

Discover More

Easy Filtering Specifications for a PivotTable

When you want to include specific records from a source table into a PivotTable, you need to employ some sort of filtering. ...

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}] 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 6 - 0?

2017-02-01 10:10:26

David Robinson

As no workaround is suggested to overcome the 255 character limit, can I suggest if you encounter the problem you get the pivott able to return an identifying piece of information, and then use a formula in a column adjacent to the pivot table (but outside it) to return the long text string using INDEX and MATCH? I tested this out and it retrieves the whole string, although the display on screen was limited to 1,000 characters and of course the expression bar shows the formula (unless you copy and paste values).


2017-01-29 11:27:37

John Thomas

This seems to be a 2007 or 2013 limitation or it could be related to a 32-bit issue. I tested this on my 2016 64-bit version of excel and could not get a pivot table to truncate any text. I test up to 1,000 char.


2017-01-29 04:14:01

FrankT

Outdated tip?


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.