Share via

Excel - Bar chart colors change when data range is modified

davidhelp 20 Reputation points
2026-05-28T17:21:21.73+00:00

In excel 2024 I have a bar chart with 3 bars where I added a different color to each bar.

When I decrease the chart’s data range the bars color change to different set of colors.

Question: how to maintain the same set of colors I choose?

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-28T17:21:36.2033333+00:00

    Excel automatically reassigns series/point colors when the data range changes, so manually chosen colors can be lost when points are added/removed or the range is resized.

    To keep specific colors on each bar, set the colors directly on the individual data markers after the chart has the final data range:

    1. Make sure the chart already uses the full, final data range that is expected.
    2. Click once on the series to select all bars, then click again on a single bar to select just that bar (data marker).
    3. Go to the Format tab.
    4. In Shape Styles, select Shape Fill.
    5. Choose the desired color under Theme Colors or Standard Colors, or use More Fill Colors to define a custom color.
    6. Repeat steps 2–5 for each bar that needs a fixed color.

    If the data range must change frequently, consider:

    • Keeping the same number/order of categories and updating values in place instead of resizing the range.
    • Using a separate series for each bar (each with its own format) so Excel is less likely to remap colors when the range changes.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.