Download presentation
Presentation is loading. Please wait.
1
Microsoft® Office Excel® 2007 Training
[Notes to trainer: For detailed help in customizing this template, see the very last slide. Also, look for additional lesson text in the notes pane of some slides. Adobe Flash animations: This template contains Flash animations. These will play in PowerPoint 2000 and later. However: If you want to save this template in PowerPoint 2007, save it in the earlier PowerPoint file format: PowerPoint Presentation (*.ppt) or PowerPoint Template (*.pot) (you’ll see the file types in the Save As dialog box, next to Save as type). Warning: If you save it in a PowerPoint 2007 file format, such as PowerPoint Presentation (*.pptx) or PowerPoint Template (*.potx), the animations won’t be retained in the saved file. Also: Because this presentation contains Flash animations, saving the template may cause a warning message to appear regarding personal information. Unless you add information to the properties of the Flash file itself, this warning does not apply to this presentation. Click OK on the message.] Get started with PivotTable® reports
2
Get started with PivotTable reports
Course contents Overview: Make sense out of data Lesson: Make your data work for you The lesson includes a list of suggested tasks and a set of test questions. Get started with PivotTable reports
3
Overview: Make sense out of data
Your worksheet has lots of data, but do you know what those numbers mean? Does the data answer your questions? PivotTable reports offer a fast and powerful way to analyze numerical data, look at the same data in different ways, and answer questions about it. In this short course you’ll learn how PivotTable reports work and find out how to create one in Excel 2007. With PivotTable reports, you can see who sold the most and where; which quarters were the most profitable; and which product sold best—in just a few mouse clicks. Get started with PivotTable reports
4
Get started with PivotTable reports
Course goal Use a PivotTable report to analyze and summarize your data. Get started with PivotTable reports
5
Make your data work for you
Lesson Make your data work for you
6
Make your data work for you
Imagine an Excel worksheet of sales figures. It lays out thousands of rows of data about salespeople in two countries along with how much they sold on individual days. It’s a lot of data to deal with—listed in row after row and divided into multiple columns. How can you get information out of the worksheet and make sense out of all of the data? Use PivotTable reports. They turn the data into small, concise reports that tell you exactly what you need to know. Put another way, PivotTable reports can turn a mob of data into a marching band. For example, who sold the most overall? Who sold the most per quarter or per year? Which country has the most sales? You can get answers to all these questions with PivotTable reports. Get started with PivotTable reports
7
Review your source data
Before you start to work with a PivotTable report, take a look at your Excel worksheet to make sure it’s well prepared for the report. When you create a PivotTable report, each column of source data becomes a field that you can use in the report. Fields summarize multiple rows of information from the source data. Get started with PivotTable reports
8
Review your source data
The names of the fields for the report come from the column titles in your source data. So be sure you have names for each column across the first row of the worksheet in the source data. The remaining rows below the headings should contain similar items in the same column. For example, text should be in one column, numbers in another column, and dates in another column. In other words, a column that contains numbers should not contain text, and so on. In the picture here, the column titles Country, Salesperson, Order Amount, Order Date, and OrderID will become field names. When you create a report, you’ll know, for example, that the Salesperson field represents the Salesperson data from the worksheet. Get started with PivotTable reports
9
Review your source data
Finally, there should be no empty columns within the data that you’re using for the PivotTable report. It’s also best if there are no empty rows. For example, blank rows that are used to separate one block of data from another should be removed. Note: You can also use data from external sources, which is not covered in this course. More information about data sources is in the Quick Reference Card that’s linked to at the end of this course. Get started with PivotTable reports
10
Get started with PivotTable reports
Here’s how to get started with a PivotTable report. You use the Create PivotTable dialog box, shown here. When the data is ready, click anywhere in the data. On the Insert tab, in the Tables group, click PivotTable, and then click PivotTable again. The Create PivotTable dialog box opens. Note on step 1: Clicking anywhere in the data will include all the worksheet data in the report. If you only want to include part of your worksheet data in the report, just select the data you want to use. Get started with PivotTable reports
11
Get started with PivotTable reports
Here’s how to get started with a PivotTable report. You use the Create PivotTable dialog box, shown here. The Select a table or range option is already selected for you. The Table/Range box shows the range of the selected data, which you can change if you want. New Worksheet is also selected for you as the place where the report will be placed. Click Existing Worksheet if you want the report placed in the same worksheet as the data. Click OK. Get started with PivotTable reports
12
PivotTable report basics
This is what you see in the new worksheet after you close the Create PivotTable dialog box. On one side is the layout area ready for the PivotTable report. On the other side is the PivotTable Field List. This list shows the column titles from the source data. As mentioned earlier, each title is a field: Country, Salesperson, and so on. Get started with PivotTable reports
13
PivotTable report basics
You create the PivotTable report by moving any of the fields shown in the PivotTable Field List to the layout area. To do this, either select the check box next to the field name, or right-click a field name and then select a location to move the field to. Tips: If you’ve worked with PivotTable reports before, you may wonder if you can still drag fields to build a report. You can, and you’ll see how at the end of the lesson. If you click outside the layout area of a PivotTable report, the PivotTable Field List goes away. To get the field list back, click inside the PivotTable layout area or report. Get started with PivotTable reports
14
Build a PivotTable report
Now you’re ready to build the PivotTable report. The fields you select for the report depend on what you want to know. To start: How much has each person sold? Animation: Right-click, and click Play. The animation shows the process of getting your fields into the layout area. Tips: You don’t have to use all the fields on the field list to build a report. Although Excel places each field in a default area of the layout, you can move a field to another area if you want to—for example, if you want a field to be in the column area instead of the row area. [Note to trainer: To play the animation when viewing the slide show, right-click the animation, and then click Play. After playing the file once, you may have to click Rewind (after right-clicking) and then click Play. If you’re clicking the slide to make text enter or to advance to the next slide but nothing’s happening, click away from the animation. Sometimes you have to click twice. If you have problems viewing the animation, see the notes for the last slide in this presentation about playing an Adobe Flash animation. If you still have problems viewing the animation, the slide that follows this one is a duplicate slide with static art. Delete either the current slide or the next slide before showing the presentation.] To get this answer, you need data about the salespeople and their sales numbers. So in the PivotTable Field List, select the check boxes next to the Salesperson and Order Amount fields. Excel then places each field in a default area of the layout. Get started with PivotTable reports
15
Build a PivotTable report
Now you’re ready to build the PivotTable report. The fields you select for the report depend on what you want to know. To start: How much has each person sold? To get the answer, you need data about the salespeople and their sales numbers. Tips: You don’t have to use all the fields on the field list to build a report. Although Excel places each field in a default area of the layout, you can move a field to another area if you want to—for example, if you want a field to be in the column area instead of the row area. [Note to trainer: This slide is nearly identical to the preceding slide except that it has static art instead of an animation. Use this slide if you have problems viewing the animation. Delete either the current slide or the preceding slide before showing the presentation.] So in the PivotTable Field List, you’ll select the check boxes next to the Salesperson and Order Amount fields. Excel then places each field in a default area of the layout. Get started with PivotTable reports
16
Build a PivotTable report
The gray table at the illustration’s far left provides a conceptual view of how the report will automatically appear based on the fields you select. Here are details. The data in the Salesperson field (the salespeople’s names), which doesn’t contain numbers, is displayed as rows on the left side of the report. The data in the Order Amount field, which does contain numbers, correctly shows up in an area to the right. How about the column headings? The heading over the salesperson data will say “Row Labels” above the field. The heading over the order amounts will say “Sum of Order Amount. (The “Sum of” part of the heading will be there because Excel uses the Sum function to add up fields with numbers.) Get started with PivotTable reports
17
Build a PivotTable report
It doesn’t matter whether you select the check box next to the Salesperson field before or after the Order Amount field. Excel automatically puts them in the right place every time. Fields without numbers will land on the left, and fields with numbers will land on the right, regardless of the order in which you select them. Get started with PivotTable reports
18
Build a PivotTable report
That’s it. With just two mouse clicks, you can see at a glance how much each salesperson sold. And here are a couple of parting tips on the topic. First, it’s fine to stop with just one or two questions answered; the report doesn’t have to be complex to be useful. PivotTable reports can offer a fast way to get a simple answer. Next, don’t worry about building a report incorrectly. Excel makes it easy to try things out and see how data looks in different areas of the report. If a report isn’t how you want it at first, it doesn’t take long at all to lay out data another way, to move pieces around to your satisfaction, or even to start over again if you’d like. Get started with PivotTable reports
19
Get started with PivotTable reports
See sales by country Now you know how much each salesperson sold. But the source data lays out data about salespeople in two countries, Canada and the United States. So another question you might ask is: What are the sales amounts for each salesperson by country? To get the answer, you can add the Country field to the PivotTable report as a report filter. You use a report filter to focus on a subset of data in the report, often a product line, a time span, or a geographic region. Get started with PivotTable reports
20
Get started with PivotTable reports
See sales by country By using the Country field as a report filter, you can see a separate report for Canada or the United States, or you can see sales for both countries together. Animation: Right-click, and click Play. The animation also shows how to “take it from there”: After you click Add to Report Filter, the new Country report filter is added to the top of the report. The arrow by the Country field shows (All), and you see the data for both countries. To see just the data for either the Canada or the U.S., click the arrow and select either country. To see the data for both countries again, click the arrow and then click (All). Tip: To remove a field from a report, clear the check box beside the field name in the PivotTable Field List. To remove all the fields from the report so that you can start over, on the Ribbon, on the Options tab, in the Actions group, click the arrow on the Clear button, and then select Clear All. [Note to trainer: To play the animation when viewing the slide show, right-click the animation, and then click Play. After playing the file once, you may have to click Rewind (after right-clicking) and then click Play. If you’re clicking the slide to make text enter or to advance to the next slide but nothing’s happening, click away from the animation. Sometimes you have to click twice. If you have problems viewing the animation, see the notes for the last slide in this presentation about playing an Adobe Flash animation. If you still have problems viewing the animation, the slide that follows this one is a duplicate slide with static art. Delete either the current slide or the next slide before showing the presentation.] The animation shows how to add the Country field as a report filter. Right-click the Country field in the PivotTable Field List, click Add to Report Filter, and take it from there. Get started with PivotTable reports
21
Get started with PivotTable reports
See sales by country By using the Country field as a report filter, you can see a separate report for Canada or the United States, or you can see sales for both countries together. To do this, right-click the Country field in the PivotTable Field List, click Add to Report Filter, and then take it from there. The picture shows how to “take it from there”: After you click Add to Report Filter, the new Country report filter is added to the top of the report. The arrow by the Country field shows (All), and you see the data for both countries. To see just the data for either Canada or the United States, click the arrow and select either country. To see the data for both countries again, click the arrow and then click (All). Tip: To remove a field from a report, clear the check box beside the field name in the PivotTable Field List. To remove all the fields from the report so that you can start over, on the Ribbon, on the Options tab, in the Actions group, click the arrow on the Clear button, and then select Clear All. [Note to trainer: This slide is identical to the preceding slide except that it has static art instead of an animation. Use this slide if you have problems viewing the animation. Delete either the current slide or the preceding slide before showing the presentation.] Get started with PivotTable reports
22
Get started with PivotTable reports
See sales by date The original source data has a column of Order Date information, so there is an Order Date field on the PivotTable Field List. Animation: Right-click, and click Play. Here are details about the entire process shown in the animation. To add the Order Date field to your report: Select the check box next to the Order Date field to add the field to the report. The Order Date field is automatically added on the left, in row label orientation. That’s because the field does not contain numbers (dates may look like numbers, but they are formatted as dates, not numbers). Because the Order Date field is the second non-numerical field to be added to the report, it is nested within the Salesperson field, indented to the right. Now the report shows sales for each salesperson by individual date, but that’s a lot of data to view at one time. You can easily get this data into a more manageable view by grouping the daily data into months, quarters, or years. To group the dates: Click a date in the report. On the Options tab, in the Group group, click Group Field. In the Grouping dialog box, select Quarters, which seems like a good solution here, and then click OK. Now you see the sales data grouped into four quarters for each salesperson. [Note to trainer: To play the animation when viewing the slide show, right-click the animation, and then click Play. After playing the file once, you may have to click Rewind (after right-clicking) and then click Play. If you’re clicking the slide to make text enter or to advance to the next slide but nothing’s happening, click away from the animation. Sometimes you have to click twice. If you have problems viewing the animation, see the notes for the last slide in this presentation about playing an Adobe Flash animation. If you still have problems viewing the animation, the slide that follows this one is a duplicate slide with static art. Delete either the current slide or the next slide before showing the presentation.] This means you can find the sales by date for each salesperson. View the animation to see how you can add the Order Date field to your report and then group the date data to create a more manageable view. Get started with PivotTable reports
23
Get started with PivotTable reports
See sales by date The original source data has a column of Order Date information, so there is an Order Date field on the PivotTable Field List. This means you can find the sales by date for each salesperson. To find out, you’ll add the Order Date field to your report and then use the Grouping dialog box to group the date data and create a more manageable view. Here are details about the entire process shown in the picture. To add the Order Date field to your report: Select the check box next to the Order Date field to add the field to the report. The Order Date field is automatically added on the left, in row label orientation. That’s because the field does not contain numbers (dates may look like numbers, but they are formatted as dates, not numbers). Because the Order Date field is the second non-numerical field to be added to the report, it is nested within the Salesperson field, indented to the right. Now the report shows sales for each salesperson by individual date, but that’s a lot of data to view at one time. You can easily get this data into a more manageable view by grouping the daily data into months, quarters, or years. To group the dates: Click a date in the report. On the Options tab, in the Group group, click Group Field. In the Grouping dialog box, select Quarters, which seems like a good solution here, and then click OK. Now you see the sales data grouped into four quarters for each salesperson. [Note to trainer: This slide is identical to the preceding slide except that it has static art instead of an animation. Use this slide if you have problems viewing the animation. Delete either the current slide or the preceding slide before showing the presentation.] Get started with PivotTable reports
24
Get started with PivotTable reports
Pivot the report Though the PivotTable report has answered your questions, it takes a little work to read the entire report—you have to scroll down the page to see all the data. Animation: Right-click, and click Play. This animation shows how you can move a field from the Row Labels area to the column area of the report (called Column Labels), which is an area of the layout you haven’t used before. Here’s the process spelled out in more detail: Right-click one of the “Qtr” rows, point to Move, and then click Move “Order Date” to Columns. This will move the entire Order Date field from the Row Label area to the Column Label area of the report. (To move it back to the Row Label area, right-click one of the “Qtr” headings and select Move “Order Date” to Rows.) Now the names of the salespeople are all together, and it says “Column Labels” above the first quarter of the sales data, which is now laid out in columns across the report. Also, the grand totals for each quarter are at the bottom of each column. Instead of scrolling down the page to see the data, you can see it all at a glance. [Note to trainer: To play the animation when viewing the slide show, right-click the animation, and then click Play. After playing the file once, you may have to click Rewind (after right-clicking) and then click Play. If you’re clicking the slide to make text enter or to advance to the next slide but nothing’s happening, click away from the animation. Sometimes you have to click twice. If you have problems viewing the animation, see the notes for the last slide in this presentation about playing an Adobe Flash animation. If you still have problems viewing the animation, the slide that follows this one is a duplicate slide with static art. Delete either the current slide or the next slide before showing the presentation.] So you can pivot the report to get a different view that’s easier to read. When you pivot a report, you transpose the vertical or horizontal view of a field, moving rows to the column area or moving columns to the row area. It’s easy to do. Get started with PivotTable reports
25
Get started with PivotTable reports
Pivot the report Though the PivotTable report has answered your questions, it takes a little work to read the entire report—you have to scroll down the page to see all the data. So you can pivot the report to get a different view that’s easier to read. When you pivot a report, you transpose the vertical or horizontal view of a field, moving rows to the column area or moving columns to the row area. It’s easy to do. The picture illustrates how you can move a field from the Row Labels area to the column area of the report (called Column Labels), which is an area of the layout you haven’t used before. Here’s the process spelled out in more detail: Right-click one of the “Qtr” rows, point to Move, and then click Move "Order Date" to Columns. This will move the entire Order Date field from the Row Label area to the Column Label area of the report. (To move it back to the Row Label area, right-click one of the “Qtr” headings and select Move “Order Date” to Rows.) Now the names of the salespeople are all together, and it says “Column Labels” above the first quarter of the sales data, which is now laid out in columns across the report. Also, the grand totals for each quarter are at the bottom of each column. Instead of scrolling down the page to see the data, you can see it all at a glance. [Note to trainer: This slide is identical to the preceding slide except that it has static art instead of an animation. Use this slide if you have problems viewing the animation. Delete either the current slide or the preceding slide before showing the presentation.] Get started with PivotTable reports
26
Where did drag-and-drop go?
If you prefer to build a PivotTable report by using the drag-and- drop method, as you could in previous versions of Excel, there’s still a way to do that. Animation: Right-click, and click Play. A little context about the drag-and-drop method: Typically in Excel 2007, you add fields to the report layout from the field list either by selecting check boxes next to the field names or by right-clicking the field and selecting a location from a menu. As you do so, the fields are automatically placed in the layout, and they are simultaneously placed in the appropriate box at the bottom of the list. For example, as the Salesperson field is placed in the Row Labels area of the report layout, the Salesperson field name is also displayed in the Row Labels box at the bottom of the field list. If you prefer the drag-and-drop method, you can just drag fields from the top of the field list into the boxes at the bottom of the field list. The label at the top of each box tells you into which area of the report the field should go. For example, if you drag the Order Amount field to the Values box, that field will be in the Values area of the report. You can also drag the fields between the boxes to change locations in the report layout area, and you can drag fields out of the boxes to remove them from the report. [Note to trainer: To play the animation when viewing the slide show, right-click the animation, and then click Play. After playing the file once, you may have to click Rewind (after right-clicking) and then click Play. If you’re clicking the slide to make text enter or to advance to the next slide but nothing’s happening, click away from the animation. Sometimes you have to click twice. If you have problems viewing the animation, see the notes for the last slide in this presentation about playing an Adobe Flash animation. If you still have problems viewing the animation, the slide that follows this one is a duplicate slide with static art. Delete either the current slide or the next slide before showing the presentation.] There are four boxes at the bottom of the PivotTable Field List, called Report Filter, Row Labels, Column Labels, and Values. As the animation shows, you can drag fields to these boxes to create your report. Get started with PivotTable reports
27
Where did drag-and-drop go?
If you prefer to build a PivotTable report by using the drag-and- drop method, as you could in previous versions of Excel, there’s still a way to do that. There are four boxes at the bottom of the PivotTable Field List: Report Filter, Row Labels, Column Labels, and Values. You can drag fields to these boxes to designate how the fields are used in the report. A little context about the drag-and-drop method: Typically in Excel 2007, you add fields to the report layout from the field list either by selecting check boxes next to the field names or by right-clicking the field and selecting a location from a menu. As you do so, the fields are automatically placed in the layout, and they are simultaneously placed in the appropriate box at the bottom of the list. For example, as the Salesperson field is placed in the Row Labels area of the report layout, the Salesperson field name is also displayed in the Row Labels box at the bottom of the field list. If you prefer the drag-and-drop method, you can just drag fields from the top of the field list into the boxes at the bottom of the field list. The label at the top of each box tells you into which area of the report the field should go. For example, if you drag the Order Amount field to the Values box, that field will be in the Values area of the report. You can also drag the fields between the boxes to change locations in the report layout area, and you can drag fields out of the boxes to remove them from the report. [Note to trainer: This slide is nearly identical to the preceding slide except that it has static art instead of an animation. Use this slide if you have problems viewing the animation. Delete either the current slide or the preceding slide before showing the presentation.] The picture shows how you can drag the Order Amount field from the Column Labels to the Values box to add that field to the Values area of the report. Get started with PivotTable reports
28
Suggestions for practice
Create the PivotTable report layout area. Create a PivotTable report. Change a heading name. Sort the report. Add a field to the report. Add a report filter. Pivot the report. Add currency formatting to the report. [Note to trainer: With Excel 2007 installed on your computer, you can click the link in the slide to go to an online practice. In the practice, you can work through each of these tasks in Excel, with instructions to guide you. Important: If you don’t have Excel 2007, you won’t be able to access the practice instructions.] Get started with PivotTable reports
29
Get started with PivotTable reports
Test question 1 After you build a PivotTable report, you can’t change the layout. (Pick one answer.) True. False. Get started with PivotTable reports
30
Get started with PivotTable reports
Test question 1: Answer False. You can make changes as you go, or just start over. Get started with PivotTable reports
31
Get started with PivotTable reports
Test question 2 What are PivotTable fields? (Pick one answer.) Columns from the source data. The area where you pivot data. The PivotTable report layout area. Get started with PivotTable reports
32
Get started with PivotTable reports
Test question 2: Answer Columns from the source data. Column headings from the source data become the names of the fields that you can use to build the PivotTable report. Each field summarizes multiple rows of information from the source data. Get started with PivotTable reports
33
Get started with PivotTable reports
Test question 3 In the PivotTable Field List, you can tell which fields are already displayed on the report. (Pick one answer.) True. False. Get started with PivotTable reports
34
Get started with PivotTable reports
Test question 3: Answer True. Fields used on the report have a check mark beside them, and the names are in bold type. Get started with PivotTable reports
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.