How to Fix an Excel Gantt Chart Not Displaying Correctly
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.

- 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.
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.
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.
Highlight all the cells containing your 'Training Start Date' and 'Training End Date' values.
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.
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.

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. Prepare Project Data: Open your project data in WPS Spreadsheet and ensure your start dates and durations are listed in adjacent columns.
- 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. Insert the Chart: Navigate to the 'Insert' tab on the top ribbon, click on 'Chart', and select the 'Stacked Bar' option.
- 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.

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.




