Plot Daily Data by Month in Excel Without Manual Chart Updates
Question details
Create reusable monthly charts from several years of daily data without manually changing the chart range.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Select a year and month to chart only the daily records belonging to that month.
- Observed behavior
- The chart should update when the selected month changes and use consistent axis limits when months or years are compared.
Check that the date column contains real Excel dates and that your Excel version supports FILTER and spilled arrays. Arrange the daily dates and values in adjacent columns with headers.
Create a monthly chart with FILTER and dynamic named ranges
Use this method to change the selected year and month without manually resizing the chart source.
This example uses an Excel table named DailyData with columns named Date and Value. The end-date test uses the first day of the next month, so it also includes records with times on the last day.
Select the date and value columns, choose Insert > Table, and confirm that the table has headers. On the Table Design tab, set the table name to DailyData and name its columns Date and Value.
Enter a year in cell D2 and a month number from 1 to 12 in D3. In D4, enter =DATE(D2,D3,1); in D5, enter =EOMONTH(D4,0)+1.
In E5, enter =FILTER(DailyData[Date],(DailyData[Date]>=D4)*(DailyData[Date]<D5),""). In F5, enter =FILTER(DailyData[Value],(DailyData[Date]>=D4)*(DailyData[Date]<D5),""). Leave the cells below both formulas clear for the results to spill.
Choose Formulas > Name Manager > New. Create a workbook-level name MonthDates referring to =Sheet1!$E$5# and another named MonthValues referring to =Sheet1!$F$5#. Replace Sheet1 with the actual sheet name.
Select the filtered date and value columns and choose Insert > Line Chart. Right-click the chart and choose Select Data; edit the series values to use =Book1.xlsx!MonthValues and the horizontal axis labels to use =Book1.xlsx!MonthDates, replacing Book1.xlsx with your workbook name.
To compare multiple charts, right-click each vertical axis, choose Format Axis, and enter the same Minimum and Maximum bounds. Change D2 or D3 to display another month.

Explore daily data and charts in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open existing Excel workbooks, filter daily records, and create charts while moving between compatible Office formats.

Frequently Asked Questions
Why does the chart include only one month?
The FILTER formulas include dates from the first day in D4 up to, but not including, the first day of the next month in D5. Change D2 and D3 to select another year and month.
Will new daily records be included automatically?
Add them to the DailyData table. The table references in the FILTER formulas expand with the table, and the named spill ranges provide the updated results to the chart.
Why do the FILTER formulas show a spill error?
Clear any cells below E5 and F5 that block the results. Also place the formulas outside the Excel table, because spilled array formulas cannot spill inside a table.
How can I compare charts without changing their scales?
Right-click the vertical axis of each chart, choose Format Axis, and set the same Minimum and Maximum bounds under Axis Options.




