Skip to main content

在 Excel 中創建棒棒糖圖

Author: Siluvia Last Modified: 2025-05-12

雖然棒棒糖圖與柱狀圖或條形圖扮演相同的角色,但它的外觀更加美觀且獨特,能夠更吸引讀者。本教程將提供逐步指南,向您展示如何在 Excel 中創建棒棒糖圖。
下方截圖展示了棒棒糖圖與柱狀圖之間的對比。

Lollipop Chart

在 Excel 中創建具有相同橢圓顏色的棒棒糖圖
在 Excel 中創建具有不同橢圓顏色的垂直棒棒糖圖
在 Excel 中創建具有相同或不同橢圓顏色的水平棒棒糖圖
使用一款驚人的工具輕鬆創建垂直或水平棒棒糖圖
下載範例文件
視頻:在 Excel 中創建棒棒糖圖


在 Excel 中創建具有相同橢圓顏色的棒棒糖圖

假設您想根據下方截圖中的數據創建一個棒棒糖圖,請按照以下步驟操作以完成它。

steps of creating a lollipop chart with same oval color in Excel

1. 選擇整個數據區域,點擊 插入 > 插入柱形圖或條形圖 > 簇狀柱形圖,如果您想創建垂直棒棒糖圖。

如果您想創建水平棒棒糖圖,點擊 插入 > 插入柱形圖或條形圖 > 簇狀條形圖。見截圖:

steps of creating a lollipop chart with same oval color in Excel

2. 接著,簇狀柱形圖或簇狀條形圖將被插入到工作表中。保持選中圖表,然後點擊 設計 > 添加圖表元素 > 誤差線 > 標準誤差

steps of creating a lollipop chart with same oval color in Excel

3. 選中並右鍵單擊圖表中的誤差線,然後從右鍵菜單中選擇 格式化誤差線

steps of creating a lollipop chart with same oval color in Excel

4. 在打開的 格式化誤差線 窗格中,並在 誤差線選項 標籤下,您需要進行如下配置。

4.1) 在 方向 部分選擇 減號
4.2) 在 結束樣式 部分選擇 無帽
4.3) 在 誤差數量 部分選擇 百分比 選項,然後將百分比更改為 100%

steps of creating a lollipop chart with same oval color in Excel

現在圖表顯示如下。

steps of creating a lollipop chart with same oval color in Excel

5. 在 格式化誤差線 窗格中,您需要繼續進行如下配置。

5.1) 點擊 填充與線條 標籤;
5.2) 為誤差線指定一種顏色;
5.3) 根據需要更改誤差線的寬度;
5.4) 從 開始箭頭類型 下拉列表中選擇 橢圓箭頭 選項。

steps of creating a lollipop chart with same oval color in Excel

圖表顯示如下截圖所示。

steps of creating a lollipop chart with same oval color in Excel

6. 現在您需要隱藏圖表中的柱形條。點擊選擇柱形條,進入 格式化數據系列 窗格,然後進行如下配置。

6.1) 點擊 填充與線條 標籤;
6.2) 在 填充 部分,選擇 無填充 選項;
6.3) 在 邊框 部分,選擇 無線條 選項。

steps of creating a lollipop chart with same oval color in Excel

現在棒棒糖圖已完成。

steps of creating a lollipop chart with same oval color in Excel

注意:如果您想用不同的顏色標記橢圓,請嘗試以下方法。


在 Excel 中創建具有不同橢圓顏色的垂直棒棒糖圖

如果您想在 Excel 中創建具有不同橢圓顏色的棒棒糖圖,請按照以下步驟操作。

steps of creating a vertical lollipop chart with different oval colors in Excel

1. 選擇所有數據,點擊 插入 > 插入折線圖或面積圖 > 帶有標記的折線圖

steps of creating a vertical lollipop chart with different oval colors in Excel

2. 在創建的圖表中,右鍵單擊折線並從上下文菜單中選擇 格式化數據系列

steps of creating a vertical lollipop chart with different oval colors in Excel

3. 在打開的 格式化數據系列 窗格中,點擊 填充與線條 標籤,在 線條 部分選擇 無線條

