Guide · 2026-11-09

Change Categories in an Office 365 Excel Gantt Chart: Steps

You rename tasks in an Office 365 Excel Gantt chart, but the old labels keep appearing—or the chart changes in a way you didn’t expect. That can make a schedule harder to read, especially when deadlines are close and several people rely on the same view.

The problem is that “categories” can mean task labels on the chart’s vertical axis, or series names shown in its legend. Changing the wrong setting may rearrange bars instead of renaming tasks. But here’s the truth: once you identify which chart element you mean, the fix usually takes a few clicks.

Here, you’ll learn how to update task labels, edit category-axis settings, and change legend names in Excel for Microsoft 365. I’ll also show you what to check when the chart doesn’t update as expected.

How to Change Categories in an Office 365 Excel Gantt Chart

For most Gantt charts, each task name is a category on the vertical axis. Edit the worksheet cells containing those names, or change the category-label range in the chart’s settings.

First, check what you want to rename. If the labels sit beside the bars, they’re category-axis labels. If the name appears beside a color key, it’s a series name in the legend.

Change the task labels beside the bars

  1. Click the Gantt chart once to select it.

  2. Find the task names used by the chart, usually in a worksheet column next to start dates and durations.

  3. Edit the relevant cell values. For example, change “Design” to “Interface design.”

  4. Press Enter and check the chart. Excel usually updates the category labels automatically.

If the chart does not refresh, select it and open Chart Design > Select Data. Under Horizontal (Category) Axis Labels, choose Edit, then select the cells containing the task names.

Change a category label range

  1. Select the chart, then choose Chart Design > Select Data.

  2. In the Horizontal (Category) Axis Labels section, choose Edit.

  3. Select the worksheet cells you want Excel to use as the task labels.

  4. Choose OK to close the dialog, then choose OK again to apply the change.

For example, if your task names move from cells A2:A8 to A2:A10, update the label range to include the new rows. Check that each task label still aligns with its start date and duration.

Change a legend category or series name

If you mean a label in the chart legend, change the series name instead of the category-axis labels. In a typical Gantt chart, the legend may show series such as “Start date” and “Duration.”

  1. Select the chart and choose Chart Design > Select Data.

  2. In Legend Entries (Series), select the series you want to rename, then choose Edit.

  3. Enter a new series name, or select a worksheet cell containing the name.

  4. Choose OK to apply the change and review the legend.

Be careful when selecting a series: changing its name affects the legend entry, while changing its values can alter the bars themselves.

Reorder category labels without renaming them

Sometimes the labels are correct, but Excel displays the tasks in an unexpected order. Select the vertical axis, open Format Axis, and look for Categories in reverse order.

Switching that option changes the display order, not the task names or their worksheet order. If you want a specific sequence, arrange the task rows in the worksheet and check the axis setting afterward.

Know Which Gantt Chart Labels You’re Changing

Excel does not have a dedicated Gantt chart type in its standard chart gallery. Many people create one with a stacked bar chart, using a start-date series and a duration series.

In that setup, task names usually appear on the vertical category axis. The start-date series is often made invisible, leaving the duration bars visible across the schedule.

Category labels and series names do different jobs

Category labels identify the rows of work, such as “Research,” “Prototype,” and “Review.” Series names describe the chart’s plotted values, such as “Start” or “Duration.”

Here’s why: an axis label tells you which task a bar represents, while a legend name tells you what a bar color or segment represents. Changing one won’t necessarily change the other.

Check the chart before editing

Click a label or legend entry to see which part of the chart is selected. If clicking a task name selects the vertical axis, you’re looking at category labels. If it selects a colored legend key, you’re looking at a series.

For instance, renaming a task from “Testing” to “User testing” should leave its dates and bar length intact. If the bar changes, check whether you edited a duration value or altered the chart’s series settings.

Keep Category Labels Clear and Consistent

Short, specific task names make a Gantt chart easier to scan. “Approve design” tells a viewer more than “Approval,” particularly when the chart contains several phases.

The best part? You can make a label clearer without changing the schedule itself. Keep task names in their own worksheet column, then edit that column when terminology changes.

Use a consistent naming pattern

Choose a pattern that suits the team and apply it throughout the chart. For example, use action-oriented labels such as “Draft brief,” “Review brief,” and “Approve brief.”

Try not to use the same category label for unrelated work. If two teams each have a task called “Review,” add a team or phase detail so readers can tell them apart.

Make long labels easier to read

Long task names can crowd the chart, especially when many rows are visible. Shorten labels where possible, widen the chart, or reduce the number of visible tasks.

A label such as “Confirm launch readiness with regional teams” might become “Confirm regional readiness.” Keep the fuller meaning in your planning notes if the chart needs to stay compact.

What to Check When Category Changes Don’t Work

If a chart label stays unchanged, start by checking the cells that supply its text. The chart may still point to an older range, or it may use a different column than you expected.

