How to Change Text Direction in an Excel PivotChart Data Table
Question details
The user wants to change the text direction of labels in an Excel PivotChart data table to a vertical orientation.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formatting a PivotChart data table where standard text box text alignment settings are grayed out or disabled.
- Observed behavior
- Standard Text Box settings are disabled, preventing direct text alignment changes, requiring an alternative method to rotate the labels vertically.
Ensure you have already inserted a PivotChart with an attached data table, and click directly on the labels you wish to format.
Rotate Data Labels via Format Axis Properties
Since standard text box settings might be disabled for PivotCharts, use the Axis Options to change the text direction to vertical or 90 degrees.
Excel handles dynamic elements like PivotChart data tables differently than standard shapes. By accessing the Format Axis pane, you can bypass the disabled text box settings and properly rotate your labels.
Right-click on the relevant data label or click to select the entire label block within the PivotChart data table.
Select 'Format Axis' from the right-click context menu. This will open the formatting pane on the right side of your screen.
In the Format Axis pane, ensure you are under 'Axis Options' and click on the 'Size & Properties' icon, which is usually depicted as a square with dimension lines.
Locate the 'Text Direction' dropdown menu and select your desired rotation, such as 'Rotate all text 90°' or 'Vertical', to apply the changes to your labels.

Format PivotCharts Effortlessly with WPS Office Spreadsheet
WPS Office offers intuitive and highly customizable charting tools. You can effortlessly adjust PivotChart layouts, including data table text directions, without navigating through overly complex menus.
- 1. Open Your File: Launch WPS Spreadsheet and open your existing spreadsheet file containing the PivotChart.
- 2. Access the Chart Properties: Double-click on the axis or data labels within your PivotChart to immediately open the Chart Elements formatting pane on the right.
- 3. Adjust Text Options: Navigate to the Text options and locate the orientation or alignment settings.
- 4. Apply Vertical Rotation: Adjust the degree of rotation or select the vertical text direction preset to apply the layout change instantly.

Frequently Asked Questions
Why are the text box alignment settings disabled in my PivotChart?
In Excel, direct text box properties are often locked for elements dynamically generated by a PivotChart, such as data tables and axis labels. You must format these elements through the dedicated Format Axis pane instead of the standard shape formatting tools.
Can I apply vertical text rotation to only one specific label?
Typically, changing the text direction via the Format Axis settings applies the rotation to the entire block of axis labels or the whole data table category. Modifying a single dynamic label independently is restricted in PivotCharts.
What if 'Size & Properties' is missing from my Format pane?
If you don't see 'Size & Properties', ensure you have correctly selected the axis labels and not the outer chart area. Click directly on the text of the data labels before right-clicking to choose 'Format Axis'.




