11. Pivot Tables and Charts The Pivot Table in Excel is an interactive worksheet that allows you to summarize large amounts of information. The graphical representation of the Pivot Table is a Pivot Chart.
12. Excel Data List Files In the Excel files suitable for Pivot Table analysis, columns are considered fields, column headings are field names and rows are records. The file must not contain blank columns or rows.
13. Name the Data Range Highlight the data list. Then enter a name for the range in the Range Name box.
14. Create Pivot Table Place cursor in data range Choose Pivot Table from Data menu
15. Pivot Table: Step 1 of 3 Select the data source: Excel list Select the desired result
16. Pivot Table: Step 2 of 3 If a data range has been defined, the range will automatically be displayed
17. Pivot Table: Step 3 of 3 Choose pivot table destination Click the Layout Button
18. Pivot Table Layout Drag the field buttons . . . . . . to the Pivot Table diagram
19. Sample Pivot Table The data list fields are “pivoted” around the “core data”, gross sales, providing different “views” of the data.
20. Change Table Layout View > Toolbars > Pivot Table Pivot Chart Wizard Or, drag field names to create new layout
36. Pivot Table or Chart in Word In Excel, highlight and copy the Pivot Table In Word, click Paste Special. Highlight Microsoft Excel Worksheet Object and Paste Link.
38. Format Cells Highlight cells and click the format tool bar buttons to format cells. For more options, click Format > Cells
39. Autoformat Highlight the desired cells. Then click Format > Autoformat to apply a pre-designed style.
40. Conditional Formats Set cell value criteria with desired formats. Above, all cells with values between 40 and 100 will display in a yellow cell with bold font.
Hinweis der Redaktion
Custom Lists Open a new file Enter dates (Jan 1998) in column 1, row 5 Enter numbers in column 2 row 1; first 1 and copy across row (result: all 1’s) Enter number interval in column 2 & 3 row 2; then copy across Do the same with interval of 5 (start 0 and 5) Do the same with a decimal (1.1 and 1.2) Open RawData File in Excel Dec-98 13" Televisions $ 46 10 West Dec-98 CD Players $ 40 20 East Dec-98 CD Players $ 60 30 West Dec-98 800 MHz Computers $ 25 13 North Hand enter one line Use a data form to complete the rest
In days of e-mail attachments, you may receive files that are not already in Excel format, but which you need to “read” into Excel. Show on the File> Open dialog box, the File Types which can be imported Show a comma-delimited file: Budget Data Comma Delimited Save as Text only with line breaks Open in Excel (Note must close file in word first, or there will be an error) Show Word file with a table: RawData in Table Convert Table to Text Save as Text only with line breaks Import into Excel (Note must close file in word first, or there will be an error)
WORLD 1960 Sorting: Do several sorts; one level, two levels, three levels Filtering: for what-if operations: MAKE SURE A1 IS HIGHLIGHTED all regions =4 life expectancy =60 go back to “all” on life exp.; to do another filter >60 do several more to get rid of all filters: Data . . . Filter . . . Turn off autofilter Subtotals: Sort by region first: now in a group count number in each region ave life exp by region ave pop by region at each subtotal: remove all; or leave in by region show expand and collapse by region Some options: remove current and replace by new subtotals; put each group on a different page; summary below data Remove all - to go back to original
Open Canisius Electronics Name the Data Range because: Excel recognizes the data range for the pivot table updates can be made
Column: Product Row: Region Data: Gross Sales (Sum of)
Note: created in new sheet Show: Choosing only some products vs. all Choosing only some regions vs. all Drop Date in Page Field Choosing a particular date vs. All Show changing “statistic” to show: sum of sales vs. Average sales
Show multi field columns and rows: put region in column put date in rows Then show “putting them back”: drag field to Pivot Toolbar
Create a chart
Note: created in new worksheet Then “pivot” All as in Pivot Table Show putting date in page field Alter legend Alter axis Alter Value calculated
Are you losing detail? No, you can “drill down” to see the detail on which the summary is based. Click twice in the desired cell Note: the detail goes on a new worksheet; you can return to the pivot table Note: the database, or data mining terminology
Change jan 98 TV gross sales to 2025, number sold to 205 Return to Pivot table; position cursor; refresh data Add new data: it’s included in the range – one of the reasons we named it! But it will have to be re-sorted before we can refresh the pivot table data>sort> date, product Then refresh Pivot table
Data in Multiple Worksheets to be compared Example: separate budget sheets for each product compare over date range
User can create the “page field” names
To see each product separately, choose from the “Page Field” drop down list.
This can be done on the Pivot Table itself
Move Quarter field up to page field line Double click on it to rename to “Quarters” Show how to choose quarters and display data
Pivot Table formatting works the same as regular worksheet formatting Choose Toolbar buttons, or, for more options, click Format > Cells
Click one cell in the pivot table and then click format report from Pivot table toolbar for some autoformats Or highlight the whole Pivot table, click Format > Autoformat and apply a predesigned format