how to create a frequency distribution

原创 admin 2021-01-08 23:26 

Did you know that you can use pivot tables to easily create a frequency distribution in Excel? You can also use the Analysis Toolpak to create a histogram.

Remember, our data set consists of 213 records and 6 fields. Order ID, Product, Category, Amount, Date and Country.

Pivot Table Data in Excel

First, insert a pivot table. Next, drag the following fields to the different areas.

1. Amount field to the Rows area.

2. Amount field (or any other field) to the Values area.

PivotTable Fields Pane

3. Click any cell inside the Sum of Amount column.

4. Right click and click on Value Field Settings.

Value Field Settings

5. Choose Count and click OK.

Choose Count

6. Next, click any cell inside the column with Row Labels.

7. Right click and click on Group.

Group

8. Enter 1 for Starting at, 10000 for Ending at, and 1000 for By.

9. Click OK.

Grouping Options

Result:

Frequency Distribution in Excel

To easily compare these numbers, create a pivot chart.

10. Click any cell inside the pivot table.

11. On the Analyze tab, in the Tools group, click PivotChart.

Click PivotChart

The Insert Chart dialog box appears.

12. Click OK.

Result:

Pivot Chart in Excel

版权声明: 本文为4find – 解决程序猿问题原创文章,欢迎转载。转载请务必注明出处! (参考格式:本文转自4find – 解决程序猿问题,原文地址:http://4find.cc/archives/1734

发表评论


表情