Chart & Visualization Issues

How to Show Month and Year Below Week Numbers on an Excel Chart

Camila MilosovichCamila Milosovich Nov 11, 2026 870 views

Question details

The user needs to construct a chart axis that displays continuous week numbers directly above their corresponding month and year labels.

How to Show Month and Year Below Week Numbers on an Excel Chart
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.
Before you start

Ensure your source data table is sorted chronologically and includes separate, adjacent columns for Year, Month, and Week values before generating the chart.

Solution 1Recommended

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.

1
Insert time helper columns

In your source data spreadsheet, insert three adjacent columns to the left of your data values. Label them 'Year', 'Month', and 'Week'.

2
Format continuous week values

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.

3
Select the expanded data range

Highlight your entire data set, making sure to include the newly created Year, Month, and Week columns along with the corresponding data metrics.

4
Insert the chart

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.

Create a Multi-Level Category Axis Using Helper Columns
Data Sorting Matters: Excel will only group identical adjacent labels. Make sure your rows are strictly sorted by date so that months and years group correctly below the week numbers.
Advanced Charting with WPS Office

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. 1. Prepare your data: Organize your WPS Spreadsheet with Year, Month, and Week helper columns adjacent to your numerical data.
  2. 2. Highlight the range: Select the entire data block, ensuring the three time-category columns are included in the selection.
  3. 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.
Full compatibility with Microsoft Excel (.xlsx) formats and chart layoutsIntuitive chart creation tools for complex data visualizationLightweight architecture ensuring fast processing speedsFree to use for everyday data organization and charting tasks
microsoft office alternative - wps office

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.