Skills of PivotTable in Excel

Program code garden posting address: Tips for using pivot tables in Excel-program code garden novels, Java, HTML, Java gadgets, program code gardens, http://www.byqws.com/ , the use of pivot tables in Excel Tips http://www.byqws.com/blog/1064.html

Problem Description:

At work, after receiving the store sales (POS) data from the supermarket, by using the vlookup function learned earlier, the brand, category data and other information have been processed, and the sales amount of the brand and category should be summarized, and each brand , The manual summation of categories is time-consuming and labor-intensive, and the efficiency is low and error-prone.

Solution:

Pivot tables are often used in work, and their functions are also very powerful. The following describes how to use the PivotTable.

Step 1: Select all the processed data, and select "Insert" -> "Pivot Table" in the menu bar;

Step 2: In the pop-up window, select "New Worksheet" -> "OK";

Step 3: Drag the fields that need to be counted into the row label, such as: brand, category; drag the summation field into the value label, such as: quantity subtotal, amount subtotal;

Note: If the sum field is dragged to the value label and the display is not "Sum Item", you need to click this field to select "Value Field Settings", select "Sum" in the pop-up window, and click OK.

Step 4: PivotTable design, select "Design" -> "Report Layout" -> "Display in Table Format" -> "Repeat All Item Labels" -> "Subtotal" -> "Do not display classification" in the menu bar summary";

 

Step 5: Copy the result content of the pivot table, create a new sheet, right-click and selectively paste as a value, and draw a wireframe on the table data.

Program code garden posting address: Tips for using pivot tables in Excel-program code garden novels, Java, HTML, Java gadgets, program code gardens, http://www.byqws.com/ , the use of pivot tables in Excel Tips http://www.byqws.com/blog/1064.html 

Guess you like

Origin blog.csdn.net/qq_41674785/article/details/130828140