steps of creating a vertical lollipop chart with different oval colors in Excel

然後圖表中的折線將如下面截圖所示被隱藏。

steps of creating a vertical lollipop chart with different oval colors in Excel

4. 保持選中標記,然後點擊 設計 > 添加圖表元素 > 誤差線 > 標準誤差

steps of creating a vertical lollipop chart with different oval colors in Excel

5. 選中圖表中的誤差線,進入 格式化誤差線 窗格,然後進行如下配置。

5.1) 在 方向 部分選擇 減號
5.2) 在 結束樣式 部分選擇 無帽
5.3) 在 誤差數量 部分選擇 百分比 選項,然後將百分比更改為 100%

steps of creating a vertical lollipop chart with different oval colors in Excel

現在圖表顯示如下截圖所示。

steps of creating a vertical lollipop chart with different oval colors in Excel

6. 點擊任意一個標記以選擇所有標記,進入 格式化數據系列 窗格,然後進行如下配置。

6.1) 進入 填充與線條 標籤;
6.2) 通過點擊 標記 標籤切換到標記選項視圖;
6.3) 在 填充 部分勾選 按點變色 复选框。

steps of creating a vertical lollipop chart with different oval colors in Excel

現在具有不同橢圓顏色的棒棒糖圖已完成,如下截圖所示。

steps of creating a vertical lollipop chart with different oval colors in Excel


在 Excel 中創建具有相同或不同橢圓顏色的水平棒棒糖圖

在本節中,您將學習如何在 Excel 中創建具有相同或不同橢圓顏色的水平棒棒糖圖。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

1. 在原始數據表旁創建一個輔助列,如下所示。

1.1) 選擇一個空白單元格(這裡我選擇 C2),將以下公式輸入其中並按下 Enter 鍵。
=1/11/2
1.2) 選擇 C2 下方的單元格(這裡是 C3),將以下公式輸入其中,然後按下 Enter 鍵。
=C2+1/11
1.3) 選擇 C3,然後拖動填充柄以將公式應用於其他單元格。

注意:對於公式中的數字 11,它代表基於原始軸標籤您將在圖表中創建的條形數量。在我的情況下,A 列中有 11 個軸標籤,因此我在公式中指定數字 11。您可以根據自己的軸數據進行更改。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

2. 選擇軸標籤的範圍和數據範圍(這裡我選擇範圍 A1:B12),然後點擊 插入 > 插入柱形圖或條形圖 > 簇狀條形圖

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

3. 然後當前工作表中會創建一個簇狀條形圖。請右鍵單擊垂直軸標籤,然後從上下文菜單中選擇 格式化軸

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

4. 在打開的 格式化軸 窗格中,勾選 軸選項 標籤下的 逆序排列類別 方框。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

5. 右鍵單擊圖表中的任何數據系列,然後從右鍵菜單中選擇 選取數據

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

6. 在 選取數據源 對話框中,點擊 添加 按鈕。然後彈出一個 編輯系列 對話框,直接點擊 確定 按鈕而無需任何配置。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

7. 當返回到 選取數據源 對話框時,您可以看到一個新的系列(Series2)已添加到 系列名稱區域 框中,點擊 確定 保存更改並關閉對話框。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

8. 右鍵單擊圖表中的任何數據系列,然後從右鍵菜單中選擇 更改系列圖表類型

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

9. 在彈出的 更改圖表類型 對話框中,將 Series2 的圖表類型更改為 散點圖,然後點擊 確定 按鈕。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

10. 右鍵單擊圖表中的任何數據系列,然後從右鍵菜單中選擇 選取數據

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

11. 在 選取數據源 對話框中,選擇 系列名稱區域 框中的 Series2,然後點擊 編輯 按鈕。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

12. 在 編輯系列 對話框中,請進行如下配置。

12.1) 在 系列名稱 框中,根據需要輸入系列名稱;
12.2) 在 系列 X 值 框中,選擇不含標題的數據值範圍;
12.3) 在 系列 Y 值 框中,選擇不含標題的輔助數據範圍;
12.4) 點擊 確定 按鈕。見截圖:

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

