How to change bubble chart color based on categories in Excel?
If you want to change different bubble colors based on different categories in a bubble chart in Excel as below screenshot shown, this tutorial can help you.
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
1. You need to copy your x axis values and paste them in a blank column next to your original data range firstly.
2. Then type the category names into the cells right above the data range, and keep a blank cell between every two categories. See screenshot:
3. Then in the cells under each category, type y, and type Bubble in to the cells under each blank cell. See screen shot below:
4. Type this formula =IF($A3=F$1,$C3,NA()) into the cell under Y cell, and drag the fill handle to the range you need.
Note: $A3 indicates the category name in your original data range, and F$1 indicates the category you need in this column, $C3 indicates y value in your original data range.
5. Then type this formula =IF(ISNA(F3),NA(),$D3) into the cell under Bubble cell and drag fill handle to the range you need.
Note: F3 indicates the cell left to the active cell, and $D3 indicates the bubble value in your original data range.
6. Select the new data range you create in above steps and click Insert > Other Charts > Bubble, and select the bubble type you need.
In Excel 2013, click Insert > Insert Scatter (X Y) or Bubble chart > Bubble.
Now you can see the same category with the same bubble color.
If you want to change chart color based on value, you can go to this tutorial How to change chart color based on value in Excel.
Recommended Productivity Tools
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.
To post as a guest, your comment is unpublished.· 1 years agoThanks for this guide - it's solved a big issue for me.
Well, almost. I've got this set up, but also have Data Labels on the bubbles. However, I am having an issue with the Data Label dissapearing from the bubble when the Category (bubble colour) is changed. I've tried a few things, the thing that has come closest to solving the issue is:
Changing all my data to the same category, configuring the Data Labels to the right format (the label content is coming from a range of cells), then changing all the data to the next category, and setting up the formats... repeating for all caegories. Once that is done then I can happily change the categories and the bubble colours change and the bubbles remain labeled...
However.. If I save the document, close it and reopen then changing the category results in the bubble changing colour, but the data label on the bubble disspears. Looking at the settings nothing has changed but the label content does not show. Changing the cateogry back to the original value results in the label coming back..
Has anyone seen this before? ... and if so, any ideas on a solution?
To post as a guest, your comment is unpublished.· 2 years agocontinue from previous msg....
X axis = period, Y axis = value, bubble = value with customer name
To post as a guest, your comment is unpublished.· 2 years agoHi there,
I would like to know is it possible to have the bubble's colour based on risk level with the following information availbale below and the colour of the bubble will depend on risk level (example, Medium = Orange, Low = Green, High = Red, Converted = Blue). I tried follow the example you showed above but couldn't get it working...
customer Period Value Risk level
A Jan-17 $15,000 Medium
B Dec-16 $20,000 Low
C Mar-17 $25,000 Converted
D Feb-17 $10,000 High
E Jan-17 $30,000 Medium
F Apr-17 $8,000 Low
Thanks in advance for your help!
To post as a guest, your comment is unpublished.· 2 years agoI see that these steps work, but there is no explanation of why.
for example you use the formula "=IF(ISNA(H10),NA(),$D10)", what does this mean and why are you using it.
Is there a document available that not only shows a user how to change the colours but explains the process.