18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Learning Advanced Charting 20<br />

A Series formula has the following syntax:<br />

=SERIES(series_name, category_labels, values, order, sizes)<br />

The arguments that you can use in the Series formula include<br />

n<br />

n<br />

n<br />

n<br />

series_name: (Optional) A reference to the cell that contains the series name used in the legend.<br />

If the chart has only one series, the name argument is used as the title. This argument can<br />

also consist of text in quotation marks. If omitted, Excel creates a default series name (for example,<br />

Series 1).<br />

category_labels: (Optional) A reference to the range that contains the labels for the category<br />

axis. If omitted, Excel uses consecutive integers beginning with 1. For XY charts, this argument<br />

specifies the X values. A noncontiguous range reference is also valid. The ranges’ addresses are<br />

separated by commas and enclosed in parentheses. The argument could also consist of an array of<br />

comma-separated values (or text in quotation marks) enclosed in curly brackets.<br />

values: (Required) A reference to the range that contains the values for the series. For XY charts,<br />

this argument specifies the Y values. A noncontiguous range reference is also valid. The ranges<br />

addresses are separated by a comma and enclosed in parentheses. The argument could also consist<br />

of an array of comma-separated values enclosed in curly brackets.<br />

order: (Required) An integer that specifies the plotting order of the series. This argument is relevant<br />

only if the chart has more than one series. Using a reference to a cell is not allowed.<br />

n sizes: (Only for bubble charts) A reference to the range that contains the values for the size of<br />

the bubbles in a bubble chart. A noncontiguous range reference is also valid. The ranges addresses<br />

are separated by commas and enclosed in parentheses. The argument can also consist of an array<br />

of values enclosed in curly brackets.<br />

Range references in a Series formula are always absolute, and they always include the sheet name. For<br />

example:<br />

=SERIES(Sheet1!$B$1,,Sheet1!$B$2:$B$7,1)<br />

TIP<br />

You can substitute range names for the range references. If you do so, Excel changes the reference<br />

in the Series formula to include the workbook. For example:<br />

=SERIES(Sheet1!$B$1,,budget.xlsx!MyData,1)<br />

Displaying data labels in a chart<br />

Sometimes, you may want your chart to display the actual numerical values for each data point. You specify<br />

data labels by choosing Chart Tools ➪ Layout ➪ Labels ➪ Data Labels. This drop-down control contains<br />

several data label options.<br />

Figure 20.21 shows a chart with data labels.<br />

401

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!