13. 當返回到 選取數據源 對話框時,點擊 確定 按鈕以保存更改。

現在圖表顯示如下。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

14. 點擊圖表中的次要軸,然後進入 格式化軸 窗格進行如下配置。

14.1) 在 軸選項 標籤下將 最大值 更改為 1
14.2) 勾選 逆序排列值 方框。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

15. 從圖表中移除次要軸。

16. 現在進行如下配置條形條。

16.1) 點擊任意一條形條以選擇所有條形條;
16.2) 點擊 設計 圖表工具標籤)> 添加圖表元素 > 誤差線 > 標準誤差 以添加誤差線。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

16.3) 保持選中條形條,進入 格式化數據系列 窗格,在 填充與線條 標籤下的 填充邊框 部分依次選擇 無填充無線條

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

現在條形條已在圖表中被隱藏。

17. 選擇誤差線,進入 格式化誤差線 窗格並進行如下配置。

17.1) 在 方向 部分選擇 減號 選項;
17.2) 在 誤差數量 部分,選擇 百分比 選項,然後將百分比更改為 100%

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

現在已創建具有相同橢圓顏色的水平棒棒糖圖,如下截圖所示。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

提示:如果您想為橢圓指定不同的顏色,請手動逐一更改它們的顏色。

請雙擊橢圓以僅選擇它,進入 格式化數據點 窗格,啟用 填充與線條 標籤,點擊 標記 標籤,然後為其指定實心填充顏色和實心線條顏色。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel

最後,具有不同橢圓顏色的水平棒棒糖圖如下所示。

steps of creating a horizontal lollipop chart with same or different oval colors in Excel


輕鬆在 Excel 中創建棒棒糖圖

Kutools for Excel 棒棒糖圖 功能可以幫助您只需幾次點擊即可快速在 Excel 中創建垂直或水平棒棒糖圖,如下演示所示。
立即下載並試用! 30-天免費試用


下載範例文件

sample of creating a lollipop chart in Excel


視頻:在 Excel 中創建棒棒糖圖


最佳的辦公生產力工具

Kutools for Excel - 幫助您脫穎而出

? Kutools AI 助手:基於智能執行生成代碼創建自訂公式分析數據並生成圖表調用 Kutools 函數…來徹底改變數據分析方式。
熱門功能查找、標記或識別重複值  |  刪除空行  |  合併列或單元格而不丟失數據  |  四捨五入無需公式 ...
超級 VLookup多條件  |  多值  |  跨多工作表  |  模糊查找...
高級下拉列表簡易下拉列表  |  依賴下拉列表  |  多選下拉列表...
列管理器添加特定數量的列  |  移動列  |  切換隱藏列的可見狀態  比較列以選擇相同和不同的單元格 ...
特色功能網格聚焦  |  設計檢視  |  增強編輯欄  |  工作簿與工作表管理器 | 資源庫(自動文本)  |  日期提取器  |  合併資料  |  加密/解密儲存格  |  按清單發送電子郵件  |  超級篩選  |  特殊篩選(篩選粗體/斜體/刪除線...) ...
頂級 15 種工具集12 個文字工具添加文本刪除特定字符 ...)  |  50+ 圖表 類型甘特圖 ...)  |  40+ 實用 公式基於生日計算年齡 ...)  |  19 個插入工具插入QR碼從路徑插入圖片 ...)  |  12 個轉換工具金額轉大寫匯率轉換 ...)  |  7 個合併與分割工具高級合併行分割Excel單元格 ...)  |  ... 還有更多

Kutools for Excel 擁有超過 300 種功能,確保您需要的功能只需點擊一下即可實現...


Office Tab - 啟用 Microsoft Office(包括 Excel)中的分頁閱讀和編輯功能

  • 一秒鐘內在數十個打開的文檔之間切換!
  • 每天為您減少數百次鼠標點擊,告別滑鼠手。
  • 當查看和編輯多個文檔時,您的工作效率提高 50%。
  • 為 Office(包括 Excel)帶來高效的分頁功能,就像 Chrome、Edge 和 Firefox 一樣。