创建柱状图从数据透视表

huangapple go评论62阅读模式
英文:

Create bar graph from Pivot Table

问题

我在Excel中有一列数据,像这样:
创建柱状图从数据透视表

现在我想创建一个柱状图,显示数据在不同范围内的计数,比如范围 1-2 2-3 3-4 4-5 中的数据计数。

> 我在Excel中是新手,完全被卡住了。有人可以指导我该怎么做才能达到这个结果吗?

英文:

I've column of data in excel like this;
创建柱状图从数据透视表

Now I want to create bar graph with count of data in ranges. Like count of data in range 1-2 2-3 3-4 4-5.

> I'm a newbie in excel and totally stuck here. Anyone guide me what
> should I do to achieve result?

答案1

得分: 1

一种选择是使用捆绑在Excel中的Analysis Tool-Pak附加组件的直方图功能。

MSFT所述,适用于Excel版本2007-2013(但仍适用于更高版本):

  1. 确保已加载Analysis ToolPak。
  2. 在一个列中添加输入数据(您已经有了)以及另一个列中的区间。
  3. 单击数据 > 数据分析
  4. 单击直方图 > 确定
  5. 输入下,使用输入范围框选择包含数据的单元格和区间范围框选择包含区间的单元格。
  6. 单击生成图表
英文:

One option is to use the Histogram functionality of the Analysis Tool-Pak add-in that comes bundled with Excel.

As referenced by MSFT for Excel versions 2007-2013 (but still available for later versions):

  1. Make sure you have loaded the Analysis ToolPak.
  2. Add the input data in one column (which you already have) and your bins in another.
  3. Click Data > Data Analysis.
  4. Click Histogram > OK.
  5. Under Input, use the Input Range box for your cells with data and the Bin Range box for your cells with the bins.
  6. Click Chart Ouput.

huangapple
  • 本文由 发表于 2020年1月3日 21:36:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/59579565.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定