M HYPE SPLASH
// updates

How to change the legend name in clustered columns chart in Excel

By Michael Henderson

I am trying to update the legend name presented in a clustered columns chart that I create via a pivot table. There are few ways recommended online how to update the legend name for regular chart types.

For example, in Microsoft's website, this link shows some steps. However, none of these steps are applicable for clustered columns. When I click Select Data, the editing option is not clickable as shown below.

In short, I would like to update the legend name, which is Total in the image shared.

1

1 Answer

When there is no field in Legend (Series) area, only a single series in pivot chart, its legend name is "Total" by default, and we could not modify it.

enter image description here

Here is a workaround, I hope it could help you.

  1. Select the Pivot Table > click PivotTable Analyze > Fields, Items & Sets in Calculations Group > Calculated Field, create a calculated field with 0. I named it as "Helper".

Besides, select M1 (Sum of Score) in pivot table, modify it in formula bar as your needs, which would be the legend name in pivot chart. I want to name it as "Score", but it has been existed, so I need to add a space before it.

enter image description here

  1. Drag this field into Values area, then you would get the chart as below one.

enter image description here

  1. Right click "Values" button > Choose "Hide All Field buttons on chart".

enter image description here

  1. Set all white for the extra legend (Sum of Helper), including Fill and Text.

enter image description here

enter image description here

  1. The last result is the following picture.

enter image description here

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy