How to Show Month and Year Below Week Numbers on an Excel Chart
Question details
The user needs to construct a chart axis that displays continuous week numbers directly above their corresponding month and year labels.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a long-term timeline chart spanning multiple years that accurately groups data by week, month, and year.
- Observed behavior
- Requires formatting the chart's category axis to properly group the dates and prevent week numbers from ambiguously restarting across different years.
Ensure your source data table is sorted chronologically and includes separate, adjacent columns for Year, Month, and Week values before generating the chart.
Create a Multi-Level Category Axis Using Helper Columns
By structuring your source data with separate, adjacent columns for Year, Month, and Week, Excel automatically generates a grouped multi-level axis without needing complex manual formatting.
Excel uses adjacent text columns in a chart's source data to construct a hierarchical timeline axis. When identical labels are positioned next to each other, they are visually grouped together at the bottom of the chart.
In your source data spreadsheet, insert three adjacent columns to the left of your data values. Label them 'Year', 'Month', and 'Week'.
Populate the 'Week' column using a continuous format (e.g., '2024-W01', '2024-W02') to ensure week numbers do not restart ambiguously when crossing into a new year.
Highlight your entire data set, making sure to include the newly created Year, Month, and Week columns along with the corresponding data metrics.
Navigate to the 'Insert' tab on the ribbon and select your preferred chart type (such as a Line or Column chart). Excel will automatically recognize the three columns and display a multi-level category axis at the bottom.

Easily Build Multi-Level Axis Charts in WPS Spreadsheet
WPS Spreadsheet fully supports multi-level category axes natively, allowing you to organize complex timeline data with weeks, months, and years seamlessly. It acts as a lightweight, highly compatible alternative to Microsoft Excel.
- 1. Prepare your data: Organize your WPS Spreadsheet with Year, Month, and Week helper columns adjacent to your numerical data.
- 2. Highlight the range: Select the entire data block, ensuring the three time-category columns are included in the selection.
- 3. Generate the chart: Go to the 'Insert' tab, click 'Chart', and pick your chart type. WPS will instantly map the adjacent columns to a grouped, multi-level axis.

Frequently Asked Questions
Why are my months and years not grouping together on the axis?
This happens if your data is not sorted chronologically or if there are slight spelling or formatting differences in the text. Sort your entire data range sequentially by Year, then Month, then Week to ensure identical labels group properly.
How do I format week numbers like 'Week 1' instead of standard dates?
You can use the ISOWEEKNUM function combined with text formatting in your helper column. For example, entering the formula ="Week "&ISOWEEKNUM(A2) will convert a standard date in cell A2 into a text label reading 'Week X'.
Can I hide or remove the separator lines between the axis levels?
Yes. Right-click the category axis, select 'Format Axis', navigate to the 'Axis Options' panel, and locate the 'Labels' section. Uncheck 'Multi-level Category Labels' if you want to turn the grouping off entirely, or modify the tick mark settings to visually adjust the lines.
Will this multi-level chart layout display correctly if exported to PDF?
Yes. Once your multi-level axis is properly configured in either Excel or WPS Spreadsheet, exporting the file to PDF will lock the visual formatting, accurately preserving the grouped timeline of weeks, months, and years.




