Chart & Visualization Issues

How to Fix an Excel Gantt Chart Not Displaying Correctly

Kushani NimanthikaKushani Nimanthika Oct 26, 2026 868 views

Question details

The user needs to fix a stacked bar Gantt chart that is stretching incorrectly across the worksheet because the input dates are not being recognized properly.

How to Fix an Excel Gantt Chart Not Displaying Correctly
Product
Spreadsheet
Device & OS
not provided
Scenario
Creating or modifying an Excel stacked bar Gantt chart to track project training start and end dates.
Observed behavior
The chart bars extend improperly to the right edge of the worksheet because the training start and end values are being recognized as text strings instead of valid dates.
Before you start

Ensure your Gantt chart's source data range is correctly selected and that there are no hidden characters or leading spaces inside your date cells.

Solution 1Recommended

Convert Text Dates to Valid Date Formats

Fix the Gantt chart display by forcing the spreadsheet software to recognize the training start and end dates as proper date formats instead of text.

When a spreadsheet program fails to recognize dates, stacked bar charts (commonly used for Gantt charts) will interpret the text as zero or massive numeric values. This causes the bars to stretch incorrectly across the entire chart area.

1
Select the Date Cells

Highlight all the cells containing your 'Training Start Date' and 'Training End Date' values.

2
Format as Date

Right-click the selected cells and choose 'Format Cells' from the context menu (or press Ctrl+1). Under the 'Number' tab, select 'Date' and pick a standard date format.

3
Force Data Re-evaluation

If the chart does not instantly update, keep the cells selected, navigate to the 'Data' tab, click 'Text to Columns', and immediately click 'Finish' to force the software to re-evaluate the text strings as valid dates.

Convert Text Dates to Valid Date Formats
Automatic Chart Update: Once the cells are successfully recognized as valid dates, your stacked bar Gantt chart will automatically snap back to the correct proportions.
Create Gantt Charts Easily

Create and Manage Gantt Charts Effortlessly with WPS Spreadsheet

WPS Spreadsheet provides intuitive charting tools and robust date-formatting capabilities, making it incredibly simple to build precise Gantt charts for project management without formatting errors.

  1. 1. Prepare Project Data: Open your project data in WPS Spreadsheet and ensure your start dates and durations are listed in adjacent columns.
  2. 2. Format Cells Correctly: Highlight your dates, press Ctrl+1 to open the Format Cells dialog, and verify they are set to a standard Date format.
  3. 3. Insert the Chart: Navigate to the 'Insert' tab on the top ribbon, click on 'Chart', and select the 'Stacked Bar' option.
  4. 4. Customize Your Gantt Chart: Right-click the first data series (start dates) on the chart, select 'Format Data Series', and set the Fill to 'No Fill' to reveal the classic Gantt chart look.
Built-in intelligent date recognition prevents Gantt chart stretching issues.Highly compatible with Microsoft Excel (.xlsx) file formats and charts.Free, lightweight, and features an intuitive interface with advanced chart options.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my dates showing as numbers on the Gantt chart axis?

Spreadsheets store dates as sequential serial numbers. To display them as dates on your chart's axis, right-click the horizontal axis, select 'Format Axis', go to the 'Number' section, and change the category to 'Date'.

How do I hide the start date bars in a stacked bar Gantt chart?

To make a stacked bar look like a Gantt chart, you must hide the base bars. Right-click the first data series (the start dates) in your chart, choose 'Format Data Series', and set 'Fill' to 'No Fill' and 'Border' to 'No Line'.

Can I adjust the starting date of my Gantt chart timeline?

Yes. First, format your actual start date as 'General' to find its serial number (e.g., 44200). Then, right-click the horizontal axis of your chart, select 'Format Axis', and enter that serial number in the 'Minimum' bounds field.