Pivot Tables

4,374 views
4,175 views

Published on

Published in: Technology
2 Comments
2 Likes
Statistics
Notes
No Downloads
Views
Total views
4,374
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
8
Comments
2
Likes
2
Embeds 0
No embeds

No notes for slide
  • 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
  • Pivot Tables

    1. 1. Data Handling in EXCEL C.V. Suresh Babu
    2. 2. Topics <ul><li>Data Handling Techniques </li></ul><ul><ul><li>Entering Data </li></ul></ul><ul><ul><li>Importing Data </li></ul></ul><ul><li>Excel’s Database Capabilities </li></ul><ul><ul><li>Sort </li></ul></ul><ul><ul><li>Filter </li></ul></ul><ul><ul><li>Subtotal </li></ul></ul><ul><li>Pivot Tables and Charts </li></ul>
    3. 3. Manual Data Entry <ul><li>Press TAB to enter data horizontally: </li></ul><ul><li>Press ENTER to enter data vertically: </li></ul>
    4. 4. Custom Lists <ul><ul><li>Dates </li></ul></ul><ul><ul><li>Numeric Intervals </li></ul></ul><ul><ul><li>Lists </li></ul></ul>
    5. 5. Data Forms To enter data in a form view, click Data>Form
    6. 6. Import Data Import a tab or comma-delimited file that has been saved as “Text Only with Line Breaks”
    7. 7. Excel’s Database Capabilities <ul><li>Sorting </li></ul><ul><li>Filtering </li></ul><ul><li>Working with Subtotals </li></ul>Tap the database functions of Excel Click Data . . . Sort , Data . . . Filter , or Data . . .Subgroup
    8. 8. Sorting an Excel Data List Click Data>Sort and choose column to sort by
    9. 9. Filtering an Excel Data List Click Data>Autofilter Choose Column and specifications to filter on
    10. 10. Subtotals and Totals Click Data> Subtotals Choose parameters for subtotals
    11. 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. 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. 13. Name the Data Range Highlight the data list. Then enter a name for the range in the Range Name box.
    14. 14. Create Pivot Table Place cursor in data range Choose Pivot Table from Data menu
    15. 15. Pivot Table: Step 1 of 3 Select the data source: Excel list Select the desired result
    16. 16. Pivot Table: Step 2 of 3 If a data range has been defined, the range will automatically be displayed
    17. 17. Pivot Table: Step 3 of 3 Choose pivot table destination Click the Layout Button
    18. 18. Pivot Table Layout Drag the field buttons . . . . . . to the Pivot Table diagram
    19. 19. Sample Pivot Table The data list fields are “pivoted” around the “core data”, gross sales, providing different “views” of the data.
    20. 20. Change Table Layout View > Toolbars > Pivot Table Pivot Chart Wizard Or, drag field names to create new layout
    21. 21. Create a Pivot Chart View > Toolbars > Pivot Table Pivot Chart Button
    22. 22. Sample Pivot Chart
    23. 23. Pivot Table Capabilities “Drill Down” for Detail Automatic Updates Multiple Data Views
    24. 24. “Drill Down” Double click in cell of Pivot Table Results in Detail from Raw Data:
    25. 25. Updates to Core Data When core data is updated . . . . . . use Pivot Table Toolbar to Refresh table
    26. 26. Multiple Consolidation of Ranges Compare Similar Data in Multiple Worksheets
    27. 27. Multiple Consolidation: Step 1 of 3 Select the data source: Multiple Ranges Select the desired result
    28. 28. Multiple Consolidation: Step 2a of 3 Name the page fields, or let Excel assign a default name.
    29. 29. Multiple Consolidation: Step 2b of 3 Highlight ranges, one at a time and add Name the page fields here
    30. 30. Multiple Consolidation: Step 3 of 3
    31. 31. Multiple Consolidation: Layout Drag the field buttons . . . . . . to the Pivot Table diagram
    32. 32. Multiple Consolidation: Pivot Table This Pivot Table consolidates data from the worksheets of all designated products
    33. 33. Consolidate Grouped Data
    34. 34. Grouping Data Fields <ul><li>Highlight Jan, Feb Mar labels </li></ul><ul><li>Data > Group and Outline > Group </li></ul><ul><li>Enter Quarter Label </li></ul>
    35. 35. Data Grouped by Quarter
    36. 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.
    37. 37. Formatting Options Format Cells Autoformat Conditional Formats
    38. 38. Format Cells Highlight cells and click the format tool bar buttons to format cells. For more options, click Format > Cells
    39. 39. Autoformat Highlight the desired cells. Then click Format > Autoformat to apply a pre-designed style.
    40. 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.

    ×