How to Create a Stacked Bar Chart Timeline in Excel Without Power BI
Question details
The user wants to build a project timeline using a stacked bar chart in Excel to display projects, continuous dates, phase colors, and milestone markers without relying on Power BI.

- Product
- Microsoft Excel 365
- Device & OS
- not provided
- Scenario
- Creating a detailed project management timeline visualization (Gantt-style) using native Excel charting tools.
- Observed behavior
- The user needs to set up a stacked bar chart where projects are on the Y-axis and dates are on a continuous X-axis, complete with color-coded phases and milestones.
Prepare your project data by setting up a clean table with separate columns for Task Names, Start Dates, and Durations (in days) for each project phase to ensure the stacked bar chart plots accurately.
Build a Stacked Bar Chart Timeline (Gantt Chart)
Use Excel's native Stacked Bar Chart feature to create a Gantt-style timeline by making the initial start date data series transparent.
A stacked bar chart can easily mimic a professional project timeline by hiding the first segment of each bar, which forces the visible segments to start at the correct dates.
Ensure your data is organized with 'Task Name' in column A, 'Start Date' in column B, and 'Duration' (in days) in column C.
Highlight your data range, navigate to the 'Insert' tab on the ribbon, click the 'Bar Chart' icon, and select 'Stacked Bar' under the 2D Bar section.
Right-click the Y-axis (Task Names) and select 'Format Axis'. In the pane that appears, check the box for 'Categories in reverse order' so your tasks list from top to bottom.
Click on the first data series (the Start Date bars) in the chart to select them. In the 'Format Data Series' pane, set the Fill to 'No fill' and Border to 'No line'.
Right-click the X-axis (Dates) and select 'Format Axis'. Under Axis Options, adjust the Minimum and Maximum bounds using the numerical equivalents of your start and end dates to remove excess blank space.

Add Milestone Markers to Your Timeline
Incorporate milestone indicators by adding an XY Scatter series with custom markers to your existing stacked bar chart.
Create Project Timelines Effortlessly in WPS Spreadsheet
WPS Spreadsheet provides powerful charting tools, fully compatible with Microsoft Excel formats (.xlsx). You can easily build, format, and customize stacked bar chart timelines and Gantt charts for your projects without needing complex setups or external tools like Power BI.
- 1. Open your project data: Launch WPS Spreadsheet and open your dataset containing task names, start dates, and phase durations.
- 2. Insert a Stacked Bar Chart: Select the data range, navigate to the 'Insert' tab, click 'Chart', and select the 'Stacked Bar' option.
- 3. Customize the Timeline: Double-click the initial date series to open the formatting pane and set its fill to 'No color', instantly transforming your chart into a professional project timeline.

Frequently Asked Questions
Why does my X-axis show numbers instead of dates?
Excel stores dates as serial numbers. To fix this, right-click the X-axis, select 'Format Axis', scroll down to the 'Number' section, and change the Category to 'Date' to display them in a readable format.
How can I change the colors of different project phases in the chart?
Click twice slowly on an individual segment of the stacked bar to select just that specific data point. Right-click, select 'Format Data Point', and choose your preferred fill color to visually separate different phases.
Can I add a vertical line for today's date on the timeline?
Yes, you can add a vertical line by inserting a new data series with today's date. Change that specific series to an XY Scatter chart type, and use a vertical Error Bar with a 100% minus direction to draw a line down through the chart.




