Keep Repeated Event Colors Consistent in an Excel Stacked Bar Chart
Question details
The user needs repeated event types to appear in consistent colors in an Excel stacked bar chart.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A sequence report displays event occurrences as segments in a stacked bar chart.
- Observed behavior
- Excel assigns different colors to occurrences of the same event type.
Identify each event type and choose a color for it. Check whether the chart must preserve the order of individual occurrences or only show totals by event type.
Use One Chart Series for Each Event Type
Use this approach when totals by event type are sufficient or the series layout preserves the order you need.
Excel normally assigns colors by series. Combining repeated events into one series gives that event type a consistent color, but aggregating occurrences may hide their original sequence.
In the worksheet, create a column for each event type and enter its value for each reported bar. Combine repeated occurrences into a total where appropriate.
Select the data and choose Insert > Bar Chart > Stacked Bar, or select an existing chart and use Chart Design > Select Data to update its range.
Click a segment of an event series, right-click it, and choose Format Data Series. Under Fill, select Solid fill and choose the event's color.
Select each remaining event series in the chart and assign its chosen color using Format Data Series > Fill.
Color Individual Segments to Preserve Event Order
Use this approach when repeated occurrences must remain separate and appear in their original sequence.
Set Consistent Event Colors in WPS Spreadsheets
Create a stacked bar chart in WPS Spreadsheets and format its series or individual segments to match your event color scheme.
- 1. Open the workbook: Open WPS Spreadsheets and select Open to load your Excel workbook.
- 2. Arrange the events: In the worksheet, organize event values by type for totals, or by occurrence in sequence order if each segment must remain separate.
- 3. Insert the chart: Select the event data and choose Insert > Chart, then select a stacked bar chart.
- 4. Format the colors: Select an event series or click an individual segment again to select that data point. Right-click it, open the formatting options, and choose a fill color; repeat for matching events.

Frequently Asked Questions
Why does Excel give the same event different colors?
Excel normally colors chart series rather than interpreting event labels. If repeated events are in different series, they can receive different default colors.
Can I keep the event sequence without combining repeated events?
Yes. Keep occurrences as separate series in sequence order, then select each segment individually and use Format Data Point > Fill to assign the event's color.
How do I change the color of an entire event series?
Click a segment in the series, right-click it, and choose Format Data Series. Under Fill, choose Solid fill and select the color.
Will new event segments automatically match existing colors?
Not necessarily. After adding occurrences or series, check the chart and use Format Data Series or Format Data Point to apply the intended colors.




