提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何将总标签添加到Excel中的堆积柱形图?

对于堆积条形图,您可以轻松地将数据标签添加到堆积条形图的各个组件。 但有时您需要在堆积条形图的顶部显示浮动总值,以便使图表更易理解和易读。 基本图表功能不允许为单个组件的总和添加总数据标签。 但是,您可以通过以下过程解决此问题。

在Excel中将总标签添加到堆积柱状图中

轻松地将多个工作表/工作簿/ CSV文件组合成一个工作表/工作簿

将来自不同工作簿的几十张纸合并到一张纸上可能会很麻烦。 但用Excel的Kutools 合并(工作表和工作簿) 实用程序,只需点击几下即可完成! 全功能免费试用60天!
广告结合床单书1

Office选项卡在Office中启用选项卡式编辑和浏览,使您的工作更轻松......
Kutools for Excel - 最佳办公生产力工具将解决您的大部分Excel问题
  • 重用任何东西: 将最常用或最复杂的公式,图表和其他任何内容添加到您的收藏夹中,并在将来快速重复使用它们。
  • 超过20文本功能: 从文本字符串中提取数字; 提取或删除部分文本; 将数字和货币转换为英语单词...
  • 合并工具:多个工作簿和表格合二为一; 合并多个单元格/行/列而不丢失数据; 合并重复行和总和...
  • 拆分工具:根据价值将数据拆分为多个表格; 一个工作簿到多个Excel,PDF或CSV文件; 一列到多列......
  • 粘贴跳过 隐藏/过滤行; 数和总和 按背景颜色; 创建邮件列表和 通过Cell的价值发送电子邮件...
  • 超级过滤器: 创建高级过滤方案并应用于任何工作表; 排序 按周,日,频率等; 筛选 通过大胆,公式,评论......
  • 超过300强大的功能; 适用于Office 2007-2019和365; 支持所有语言; 在公司轻松部署; 全功能60天免费试用。

箭头蓝色右泡 在Excel中将总标签添加到堆积柱状图中

假设你有下面的表格数据。
DOC-附加总labels1

1。 首先,您可以通过选择要创建图表的数据并单击来创建堆积式柱状图 插页 > ,下 2-D列 选择堆叠柱。 查看屏幕截图:
DOC-附加总labels2
现在已经建立了一个堆叠柱形图。 看截图:
DOC-附加总labels3

2。 然后右键点击 总系列 并选择 更改系列图表类型.
DOC-附加总labels4

3。 在 更改图表类型 对话框中,选择一个简单折线图作为新的图表类型,然后单击 OK 按钮。
DOC-附加总labels5
和你的 总系列 已更改为折线图类型。 查看屏幕截图:
DOC-附加总labels6

4。 选择并右键单击新的折线图并选择 添加数据标签。 看截图:
DOC-附加总labels7
现在每个标签都已添加到相应的数据点。 看截图:
DOC-附加总labels8

5。 选择并右键单击新的数据标签,然后选择 格式数据标签 从上下文菜单中,看截图:
DOC-附加总labels9

6。 在 格式数据标签 对话框,单击 标签选项 从左侧窗格中,并检查 以上 选项下 标签位置。 看截图:
DOC-附加总labels10

7。 然后点击 关闭 按钮,总标签已悬浮在堆积柱状图的顶部,并且还可以粗体显示标签。
DOC-附加总labels11

8。 然后,您需要使折线图不可见,请右键单击该线并选择 格式化数据系列。 看截图:
DOC-附加总labels12

9。 在 格式化数据系列 对话框中,单击 彩色线 从左侧窗格中,并检查 没有线路 选项。 看截图:
DOC-附加总labels13

10。 你会得到如下屏幕截图的结果:
DOC-附加总labels14
最后你可以删除 总计 图例中的数据系列标签。 查看屏幕截图:
DOC-附加总labels15
DOC-附加总labels16


演示:将总标签添加到Excel中的堆积柱状图中

在这个视频中, Kutools Kutools Plus 选项卡添加 Kutools for Excel。 如果需要,请点击 60天免费试用,不受限制!

在Excel工作表的每个页面中轻松地对一个或多个列进行求和

Kutools为Excel的 数据分页统计实用程序可以帮助您总结每个页面中的一个或多个列,并在每个页面底部添加计算结果,如下面的屏幕截图所示。 全功能免费试用60天!
广告页面小计总计1


相关文章:

如何在Excel中添加水平的平均线图表?

如何在Excel中添加图表标题?

如何在Excel中添加和删除错误栏?


