11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 17: Charting Techniques 431<br />

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

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

allowed.<br />

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

size of the bubbles in a bubble chart. A noncontiguous range reference is also valid. (The<br />

range’s addresses are separated by a comma and enclosed in parentheses.) The argument<br />

may also consist of an array of values enclosed in curly brackets.<br />

Range references in a SERIES formula are always absolute, and they always include the sheet<br />

name. For example:<br />

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

A range reference can consist of a noncontiguous range. If so, each range is separated by a<br />

comma, and the argument is enclosed in parentheses. In the following SERIES formula, the values<br />

range consists of B2:B3 and B5:B7:<br />

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

Although a SERIES formula can refer to data in other worksheets, all the data for a series must<br />

reside on a single sheet. The following SERIES formula, for example, is not valid because the data<br />

series references two different worksheets:<br />

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

Using names in a SERIES formula<br />

You can substitute range names for the range references in a SERIES formula. When you do so,<br />

Excel changes the reference in the SERIES formula to include the workbook name. For example,<br />

the SERIES formula shown here uses a range named MyData (located in a workbook named<br />

budget.xlsx). Excel added the workbook name and exclamation point.<br />

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

Using names in a SERIES formula provides a significant advantage: If you change the range reference<br />

for the name, the chart automatically displays the new data. In the preceding SERIES formula,<br />

for example, assume the range named MyData refers to A1:A20. The chart displays the 20 values<br />

in that range. You can then use the Name Manager to redefine MyData as a different range — say,<br />

A1:A30. The chart then displays the 30 data points defined by MyData. (No chart editing is<br />

necessary.)

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

Saved successfully!

Ooh no, something went wrong!