This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
help-wiki:making_a_pivot_table [2023/08/31 09:54] cds4byu created |
help-wiki:making_a_pivot_table [2023/09/01 09:54] (current) cds4byu |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====Making a Pivot Table===== | =====Making a Pivot Table===== | ||
- | This article | + | Pivot tables are used in excel to summarize data. If there is a list of data containing multiple fields, and you want to display it with one of the fields as a row label, and another of the fields as a column label, you need a pivot table. |
+ | |||
+ | -Open the csv file in Excel | ||
+ | -Save the file as an xlsx file. This is necessary if you want to use advanced pivot table features. | ||
+ | -Click somewhere in the data list in the file. From the Insert menu, select Table. | ||
+ | -From the Insert menu, select Pivot Table. | ||
+ | -The new sheet in which the Pivot Table is created will become the active sheet. | ||
+ | -If the data to be placed in the Values area is numeric, click on the name of the field and drag it to the Values window. | ||
+ | -If the data to be placed in the Values area is text (like NetID), you will need to create a new Measure for that data, as follows: | ||
+ | -Right-click on Table 1 in the field list, and select Add Measure{{ : | ||
+ | -When the Measure window pops up, type in a measure name (List of NetIDs in this example; you can make it be whatever you want). | ||
+ | -Click OK on the Measure window | ||
+ | -Now, go to the Pivot Table Fields list, and you should have a new field to choose from. Select the checkbox for the field, and it will go into the Values area.{{ : | ||
+ | -Turn off the row and column totals by selecting Pivot Table, Options, then the Totals & Filters tab, and clearing the Show grand totals for rows and Show grand totals for columns checkboxes. | ||
+ | |||
+ | That should do it. You now have a pivot table. | ||