Let me explain: a chart can display a selected range of cells rather than every task in the worksheet. New rows may not appear until you expand the category-label range and the plotted series ranges.

Confirm the selected worksheet range

Open Chart Design > Select Data and inspect the category-label range. Make sure it contains the intended task names and excludes headers or blank rows that could appear as unwanted categories.

Then check the series ranges for start dates and durations. If those ranges cover fewer rows than the task-name range, the labels and bars may not line up.

Check for hidden or blank rows

Blank cells can create empty-looking categories, while hidden rows may affect what you see in the chart. Look for gaps in the task-name column and confirm the chart’s settings for displaying data in hidden rows and columns.

For example, a blank cell between “Plan” and “Build” may produce an empty category. Adding the missing task name or adjusting the selected range can resolve the visual gap.

Review category order and axis formatting

If names appear in reverse order, inspect the vertical axis settings before rearranging worksheet rows. The Categories in reverse order option can make the first task appear at the top or bottom.

You might be wondering: why did the date axis move after I changed the order? In a bar chart, reversing the category order can also affect where the value axis appears. Review both axes after changing the setting.

Use a Reliable Workflow for Gantt Chart Updates

A simple update routine helps prevent accidental changes to dates and durations. Before editing, identify the label range, the plotted series, and the chart element you intend to change.

  1. Identify the label type. Decide whether you’re changing task names, series names, or display order.

  2. Edit the right place. Update task-name cells for axis labels, or edit a series name for the legend.

  3. Check the chart range. Include every intended task row and keep label, start-date, and duration ranges aligned.

  4. Review the result. Confirm that the bars, dates, labels, and ordering still represent the schedule correctly.

For example, when adding “Launch review” to an existing schedule, add its task name, start date, and duration together. Then extend the relevant chart ranges and confirm the new bar appears beside the correct label.

This small check matters when several people update a schedule. A label can look right while sitting beside the wrong bar if the category and series ranges no longer match.

ONES.com Solution for Project and Knowledge Management

When Gantt charts become part of a larger team workflow, you may need a shared place to manage project work and related knowledge. ONES.com is a unified project management and knowledge management platform powered by AI through ONES Assistant.

ONES.com product screenshot

Value proposition: ONES Project supports project planning and tracking, while ONES Wiki provides a knowledge base. They’re sold separately, so you can choose the product that fits your needs.

Core capabilities

Application scenarios

Software team coordinating a release: A team can manage sprint work and custom task details in ONES Project, then keep release procedures in ONES Wiki. Keeping these products separate lets the team choose how much of the platform it needs.

Organization with restricted network requirements: A team that cannot use a cloud-only setup can consider an On-Premise, Private Cloud, or Air-gapped deployment. Deployment choice depends on the organization’s environment and operational requirements.

ONES.com offers a free plan for up to 30 seats. If you’re evaluating it, compare the needed workflows, deployment options, and knowledge management requirements with your current project process.

Common Challenges When Editing Gantt Categories

FAQs About Changing Excel Gantt Chart Categories

Can I rename a Gantt chart category without changing its bar?

Yes. Edit the task name in the worksheet cell used for the category label, or update the category-label range in Chart Design > Select Data. Avoid changing the duration value or series range if you only want to rename the task. After the label updates, confirm that the bar still aligns with the same task and dates.

Why do my Gantt chart task names appear in reverse order?

Excel may have the vertical category axis set to reverse the category order. Select the axis, open Format Axis, and check Categories in reverse order. Turning this option on or off changes the display order, not the task names. Review the date axis afterward, because its position can change when category order is reversed.

How do I add a new category to an Excel Gantt chart?

Add the task name, start date, and duration on a new worksheet row. Then check whether the chart automatically includes that row. If it doesn’t, open Select Data and extend the category-label range and the relevant series ranges. Make sure all ranges cover the same task rows so the new label and bar stay aligned.

What’s the difference between a category label and a legend name?

A category label usually identifies a task beside a bar, such as “Design” or “Testing.” A legend name describes a plotted series, such as “Start date” or “Duration.” Edit task-name cells or the category-label range to change axis labels. Use the Legend Entries (Series) section in Select Data to rename a legend item.

Why does Excel show a blank category in my Gantt chart?

A blank task-name cell may be included in the category-label range, creating an empty label. Check the worksheet column for gaps and inspect the range under Horizontal (Category) Axis Labels. Remove the blank row from the selected range or enter the missing task name. Also check that the plotted date and duration ranges cover the same rows.

Conclusion

To change task categories in an Office 365 Excel Gantt chart, edit the worksheet cells used for task labels or adjust the category-label range. For legend text, edit the series name instead. If tasks display in an unexpected order, review the vertical axis settings.

Before you finish, check that every task label still matches its start date and duration. Clear labels and aligned chart ranges make a schedule easier to understand and update. If your team needs broader project tracking or shared knowledge management, ONES.com offers ONES Project and ONES Wiki as separately sold products.