Przejdź do głównej zawartości

Jak zmienić kolor wykresu bąbelkowego na podstawie kategorii w programie Excel?

Jeśli chcesz zmienić różne kolory bąbelków na podstawie różnych kategorii na wykresie bąbelkowym w programie Excel, jak pokazano poniżej, ten samouczek może Ci pomóc.
bąbelkowy-dokument-kolor-1

Zmień kolor wykresu bąbelkowego na podstawie kategorii


strzałka niebieski prawy bąbelek Zmień kolor wykresu bąbelkowego na podstawie kategorii

1. Najpierw musisz skopiować wartości osi x i wkleić je w pustej kolumnie obok oryginalnego zakresu danych.

bąbelkowy-dokument-kolor-2

2. Następnie wpisz nazwy kategorii do komórek tuż nad zakresem danych i pozostaw pustą komórkę między każdą z dwóch kategorii. Zobacz zrzut ekranu:

bąbelkowy-dokument-kolor-3

3. Następnie w komórkach w każdej kategorii wpisz y i wpisz Bubble w komórkach pod każdą pustą komórką. Zobacz zrzut ekranu poniżej:

bąbelkowy-dokument-kolor-4

4. Wpisz tę formułę = JEŻELI (A3 $ = F 1 $, $ C3, NA ()) do komórki poniżej Y komórkę i przeciągnij uchwyt wypełniania do wymaganego zakresu.

Note: $ A3 wskazuje nazwę kategorii w oryginalnym zakresie danych, a F $ 1 wskazuje kategorię, której potrzebujesz w tej kolumnie, $ C3 oznacza wartość y w oryginalnym zakresie danych.

bąbelkowy-dokument-kolor-5

5. Następnie wpisz tę formułę = JEŻELI (ISNA (F3), NA (), $ D3) do komórki poniżej Bańka komórkę i przeciągnij uchwyt wypełnienia do wymaganego zakresu.

Note: F3 wskazuje komórkę po lewej stronie aktywnej komórki, a $ D3 wskazuje wartość bąbelka w oryginalnym zakresie danych.

bąbelkowy-dokument-kolor-6

6. Wybierz nowy zakres danych utworzony w powyższych krokach i kliknij wstawka > Inne wykresy > Bańkai wybierz potrzebny typ bąbelka.

bąbelkowy-dokument-kolor-9

W programie Excel 2013 kliknij wstawka > Wstaw wykres punktowy (XY) lub bąbelkowy > Bańka.

Teraz możesz zobaczyć tę samą kategorię z tym samym kolorem bąbelków.

bąbelkowy-dokument-kolor-8

Jeśli chcesz zmienić kolor wykresu na podstawie wartości, możesz przejść do tego samouczka Jak zmienić kolor wykresu na podstawie wartości w programie Excel.

Najlepsze narzędzia biurowe

🤖 Pomocnik AI Kutools: Zrewolucjonizuj analizę danych w oparciu o: Inteligentne wykonanie   |  Wygeneruj kod  |  Twórz niestandardowe formuły  |  Analizuj dane i generuj wykresy  |  Wywołaj funkcje Kutools...
Popularne funkcje: Znajdź, wyróżnij lub zidentyfikuj duplikaty   |  Usuń puste wiersze   |  Łącz kolumny lub komórki bez utraty danych   |   Okrągły bez wzoru ...
Super wyszukiwanie: Wiele kryteriów VLookup    Wiele wartości VLookup  |   Przeglądanie pionowe na wielu arkuszach   |   Wyszukiwanie rozmyte ....
Zaawansowana lista rozwijana: Szybko twórz listę rozwijaną   |  Zależna lista rozwijana   |  Lista rozwijana wielokrotnego wyboru ....
Menedżer kolumn: Dodaj określoną liczbę kolumn  |  Przesuń kolumny  |  Przełącz stan widoczności ukrytych kolumn  |  Porównaj zakresy i kolumny ...
Polecane funkcje: Fokus siatki   |  Widok projektu   |   Duży pasek formuły    Menedżer skoroszytów i arkuszy   |  Biblioteka zasobów (Automatyczny tekst)   |  Selektor dat   |  Połącz arkusze   |  Szyfruj/odszyfruj komórki    Wysyłaj e-maile według listy   |  Super filtr   |   Specjalny filtr (filtruj pogrubienie/kursywa/przekreślenie...) ...
15 najlepszych zestawów narzędzi12 Tekst Tools (Dodaj tekst, Usuń znaki, ...)   |   50 + Wykres rodzaje (Wykres Gantta, ...)   |   40+ Praktyczne Wzory (Oblicz wiek na podstawie urodzin, ...)   |   19 Wprowadzenie Tools (Wstaw kod QR, Wstaw obraz ze ścieżki, ...)   |   12 Konwersja Tools (Liczby na słowa, Przeliczanie walut, ...)   |   7 Połącz i podziel Tools (Zaawansowane wiersze łączenia, Podział komórki, ...)   |   ... i więcej

Zwiększ swoje umiejętności Excela dzięki Kutools for Excel i doświadcz wydajności jak nigdy dotąd. Kutools dla programu Excel oferuje ponad 300 zaawansowanych funkcji zwiększających produktywność i oszczędzających czas.  Kliknij tutaj, aby uzyskać funkcję, której najbardziej potrzebujesz...

Opis


Karta Office wprowadza interfejs z zakładkami do pakietu Office i znacznie ułatwia pracę

  • Włącz edycję i czytanie na kartach w programach Word, Excel, PowerPoint, Publisher, Access, Visio i Project.
  • Otwieraj i twórz wiele dokumentów w nowych kartach tego samego okna, a nie w nowych oknach.
  • Zwiększa produktywność o 50% i redukuje setki kliknięć myszką każdego dnia!
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