Excel Pivot Table practical operation, only six steps can be done!

This article describes the operation of a conventional data analysis in two ways, well known in the PivotTable.

PivotTable

01. Data Entry

To ensure that no air header row, no duplicate rows header, no data merge cells, and no illegal digital format date list.

  • If you have a title list is empty, you can not make the data through the view table, you need to add the title to complete.

  • If the presence of the same title, PivotTable number is automatically added to distinguish, so try not to present the same column headings.

  • If there merge cells, inter particularly, other values are treated as null cells first. So try to cancel merged cells, fill complete.

  • If there is an illegal date, pivot tables generated can not be a combination of screening and the year, month, day format by date format and make conversions into Excel recognized date format.

  • If there digital text, the request will not be properly PivotTable and. The need to convert the text into a digital value before you can perform aggregate statistics.

02. Create a PivotTable

1) Select the data you want to summarize the contents of

2) Click Insert

3) Insert PivotTable

4) In the pop-up menu in the PivotTable, on the General tab, you can manually change the data to be aggregated content, you can choose to create a pivot table in the current table or create a new table

5) Click OK, it generates an empty PivotTable

03. PivotTable structure

1) Field List
detail all of the first row of the data table are displayed in the title "field list", corresponding to the data source PivotTable.


By
"PivotTable analysis" -> "field list" -> Open Pivot Table Builder

2) field region. Drag the field to be displayed in the respective regions, it can be summarized according to the dynamic region.

Display area 3) PivotTable. Combined into a PivotTable is displayed here.

  • Filter, the filter may filter the data specified condition summary statistics.

  • Row label, the field will be displayed in a region vertically aligned.

  • Column label, the field will be displayed in the region around the arrangement.

  •   Value, statistical data row to be placed in the column on the line, a variety of alternative ways summary statistics, such as counts, sums, mean the like.

04. Summary Statistics

1) Select the summary statistics to the row dragged into the "Pivot Table Builder" line area

2) Select the Value column for the summary statistics, dragged into the "Pivot Table Builder" value zone

3) Select an aggregated way, there are conventional sum, count, average, maximum / minimum value etc.

The default number is the sum according to the summary, according to the text summary count. By drawing exclamation region clicks to bring up the "Field Settings" menu, or by right-clicking "summary column" menu to bring up.

4) to select the display mode of the summary field, a general default line, other percentages, etc., are commonly used summary

05. structure and layout

To select summary statistics column, dragged into the "Pivot Table Builder" line area

1) Select the PivotTable, found at the top " Design" -> "Report Layout"

2) Select the desired layout

  • Compression-type layout, the default layout.

  • Outline-style view, according to the column headings in columns, each summary is displayed at the top of

  • Table view, by title in columns, each of the summary appears below

  • Repeat all items tab, you can fill the same content.

  • Not repeat all project labels, to cancel the repeat, the last step is the inverse operation.

3) subtotals option

  • Does not display subtotals

  • Show all subtotals at the bottom of the group

  • Show all subtotals in the top group

4) Total Options

  • Disable rows and columns

  • Enabling rows and columns

  • Only rowenable

  • Enable only column

5) blank line options

  • Insert a blank line after each item

  • Delete the blank line after each item

6) PivotTable Options


Display, expand / collapse button control, the field headings screening, alternative error value / null, printing options layout, the column automatically (selected by default, to be removed when the modulation format), retained cell formatting switch updates Merge Cells control


Data, control data refresh

The figure for the report layout table view does not display subtotals, totals disabled, merge cells

06. Advanced Features

1) slicer. In the Data Source field, you want to see data filtered through a screening summary fields, you can use the dynamic interaction.


调出方法为:
「数据透视表」—>「插入切片器」

2)创建计算字段。当原始数据表中没有某些统计时,需要计算产生一列数据,可通过「数据透视表」—>「字段、项目和集」创建计算字段。然后进行汇总统计


如下图中的计算字段:有效问题占比,按照如图所示进行设置,拖进透视表生成器的「值栏目」中即可

小技巧

  • 如何批量打开 Excel 文件一次选中多个,然后按「回车键」即可。

  • 新建工作薄快捷方式:Ctrl + N

  • 选取某列全部内容:选取第一行,按住 shift 键不松,双击选中的单元格下边线(鼠标放到下边线时,光标「指针」会变成「小手」)

  • 查找重复行:选取数据区域—>开始—>条件格式—>突出显示单元格规则—>重复值;使用筛选器可精准查找;( 常用的还有 数据—>删除重复项 )

  • 快捷筛选:选取要筛选的值—>右键—>筛选—>按单元格值筛选(多种筛选方式及排序方式)

  • 输入日期:输入 6-22 即可自动补全年份;「Ctrl + ;」 默认为当前日期。

  • 插入多行:选取多行,插入

  • 删除空行:选取列—> Ctrl + G —>定位—>定位条件—>空值—>删除 ;或者使用筛选器,筛选空值,然后批量删除

End.

来源:知乎

零基础学 Python(送价值109的视频课),来这里
 只需7天时间,跨进Python编程大门,已有3800+加入

【基础】0基础入门python,24小时有人快速解答问题;
【提高】40多个项目实战,老手可以从真实场景中学习python;
【直播】不定期直播项目案例讲解,手把手教你如何分析项目;
【分享】优质python学习资料分享,让你在最短时间获得有价值的学习资源;圈友优质资料或学习分享,会不时给予赞赏支持,希望每个优质圈友既能赚回加入费用,也能快速成长,并享受分享与帮助他人的乐趣。
【人脉】收获一群志同道合的朋友,并且都是python从业者
【价格】本着布道思想,只需 69元 加入一个能保证学习效果的良心圈子。
【赠予】价值109元 0基础入门在线课程,免费送给圈友们,供巩固和系统化复习

发布了88 篇原创文章 · 获赞 18 · 访问量 11万+

Guess you like

Origin blog.csdn.net/lovenankai/article/details/104421426