Written by Allen Wyatt (last updated March 26, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021

Excel is great at creating charts. With some types of data, you may have a need for two-level axis labels for your chart. For instance, you may want something similar to the following along the X-axis for your chart:

Pro | Team | Reg | Pro | Team | Reg … Eastern US | Western US …

Setting up such an arrangement in an Excel worksheet is easy, but getting the same result in a chart may not be as obvious.

Go ahead and set up your worksheet to reflect the column titles the way you want them. These column titles will end up as your X-axis labels. You could set them up as follows:

| A | B | C | D | E | F | G | 1 | | Eastern US | Western US | 2 | | Pro | Team | Reg | Pro | Team | Reg |

With your table completed, you are ready to create the chart. Just select your data table, including all the headings in the first two rows, then create your table. Excel automatically recognizes that you have two rows being used for the X-axis labels, and formats the chart correctly. Since the X-axis labels appear beneath the chart data, the order of the label rows is reversed—exactly as mentioned at the first of this tip. (See Figure 1.)

Figure 1. Two-level axis labels are created automatically by Excel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (1188) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Two-Level Axis Labels.

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

As components of the Microsoft Office suite, one would expect Excel and Word to work together. One of the most common …

Discover More

It can be frustrating when Excel doesn’t display the formatting options that you know it should for your charts. This tip …

Discover More

When creating a chart, your axis labels may be wider than desired. One way to deal with them is to change the angle at …

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click “Subscribe.”

2022-12-15 21:59:10

moohat

thank you very much, it helps me to arrange my chart as my boss expected..

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.

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.)

You are watching: Two-Level Axis Labels. Info created by GBee English Center selection and synthesis along with other related topics.