Kutools for Excel - 最佳办公生产力工具提高80%的生产力

  • 重用: 快速插入 复杂的公式,图表 以及你以前用过的任何东西; 加密单元格 密码; 创建邮件列表 并发送电子邮件...
  • 超级方程式酒吧 (轻松编辑多行文字和公式); 阅读布局 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不丢失数据; 分裂细胞含量; 组合重复的行/列...防止重复的细胞; 比较范围...
  • 选择复制或唯一 行; 选择空行 (所有细胞都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择......
  • 精确复制 多个单元格而不更改公式参考; 自动创建参考 多张表; 插入项目符号,复选框等等......
  • 提取文本,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级过滤器 (将过滤方案保存并应用到其他工作表); 高级排序 按月/周/日,频率等; 特殊过滤器 用粗体,斜体......
  • 结合工作簿和工作表; 根据键列合并表; 将数据拆分为多个表格; 批量转换xls,xlsx和PDF...
  • 超过300强大的功能。 支持Office / Excel 2007-2019和365。 支持所有语言。 在您的企业或组织中轻松部署。 全功能60天免费试用。
kte tab 201905

Office选项卡为Office提供选项卡式界面,使您的工作更轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,Publisher,Access,Visio和Project。
  • 在同一窗口的新选项卡中打开并创建多个文档,而不是在新窗口中。
  • 通过50%提高您的工作效率,每天为您减少数百次鼠标点击!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Data Noob · 3 months ago
    Amazing Trick!
  • To post as a guest, your comment is unpublished.
    Bee · 6 months ago
    Every single time I touch the chart in any way, the label position of the total switches back to "Right" instead of "Above". Can't even copy/paste-as-picture, reverts back to right-position.

    Anyone else seen this issue and figured out how to fix it? (Excel 2016 on Win10)
    • To post as a guest, your comment is unpublished.
      kellytte · 4 months ago
      Hi Bee,
      Please make sure that you have chosen Above option in the Label Position section of the Format Data Labels dialog box in the Step 6.
  • To post as a guest, your comment is unpublished.
    Martijn · 7 months ago
    Thanks, couldn't come up with this myself!
  • To post as a guest, your comment is unpublished.
    Karen · 8 months ago
    Thank you, exactly what I was looking for!
  • To post as a guest, your comment is unpublished.
    audi · 1 years ago
    kalau saya mau membuat data seperti nama bulan total. jadi penjelasannya mengenai banyak org yg mendaftar pada tiap bulan. namn ditambahkan tanggal saat org masuk utk daftar. bagaimana ya
  • To post as a guest, your comment is unpublished.
    george · 1 years ago
    Thanks v much for this!
  • To post as a guest, your comment is unpublished.
    John · 2 years ago
    All you need to do to add totals to a stacked bar graph or stacked 3D bar graph is create a text box and in it, refer back to the cell you want to show. Assume you have values of 50, 120 and 30 in three cells A1, A2 and A3 and a total of 200 in A4, all in sheet 1, and you then create a stacked bar chart in Sheet 2. In Sheet 2 you would insert a text box anywhere on the worksheet. In that text box you would type =Sheet1!$A$4 Move it to the top of the bar in the chart and voila, all done. The benefit of this method is that it also works with a 3D stacked bar chart.
    • To post as a guest, your comment is unpublished.
      Jeff · 1 years ago
      In my experience, when resizing the chart for presentation(powerpoint) the labels do not reposition correctly due to not being tied to the columns.
  • To post as a guest, your comment is unpublished.
    Corey · 4 years ago
    This is a great idea, but doesn't work with some negative data points. Because the line goes through the middle of the bars the total data label gets obscured, any ideas?
  • To post as a guest, your comment is unpublished.
    Noman Ali · 4 years ago
    very mindful technique, exactly I was looking for
  • To post as a guest, your comment is unpublished.
    Meliss · 4 years ago
    The line chart method seemed like a great idea, but didn't work for me. Excel 2010 would not allow me to change the chart type for just one of the series. Even though I selected only the total series, all series would change to a line type.
  • To post as a guest, your comment is unpublished.
    Karthik · 4 years ago
    Thanks a lot. Very clear information with screenshots.
  • To post as a guest, your comment is unpublished.
    ABD200 · 4 years ago
    Hello i need some help, very urgent
    i have a table like this one or any other different data
    1 | 2 | 3 | ...........|12| Total
    2012| 2 | 4 | 5 |...............|..
    2013| 9 | 8 | 6 |...............|..

    How can i draw a column chart containing the results , with in the end showing the Total different Axis.
    plus i need an automatic line in the graph separating the all the column from the Total column.
    Thanks in advance
  • To post as a guest, your comment is unpublished.
    Sabrina · 4 years ago
    This was so very helpful!!!
  • To post as a guest, your comment is unpublished.
    Katalin · 5 years ago
    Exactly what I needed - nice and concise explanation too!
    Thank you :)
  • To post as a guest, your comment is unpublished.
    Leo Milla · 5 years ago
    Just what i was looking for!!! Thanks :lol:
  • To post as a guest, your comment is unpublished.
    Zulfiqur · 5 years ago
    Awesome explanation..really helpful
  • To post as a guest, your comment is unpublished.
    V Kottapalli · 5 years ago
    Great post. Exactly what I was looking for. Thank you!!
  • To post as a guest, your comment is unpublished.
    Prakher · 5 years ago
    Amazing explanation. This is exactly what I was looking for.

    Thanks a lot.
  • To post as a guest, your comment is unpublished.
    Arun · 5 years ago
    Thank you so much. That was cool.
  • To post as a guest, your comment is unpublished.
    rachel · 5 years ago
    Best excel explanation ive come across - thanks!