ไปยังเนื้อหาหลัก

วิธีเปลี่ยนสีแผนภูมิฟองตามหมวดหมู่ใน Excel

หากคุณต้องการเปลี่ยนสีฟองที่แตกต่างกันตามหมวดหมู่ต่างๆในแผนภูมิฟองใน Excel ตามภาพด้านล่างนี้บทช่วยสอนนี้สามารถช่วยคุณได้
doc- ฟองสี -1

เปลี่ยนสีแผนภูมิฟองตามหมวดหมู่


ลูกศรสีฟ้าฟองขวา เปลี่ยนสีแผนภูมิฟองตามหมวดหมู่

1. คุณต้องคัดลอกค่าแกน x ของคุณและวางในคอลัมน์ว่างถัดจากช่วงข้อมูลเดิมของคุณก่อน

doc- ฟองสี -2

2. จากนั้นพิมพ์ชื่อหมวดหมู่ลงในเซลล์ที่อยู่เหนือช่วงข้อมูลและเก็บเซลล์ว่างไว้ระหว่างทุกสองหมวดหมู่ ดูภาพหน้าจอ:

doc- ฟองสี -3

3. จากนั้นในเซลล์ภายใต้แต่ละประเภทให้พิมพ์ y และพิมพ์ Bubble ในเซลล์ที่อยู่ใต้เซลล์ว่างแต่ละเซลล์ ดูภาพหน้าจอด้านล่าง:

doc- ฟองสี -4

4. พิมพ์สูตรนี้ = IF ($ A3 = F $ 1, $ C3, NA ()) เข้าไปในเซลล์ข้างใต้ Y เซลล์แล้วลากจุดจับเติมไปยังช่วงที่คุณต้องการ

หมายเหตุ: $ A3 ระบุชื่อหมวดหมู่ในช่วงข้อมูลเดิมของคุณและ F $ 1 ระบุหมวดหมู่ที่คุณต้องการในคอลัมน์นี้ $ C3 ระบุค่า y ในช่วงข้อมูลเดิมของคุณ

doc- ฟองสี -5

5. จากนั้นพิมพ์สูตรนี้ = IF (ISNA (F3), NA (), $ D3) เข้าไปในเซลล์ข้างใต้ ฟองสบู่ เซลล์แล้วลากที่จับเติมไปยังช่วงที่คุณต้องการ

หมายเหตุ: F3 ระบุเซลล์ที่อยู่ทางซ้ายไปยังเซลล์ที่ใช้งานอยู่และ $ D3 ระบุค่าฟองในช่วงข้อมูลเดิมของคุณ

doc- ฟองสี -6

6. เลือกช่วงข้อมูลใหม่ที่คุณสร้างในขั้นตอนด้านบนแล้วคลิก สิ่งที่ใส่เข้าไป > แผนภูมิอื่น ๆ > ฟองสบู่แล้วเลือกประเภทฟองที่คุณต้องการ

doc- ฟองสี -9

ใน Excel 2013 คลิก สิ่งที่ใส่เข้าไป > แทรกแผนภูมิกระจาย (XY) หรือแผนภูมิฟอง > ฟองสบู่.

ตอนนี้คุณจะเห็นหมวดหมู่เดียวกันด้วยสีฟองเดียวกัน

doc- ฟองสี -8

หากคุณต้องการเปลี่ยนสีแผนภูมิตามค่าคุณสามารถไปที่บทช่วยสอนนี้ วิธีเปลี่ยนสีแผนภูมิตามค่าใน Excel.

สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
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