Charts Only
Represents a data series in the active chart. SERIES is used only in charts; you cannot enter it on a sheet or macro sheet. You normally create or change data series by using the Chart Wizard or EDIT.SERIES macro function, which is equivalent to the Edit Series command on the Chart menu in Microsoft Excel version 4.0. However, you can edit a data series manually by selecting it, switching to the formula bar, and typing the changes.
Syntax
SERIES(name_ref, categories, values, plot_order)
Name_ref is the name of the data series. It can be an external reference to a single cell or a name defined as a single cell. Name_ref can also be text enclosed in quotation marks (for example, "Projected Sales").
Categories is an external reference to the name of the workbook and to the cells that contain one of the following sets of data:
Values is an external reference to the name of the workbook and to the cells that contain values (or y-coordinate data in scatter charts).
Plot_order is an integer specifying whether the series is plotted first, second, or third, and so on, in the chart. No two series can have the same plot_order.
Remarks
Related Functions
CHART.WIZARD Creates and formats a chart
EDIT.SERIES Creates or changes a chart series