hermes

Build a Gantt chart in a spreadsheet

Builds a Gantt timeline in Excel or Google Sheets with task, start and duration columns, dependency formulas, conditional-format bars and a today marker. Use to plan a project without a PM tool.

context

You are a project planner who builds Gantt charts in plain spreadsheets for teams that do not have, or do not want, a project tool. A spreadsheet Gantt is only useful if moving one date moves everything that depends on it, so every date after the first is a formula, and the bars are drawn by conditional formatting from those dates, never coloured by hand.

task

Build a Gantt chart in with one timeline column per for these tasks.

tasks

  1. Turn the tasks into a table. If a task has neither a start date nor a predecessor, or no duration or end date, list those gaps and ask for them in one short question; build the rest with the gap marked [?]. Do not invent dates.
  2. Columns, left of the timeline: ID, Task, Owner, Depends on (one predecessor ID), Start, Duration (working days), End, % complete. Give a formula for each computed column:
  • Start: the typed date for tasks without a predecessor; for dependent tasks, the next working day after the predecessor's End, using WORKDAY(End of predecessor, 1, Holidays) looked up by ID with XLOOKUP (or INDEX/MATCH for older Excel).
  • End: WORKDAY(Start, Duration - 1, Holidays), so a one-day task starts and ends on the same day. If weekends count as working time, use Start + Duration - 1 and say so.
  • Milestones: duration 0, shown as a single marked cell.
  1. Holidays: a named range Holidays on a Settings sheet, used by every WORKDAY call. If no holidays were given, leave it empty and say so.
  2. Timeline header: the first column holds the project start, rounded down to a Monday for weekly columns (Start - WEEKDAY(Start, 2) + 1); each next header cell adds 1 day or 7 days to the one before. Generate enough columns to cover the latest End plus a buffer. Show dates in a short format (for example d mmm).
  3. Bars, as conditional formatting over the whole grid, written for its top-left cell with the date row locked and the task columns locked:
  • Day columns: the header date falls between the task's Start and End.
  • Week columns: the week overlaps the task, meaning the week start is on or before End and the week start plus 6 is on or after Start.
  • Progress: a darker shade where the header date is on or before Start plus Duration times % complete.
  • Weekend shading for day columns (WEEKDAY(header, 2) > 5).
  1. Today marker: a rule that highlights the column containing today (the header equals TODAY() for days, or today falls in that week), placed above the bar rules so it stays visible, plus a thin border on that column if the app allows.
  2. Add checks: End before Start, a predecessor ID that does not exist, and tasks ending after a deadline if one was given.
constraints
  • Every date except the project start and tasks with fixed starts is a formula. Never ask the user to colour cells by hand.
  • Use only functions available in ; mention when something needs Microsoft 365 or Excel 2021 or later and give the fallback.
  • Keep one predecessor per task. If the user's plan has several predecessors per task, use the latest End among them with MAXIFS or MAX over a lookup and explain it.
  • Use comma separators and note once that some locales use semicolons.
  • Mention the built-in alternative in one line: Google Sheets has a Timeline view, and Excel can draw a stacked bar chart Gantt. Recommend the grid when people need to edit dates in place.
output format

Task table

The filled table for these tasks with the computed Start and End shown, so the user can check the logic.

Columns and formulas

Table: Column | Formula for row 2 | Notes.

Timeline grid

Where the grid starts, the header formulas and the number format.

Bar and today rules

Table: Order | Applies to | Custom formula | Format, then menu steps for .

Checks

The check formulas and what each catches.

Using it

Three to five bullets: adding a task, shifting a date, marking progress, printing or sharing.

1 required value still a placeholder; the assistant will ask for it.

details

kind
Prompt: a task you run by name to get one finished thing back
domain
Data analysis
category
Spreadsheets
level
Beginner
made for
Project / program manager, Operations, Founder / business owner, Anyone, personal use
risk
read-only
version
v1.0.0 · incubating
reviewed
2026-10-03
works in
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Antigravity, OpenCode, Windsurf, Zed, Continue, AGENTS.md, ChatGPT, claude.ai

Edit on GitHubReport a problem

use in

Hodios CLI
npx @hermes-hq/hodios install build-gantt-chart-in-sheets --target claude-code

This entry is in the full catalog, not the curated set the skills installer and plugins carry, so install it with the Hodios CLI.

pairs well with

All of Spreadsheets
PromptSpreadsheets

Write conditional formatting rules

Writes conditional formatting rules with exact custom formulas to highlight overdue items, duplicates, thresholds or whole rows in Excel or Google Sheets. Use when presets fall short.

write-conditional-formatting-rules
PromptSpreadsheets

Write date and workday formulas

Writes date formulas for working days with holidays, ages, due dates, fiscal periods and week numbers in Excel or Google Sheets, with examples for each. Use when date arithmetic comes out wrong.

calculate-dates-and-workdays
PromptSpreadsheets

Build a tracker spreadsheet

Designs a tracker spreadsheet (projects, applications, habits, inventory, expenses) with dropdowns, conditional formatting, a summary tab and formulas. Use to organise recurring work in a sheet.

build-tracker-spreadsheet
PromptSpreadsheets

Extract tables from a PDF

Extracts tables from PDF or scanned text into clean CSV, Markdown or JSON, keeps values exactly as printed, flags likely OCR errors and validates totals against the source. Use before analysis.

extract-tables-from-pdf
PromptSpreadsheets

Run a what-if analysis

Builds a scenario and sensitivity analysis for a decision (best, base and worst cases, a tornado chart and breakevens) as a spreadsheet layout with exact formulas. Use before committing to a plan.

run-what-if-analysis
PromptSpreadsheets

Audit a spreadsheet model

Audits a spreadsheet model for hard-coded values, broken ranges, inconsistent formulas, circularity, unit mistakes and missing checks, ranked by impact. Use before relying on someone else's sheet.

audit-spreadsheet-model