From the Design tab, Data group, select Select Data.From the Chart Tools, Layout tab, Current Selection group, select the Horizontal (Category) Axis.Make sure that you select the headings as well as the data before you create your chart. In the Series name box, enter the cell reference for the name of the series or use the mouse to select the cell, click OK.Īrrange your data so that headings are directly above and to the left of the data to be charted.In the dialog box under Legend Entry Series, select the first series and click Edit.In the Axis label range enter the cell references for the x-axis or use the mouse to select the range, click OK.In the Select Data Source dialog box under Horizontal (Category) Axis Labels, click Edit.There should be no blank rows or columns.
264How can I make an Excel chart refer to column or row headings?Īrrange your data so that headings are directly above and to the left of the data to be charted.