


Create a named range for the labels following the same steps above.You may have to type or paste very carefully into this text box to avoid “extra” data in your formulas. HINT! Excel will try to be “helpful” and add cell references or ranges to the Refers to: text field if you click on something outside of the dialog box.

If, instead, you added columns to your data each month, you would adjust your formula accordingly. This is where you can change the number of months (for example) you want to include in your chart. =OFFSET(‘Research Data’!$B$1,COUNT(‘Research Data’!$B:$B),0,-12,1)Notice that the COUNT function gives us a total number of rows in our table, and we then specify how many rows we want to include in the argument. OFFSET(reference, rows, cols,, )so the formula for our range’s data will be In the Refers to: text field, replace the default cell reference with your OFFSET function.See also Changing Names in the bonus paragraph at the end of this article.) (Note: if you want to follow along and create a new chart of your own, type your own range name in the textbox and substitute that name in the formulas below. In this example our named range is AnnualData. Names cannot be the same as a cell reference.Names are NOT case sensitive – “DATA” will be seen as the same as “data” You can use letters, numbers, periods, and underscores in the rest of the name, but NOT spaces.First character can only be a letter, an underscore “_” or a backslash “\”.Give the range a recognizable name in the Name: A name must use the following syntax:.Make sure your curser is in an empty cell and no data in your table is selected to begin, then select Define Name on the Formulas tab to open the New Name dialog box.Our initial chart shows two years of data.įirst create a named range for the data that uses the OFFSET function to make it reflect a relative timeframe: To follow using our example below, download Excel Rolling Chart.xlsx

We want a chart that shows the current month’s data along with the previous 11 months. We have a table that shows amounts of contaminate present in an imaginary water sample taken monthly. The following steps demonstrate how to use the OFFSET function to create an annual rolling chart. The good news is that with the OFFSET function, you can create a dynamic rolling chart that automatically refreshes your charts far more easily than adjusting cell references or deleting the old data. When you need to create a Rolling chart that reflects data in a specific timeframe – such as the previous 12 months – you can quickly find yourself in a maintenance nightmare, updating your charts manually to include the new month’s data and exclude the now “out of date” data. By Tepring Crocker Categories: Charts, Excel® Tags: excel rolling chartĬreating reports on a regular schedule is a common task for the business Excel user.
