2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Create Gantt chart using dates and times

Our take

Creating an effective Gantt chart from your manufacturing data can significantly enhance your project management capabilities. By breaking down your extensive dataset into manageable weekly subsets, you can visually represent daily and hourly operations. While your current combined date and time column can be separated for better clarity, using standard Excel tools will allow you to customize your chart effectively. This approach will not only help you track individual operations but also identify overlaps between parts, streamlining your workflow and improving productivity.

Our Take – Turning Raw Time Stamps into Insightful Gantt Views

When a manufacturing team confronts a year‑long log of part‑level timestamps, the first instinct is to slice the data into weekly chunks and hope a simple bar chart will reveal the story. The reality, however, is that the raw “Start Date & Time” and “End Date & Time” columns hide a wealth of scheduling nuance that only a purpose‑built Gantt visual can unlock. Readers who have wrestled with the same challenge will recognize the frustration of a static stacked‑bar chart that cannot accommodate both the part number and the operation code on the vertical axis. That limitation is more than cosmetic; it prevents analysts from spotting overlap, bottlenecks, and idle windows across multiple jobs. The Reddit post by Duelsy illustrates this gap perfectly, and it also points to a broader need: a native‑Excel solution that blends the flexibility of a PivotTable with the visual clarity of a Gantt chart, all without third‑party add‑ins.

The core obstacle lies in how Excel interprets date‑time values. When the two are combined in a single column, the default sorting and grouping mechanisms treat each timestamp as an atomic value, making it difficult to calculate duration or to bucket activities by hour. By separating the date and time into distinct fields—using =INT(A2) for the date and =A2‑INT(A2) for the time—users gain two immediate advantages. First, the date component can serve as a row label in a PivotTable, while the time component can be used as a numeric field that drives the length of each bar. Second, the split enables the creation of calculated columns such as “Start Hour” ( =HOUR(Time) ) and “Duration Hours” ( =(End‑Start)*24 ), which are essential for an hour‑by‑hour Gantt view. Once these fields are in place, the data can be pivoted on Part + Operation as a composite row label, with the start hour as the axis and the duration as the value. The resulting PivotChart, set to a stacked bar format, will automatically align each operation on its own row while showing precise start times and lengths.

Beyond the mechanics, the why matters. In a production environment, seeing when a part moves from operation 10 to operation 20 on the same day can surface hidden change‑over costs or reveal opportunities for parallel processing. A well‑structured Gantt chart makes those insights visible at a glance, turning a spreadsheet into a strategic planning board. Moreover, because the chart is built from a PivotTable, any new data—whether a new part, a revised schedule, or an added week—feeds directly into the visual without manual re‑formatting. This dynamic link is what separates a fragile static chart from an empowering, future‑focused dashboard. For teams that cannot install extensions, leveraging Excel’s native pivot and chart tools is not just a workaround; it is a demonstration of how powerful, accessible analytics can be when the underlying data model is thoughtfully designed.

The broader lesson for spreadsheet power users is to treat the raw log as a relational table rather than a flat list. By normalizing timestamps, adding calculated fields, and using composite keys for rows, the same approach can be replicated for other time‑based analyses—whether tracking employee shifts, project milestones, or service tickets. The editorial on Gantt chart (Stacked Bar) shows a similar pattern: start with a clean data model, then let the PivotTable handle grouping and aggregation. Likewise, the piece on Automate list size reduction reminds us that automation begins with a well‑structured source, not with a series of manual edits.

Looking ahead, the next frontier is integrating these native Excel Gantt views with AI‑driven forecasting. Imagine a sheet that not only visualizes past operations but also predicts where future bottlenecks will emerge, suggesting schedule adjustments before they become problems. As AI‑native spreadsheet technology matures, the line between data preparation and insight generation will blur, empowering users to explore, discover, and transform their workflows without leaving the familiar Excel environment. The question we should watch is: how quickly will these predictive layers become standard features, and what new habits will they inspire in today’s data‑savvy professionals?

Hi, I have a large set of data that covers a years worth of e.g. manufacturing. I'm currently breaking it down into smaller week by week subsets. I'd like to display what was done each day/week as a Gantt chart, preferably hour by hour.

Currently the date & time are in one combined column but I can easily separate this out if it will help.

Some parts have 1 suboperation to complete them, other parts can have multiple suboperations to complete them.

An example of the data I have is below (1 job with multiple operations, 2 with 1 operations all starting at different dates and times):

Part Operation Start Date & Time End Date & Time
1 10 28/03/2025 06:55 28/03/2025 15:03
1 20 28/03/2025 16:22 28/03/2025 17:33
2 10 28/03/2025 12:10 30/03/2025 17:52
3 10 30/03/2025 19:00 31/03/2025 04:35

I've had a go at it using various info resources I've found across e.g. Reddit, YouTube etc but not quite getting what I'd like. An example of what I've created for one part with multiple operations is below:

https://preview.redd.it/fjbl9dbx04zg1.png?width=3082&format=png&auto=webp&s=1a6932911ec2a108a91603d0ba46cce2a672165e

This is using a chart, however it's not a PivotTable based chart, so can't easily be customised or edited etc. Also, it doesn't allow me to capture the Part # as well as the OP # on the LH vertical axis. This is key for separating jobs and also allowing me to see where parts may have overlapped as I add in more data.

Due to this being done on a work PC, I'm unable to install any Excel extensions etc that might help. Have to do it all with standard Excel.

Thanks in advance for any assistance people can offer. If anybody needs additional data to help me then please let me know!

submitted by /u/Duelsy
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#Excel alternatives for data analysis#generative AI for data analysis#real-time data collaboration#big data management in spreadsheets#conversational data analysis#financial modeling with spreadsheets#intelligent data visualization#data visualization tools#enterprise data management#big data performance#data analysis tools#data cleaning solutions#natural language processing for spreadsheets#Excel compatibility#real-time collaboration#Excel alternatives#rows.com#large dataset processing#cloud-based spreadsheet applications#Gantt chart