Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to wrap X axis labels in a chart in Excel?

When the chart area is not wide enough to show it's X axis labels in Excel, all the axis labels will be rotated and slanted in Excel. Some users may think of wrapping the axis labels and letting them show in more than one line. Actually, there are a couple of tricks to warp X axis labels in a chart in Excel.

Wrap X axis labels with adding hard return in label cells
Wrap X axis labels with entering label cells with formula

Easily combine multiple worksheets/workbooks/CSV files into one worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks! Full Feature Free Trial 30-day!
ad combine sheets books 1

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubbleWrap X axis labels with adding hard return in label cells

We can wrap the labels in the label cells, and then the labels in the chart axis will wrap automatically. And you can do as follows:

1. Double click a label cell, and put the cursor at the place where you will break the label.

2. Add a hard return or carriages with pressing the Alt + Enter keys simultaneously. 

3. Add hard returns to other label cells which you want the labels wrapped in the chart axis. Then you will see labels are wrapped automatically in the chart axis.

Note: If the chart area is still too narrow to show all wrapped labels, the labels will keep rotated and slanted. In this condition, you have to widen the chart area if you need the labels wrapping in the axis.

Tip: Batch remove all line breaks/numbers/letters/special characters from selected cells
Kutools for Excel’s Remove Characters utility is designed to remove all letters, all numbers, or special characters (such as bullets) from text strings easily. It’s also able to remove all non-numeric characters, non-alpha characters, or non-alphanumeric characters from specified text strings easily. Full Feature Free Trial 30-day!
ad remove linebreak


arrow blue right bubbleWrap X axis labels with entering label cells with formula

Some users may want to wrap the labels in the chart axis only, but not wrap the label cells in the source data. Actually, we can replace original labels cells with formulas in Excel.

For example, you want to wrap the label of "OrangeBBBB" in the axis, just find out the label cell in the source data, and then replace the original label with the formula ="Orange"&CHAR(10)&"BBBB".

And you can wrap other labels with the same way. In our example, we replace all labels with corresponding formulas in the source data, and you can see all labels in the chart axis are wrapped in the below screen shot:

Notes:
(1) If the chart area is still too narrow to show all wrapped labels, the labels will keep rotated and slanted. In this condition, you have to widen the chart area if you need the labels wrapping in the axis.
(2) The formula ="Orange"&CHAR(10)&"BBBB" will wrap the labels in the source data too in Excel 2010.

Save chart as AutoText and reuse it with only one click in Excel

Kutools for Excel’s Auto Text utility can save a selected chart as an Auto Text, and you can reuse this chart at any time in any workbook by only one click. Full Feature Free Trial 30-day!
ad autotext chart wrap axis


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Ram · 2 years ago
    Select one row as Data Series for Y-Axis
    Select two rows as X-axis
    for example
    A B C
    1 2 4 7
    2 Apple, Orange, Grape
    3 AAAA OOOO GGGG

    y-axis =A1:C3
    x-axis=A2 : C3