This page has six Gemini prompts for Gantt charts in spreadsheets. The first three build the chart from a task list, the last three keep it readable once dates start moving. Every prompt returns cells you can paste, not a description of a chart.
Step 1 — Build the timeline
1. Turn a task list into chart-ready rows
Here is my task list: [paste tasks with dates]. Turn it into rows for a Gantt chart with columns for task, owner, start date, end date and duration in working days. Sort by start date and flag any task that starts before [project start date].
What it does: Converts a loose list into the five columns every Gantt layout needs.
How to use: Replace [paste tasks with dates] and [project start date]; fix any owner left blank.
2. Generate the week header row
Build a header row for a Gantt chart that runs from [first week] to [last week]. Use one column per week and label each with the week start date in [date format]. Give me the row as tab-separated values I can paste straight into row 1.
What it does: Produces the time axis so you are not typing week labels by hand.
How to use: Replace [first week], [last week] and [date format]; hide columns past your real end date.
3. Write the fill formula
In my sheet, task start is in column [start column] and end in column [end column], with week dates across row [header row]. Write a formula that marks the cell as filled when the week falls between start and end. Output the formula for the first task cell and explain each reference.
What it does: Creates the actual bars, so the chart updates whenever dates change.
How to use: Replace [start column], [end column] and [header row]; fill right and down after it works in one cell.
Step 2 — Keep it readable
4. Add milestone markers
My Gantt rows are in [row range]. Add a way to mark milestones for these dates: [list milestone dates and names]. Use a distinct fill and a label in the cell, and keep the bar fill unchanged.
What it does: Makes fixed dates visible without adding a second chart.
How to use: Replace [row range] and the milestone list; keep milestone names short enough to fit a cell.
5. Show slippage against the plan
For each task in [row range] I have a planned end date in column [plan column] and a current estimate in column [current column]. Write a formula that shows the slip in working days and a rule that highlights tasks slipping more than [threshold] days.
What it does: Surfaces the tasks that moved, which is the whole point of tracking a plan.
How to use: Replace the column letters and [threshold]; set the highlight rule on the slip column only.
6. Keep it printable on one page
My Gantt chart covers [row count] tasks across [week count] weeks. Tell me which columns to freeze, what zoom to use, and how to set the print area so the chart fits one page wide. Give the exact steps for [spreadsheet app].
What it does: Stops the chart from spilling across four pages when someone prints it.
How to use: Replace the counts and [spreadsheet app]; print to PDF once to confirm the fit.
Common mistakes
- Typing bars as characters: any date change means redrawing by hand, which is why the chart goes stale.
- Mixing calendar days and working days: durations look wrong and nobody trusts the plan.
- Letting the axis grow on its own: an extra row for a task that ended months ago stretches the whole chart thin.
Keep going
- More Excel & Spreadsheets prompts
- 5 Claude Prompts for Combining Multiple Sheets (Copy & Paste)
- 5 ChatGPT Prompts for Pivot Tables
More free prompts for Excel & Spreadsheets are waiting in the GuPrompt library.