Ga naar hoofdinhoud

Hoe verander ik de kleur van de bellengrafiek op basis van categorieën in Excel?

Als u verschillende bellenkleuren wilt wijzigen op basis van verschillende categorieën in een bellengrafiek in Excel, zoals onderstaand screenshot, kan deze tutorial u helpen.
doc-bubble-kleur-1

Verander de kleur van de bellengrafiek op basis van categorieën


pijl blauw rechts bel Verander de kleur van de bellengrafiek op basis van categorieën

1. U moet de waarden van uw x-as kopiëren en ze eerst in een lege kolom naast uw oorspronkelijke gegevensbereik plakken.

doc-bubble-kleur-2

2. Typ vervolgens de categorienamen in de cellen direct boven het gegevensbereik en laat een lege cel tussen elke twee categorieën staan. Zie screenshot:

doc-bubble-kleur-3

3. Typ vervolgens y in de cellen onder elke categorie en typ Bubble in de cellen onder elke lege cel. Zie screenshot hieronder:

doc-bubble-kleur-4

4. Typ deze formule = ALS ($ A3 = F $ 1, $ C3, NA ()) in de cel eronder Y cel en sleep de vulgreep naar het bereik dat u nodig hebt.

Note: $ A3 geeft de categorienaam in uw oorspronkelijke gegevensbereik aan, en F $ 1 geeft de categorie aan die u nodig hebt in deze kolom, $ C3 geeft de y-waarde aan in uw oorspronkelijke gegevensbereik.

doc-bubble-kleur-5

5. Typ vervolgens deze formule = ALS (ISNA (F3), NA (), $ D3) in de cel eronder Bubble cel en sleep de vulgreep naar het bereik dat u nodig hebt.

Note: F3 geeft de cel aan die is overgebleven naar de actieve cel en $ D3 geeft de belwaarde aan in uw oorspronkelijke gegevensbereik.

doc-bubble-kleur-6

6. Selecteer het nieuwe gegevensbereik dat u in bovenstaande stappen aanmaakt en klik op Invoegen > Andere grafieken > Bubbleen selecteer het bellentype dat u nodig hebt.

doc-bubble-kleur-9

Klik in Excel 2013 op Invoegen > Voeg spreidingsdiagram (XY) of bellengrafiek in > Bubble.

Nu kunt u dezelfde categorie zien met dezelfde bellenkleur.

doc-bubble-kleur-8

Als u de grafiekkleur op basis van waarde wilt wijzigen, kunt u naar deze tutorial gaan Hoe u de grafiekkleur kunt wijzigen op basis van waarde in Excel.

Beste Office-productiviteitstools

🤖 Kutools AI-assistent: Een revolutie teweegbrengen in de data-analyse op basis van: Intelligente uitvoering   |  Genereer code  |  Aangepaste formules maken  |  Analyseer gegevens en genereer grafieken  |  Roep Kutools-functies aan...
Populaire functies: Zoek, markeer of identificeer duplicaten   |  Verwijder lege rijen   |  Combineer kolommen of cellen zonder gegevens te verliezen   |   Ronde zonder formule ...
Super opzoeken: Meerdere criteria VLookup    VLookup met meerdere waarden  |   VOpzoeken over meerdere bladen   |   Fuzzy opzoeken ....
Geavanceerde vervolgkeuzelijst: Maak snel een vervolgkeuzelijst   |  Afhankelijke vervolgkeuzelijst   |  Multi-select vervolgkeuzelijst ....
Kolom Beheerder: Voeg een specifiek aantal kolommen toe  |  Kolommen verplaatsen  |  Schakel de zichtbaarheidsstatus van verborgen kolommen in  |  Vergelijk bereiken en kolommen ...
Uitgelichte functies: Raster focus   |  Ontwerpweergave   |   Grote formulebalk    Werkmap- en bladbeheer   |  resource Library (Auto-tekst)   |  Datumkiezer   |  Combineer werkbladen   |  Cellen coderen/decoderen    Stuur e-mails per lijst   |  Super filter   |   Speciaal filter (filter vet/cursief/doorhalen...) ...
Top 15 gereedschapsets12 Tekst Tools (toe te voegen tekst, Tekens verwijderen, ...)   |   50+ tabel Types (Gantt Chart, ...)   |   40+ Praktisch Formules (Bereken leeftijd op basis van verjaardag, ...)   |   19 Invoeging Tools (QR-code invoegen, Afbeelding invoegen vanaf pad, ...)   |   12 Camper ombouw Tools (Getallen naar woorden, Currency Conversion, ...)   |   7 Samenvoegen en splitsen Tools (Geavanceerd Combineer rijen, Gespleten cellen, ...)   |   ... en meer

Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar efficiëntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen.  Klik hier om de functie te krijgen die u het meest nodig heeft...

Omschrijving


Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en vermindert honderden muisklikken voor u elke dag!
Comments (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Nice except that the graph comes out with other values on the x axis than what is in the data table you make the graph on...
This comment was minimized by the moderator on the site
If you clear the cell that reads 'x' you should be able to get the values
This comment was minimized by the moderator on the site
wow what wizardry is this? it works but no idea why
This comment was minimized by the moderator on the site
Thanks 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? ~/R
This comment was minimized by the moderator on the site
continue from previous msg.... X axis = period, Y axis = value, bubble = value with customer name
This comment was minimized by the moderator on the site
Hi 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! Casey
This comment was minimized by the moderator on the site
I 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.
This comment was minimized by the moderator on the site
you are probably doing what I did initially which is selecting the header rows when selecting the data, if you only select the values and no headers it will work fine
This comment was minimized by the moderator on the site
Thanks for this walkthrough. A problem that I have, and I see you have it too based on the screen shots, is that the x axis no longer reflects the values from your data. The position of the bubbles along the x axis may be accurately scaled but the actual values are missing. How do you fix that?
This comment was minimized by the moderator on the site
The x-axis displays the number of items in the list and the position of each one. The only workaround that I could figure out was to selected Edit Data and then select each category and specify the cell reference rather than leaving it as a range.
This comment was minimized by the moderator on the site
[quote]Thanks for this walkthrough. A problem that I have, and I see you have it too based on the screen shots, is that the x axis no longer reflects the values from your data. The position of the bubbles along the x axis may be accurately scaled but the actual values are missing. How do you fix that?By David[/quote] The values along the x-axis reflect the position within the selection, not the actual values for the x-axis. eg., the first bubble is position 2 (second row), second bubble is position 3 and so forth. The values generated along the x-axis will reflect the number of items in the list. The only workaround that I could discover was to Edit Data and then select each category and manually adjust the cell references for x-axis, y-axis, and bubble size to reflect the actual cell, not a range.
This comment was minimized by the moderator on the site
Hi Becky,


Thanks for sharing this with us. Can you please explain this with an example? It would be really helpful. Thank you.
This comment was minimized by the moderator on the site
An alternative to this is editing the data to not include the row header (ie, the "x"). This seems to make the values correspond with the x-axis.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations