Microsoft Office Tutorials and References
In Depth Information
The example in this section, named plot last n data points.xlsx, is available at this
Choosing a start date and number of points
This example uses dynamic formulas to allow the user to display a chart with a specified number of data points,
beginning with a selected starting date. Figure 17-31 shows a worksheet with 365 rows of daily sales data.
The start date is indicated in cell E2 (named StartDay ), and the number of data points is specified in cell G2
(named NumDays ). Both cells use data validation to display a drop-down list of options.
What makes this work is two named formulas. The formula named Date is
The formula named Sales is