You are on page 1of 12

Sample Order Reports Workbook

How To

How to use this workbook


This workbook contains several examples of PivotTable reports, including the source data from which the reports were made. You can follow the steps in the article 25 Easy PivotTable Reports to create these reports, and try out the commands on the PivotTable toolbar and menu to learn about the ways you can customize a PivotTable report.

This workbook is set to print on most printers. Click Print on the File menu, click Entire Workbook under Print what, and then click OK. Because the Source Data list is fairly long, a print area was set to print out only the first three pages. If you want to print out all 37 pages of the source data, click the Source Data worksheet, point to Print Area on the File menu, and then click Clear Print Area.
Example reports in this workbook

The PivotTable reports in this workbook were all based on the first report, Orders!PivotTable9. When you create several reports from the same source data in the same workbook, basing them all on one report minimizes the size of the workbook and the amount of memory used when you open it. The reports all behave independently, however: you can refresh, format, and change the layout of each report separately. The example reports in this workbook are formatted using the Report 5 format. Use the Format Report command on the PivotTable toolbar to apply this format to your own reports.
When you click a report in this workbook, the PivotTable toolbar and the PivotTable Field List window should appear. If not, right-click any toolbar and then click PivotTable to display the toolbar, and then click the Show Field List button at the right end of the toolbar to display the field list.

Source Data contains the original source records that provide the data values for the reports.
Orders lets you view the contents of each order by selecting the order number. Quantity summarizes how much of each product was ordered. Average provides the average unit price for each product across all the orders. Top 10 lists the ten most expansive products.

Chart contains a PivotChart report of the top five selling products. The instructions for creating it are provided on a separate worksheet, the Chart Instructions sheet.
For more information Excel Help has further information about PivotTable and PivotChart reports. Ask the Excel Answer Wizard about PivotTable reports, or search for PivotTable or PivotChart report information on the Office Update Web site.

Page 1

Sample Order Reports Workbook

Source Data

Order Product Unit Extended ID ID Product Price Quantity Discount Price 10248 11 Queso Cabrales $14 12 0% $168 10248 42 Singaporean Hokkien Fried $10Mee 10 0% $98 10248 72 Mozzarella di Giovanni $35 5 0% $174 10249 51 Manjimup Dried Apples $42 40 0% $1,696 10249 14 Tofu $19 9 0% $167 10250 51 Manjimup Dried Apples $42 35 15% $1,261 10250 41 Jack's New England Clam $8 Chowder 10 0% $77 10250 65 Louisiana Fiery Hot Pepper $17Sauce 15 15% $214 10251 65 Louisiana Fiery Hot Pepper $17Sauce 20 0% $336 10251 22 Gustaf's Knckebrd $17 6 5% $96 10251 57 Ravioli Angelo $16 15 5% $222 10252 33 Geitost $2 25 5% $48 10252 20 Sir Rodney's Marmalade$65 40 5% $2,462 10252 60 Camembert Pierrot $27 40 0% $1,088 10253 49 Maxilaku $16 40 0% $640 10253 39 Chartreuse verte $14 42 0% $605 10253 31 Gorgonzola Telino $10 20 0% $200 10254 55 Pt chinois $19 21 15% $343 10254 74 Longlife Tofu $8 21 0% $168 10254 24 Guaran Fantstica $4 15 15% $46 10255 36 Inlagd Sill $15 25 0% $380 10255 59 Raclette Courdavault $44 30 0% $1,320 10255 16 Pavlova $14 35 0% $487 10255 2 Chang $15 20 0% $304 10256 53 Perth Pasties $26 15 15% $393 10256 77 Original Frankfurter grne $10 Soe 12 0% $125 10257 27 Schoggi Schokolade $35 25 0% $878 10257 39 Chartreuse verte $14 6 0% $86 10257 77 Original Frankfurter grne $10 Soe 15 0% $156 10258 2 Chang $15 50 20% $608 10258 32 Mascarpone Fabioli $26 6 20% $123 10258 5 Chef Anton's Gumbo Mix $17 65 20% $884 10259 21 Sir Rodney's Scones $8 10 0% $80 10259 37 Gravad lax $21 1 0% $21 10260 70 Outback Lager $12 21 25% $189 10260 57 Ravioli Angelo $16 50 0% $780 10260 62 Tarte au sucre $39 15 25% $443 10260 41 Jack's New England Clam $8 Chowder 16 25% $92 10261 35 Steeleye Stout $14 20 0% $288 10261 21 Sir Rodney's Scones $8 20 0% $160 10262 5 Chef Anton's Gumbo Mix $17 12 20% $163 10262 7 Uncle Bob's Organic Dried $24 Pears 15 0% $360 10262 56 Gnocchi di nonna Alice $30 2 0% $61 10263 16 Pavlova $14 60 25% $626 10263 30 Nord-Ost Matjeshering $21 60 25% $932 10263 74 Longlife Tofu $8 36 25% $216 10263 24 Guaran Fantstica $4 28 0% $101 10264 2 Chang $15 35 0% $532 10264 41 Jack's New England Clam $8 Chowder 25 15% $164 10265 17 Alice Mutton $31 30 0% $936 10265 70 Outback Lager $12 20 0% $240 10266 12 Queso Manchego La Pastora $30 12 5% $347 10267 76 Lakkalikri $14 15 15% $184 10267 40 Boston Crab Meat $15 50 0% $735 10267 59 Raclette Courdavault $44 70 15% $2,618 10268 29 Thringer Rostbratwurst$99 10 0% $990 10268 72 Mozzarella di Giovanni $28 4 0% $111 10269 72 Mozzarella di Giovanni $28 20 5% $528 10269 33 Geitost $2 60 5% $114

Source data for PivotTable reports The data to the left was used to create the reports in this workbook. If you scan through this source data, you'll notice that it's difficult to see the trends and results, even if you sort or filter the data. There are just too many records to analyze at a glance.

Compared with the large databases your company may have available, or you may have found on the Internet, this 2156-row list is fairly short and simple. Excel can retrieve much larger amounts of data than this, and PivotTable reports are one of the best Excel tools for extracting the significance from a large, detailed data set. The data is organized in list format, similar to how a query returns database records: each column contains similar data, the columns have headings in the first row, and the list isn't interrupted by any blank rows or columns (although blank cells within the data are OK). To see how PivotTable reports can summarize this data in a flash, view the sheets in this workbook in sequence from left to right.

Page 2

Sample Order Reports Workbook

Source Data

Order Product Unit Extended ID ID Product Price Quantity Discount Price 10270 36 Inlagd Sill $15 30 0% $456 10270 43 Ipoh Coffee $37 25 0% $920 10271 33 Geitost $2 24 0% $48 10272 31 Gorgonzola Telino $10 40 0% $400 10272 72 Mozzarella di Giovanni $28 24 0% $667 10272 20 Sir Rodney's Marmalade$65 6 0% $389 10273 33 Geitost $2 20 0% $40 10273 40 Boston Crab Meat $15 60 5% $838 10273 10 Ikura $25 24 5% $565 10273 31 Gorgonzola Telino $10 15 5% $143 10273 76 Lakkalikri $14 33 5% $451 10274 72 Mozzarella di Giovanni $28 7 0% $195 10274 71 Fltemysost $17 20 0% $344 10275 24 Guaran Fantstica $4 12 5% $41 10275 59 Raclette Courdavault $44 6 5% $251 10276 10 Ikura $25 15 0% $372 10276 13 Konbu $5 10 0% $48 10277 28 Rssle Sauerkraut $36 20 0% $728 10277 62 Tarte au sucre $39 12 0% $473 10278 44 Gula Malacca $16 16 0% $248 10278 59 Raclette Courdavault $44 15 0% $660 10278 63 Vegie-spread $35 8 0% $281 10278 73 Rd Kaviar $12 25 0% $300 10279 17 Alice Mutton $31 15 25% $351 10280 24 Guaran Fantstica $4 12 0% $43 10280 75 Rhnbru Klosterbier $6 30 0% $186 10280 55 Pt chinois $19 20 0% $384 10281 35 Steeleye Stout $14 4 0% $58 10281 19 Teatime Chocolate Biscuits $7 1 0% $7 10281 24 Guaran Fantstica $4 6 0% $22 10282 30 Nord-Ost Matjeshering $21 6 0% $124 10282 57 Ravioli Angelo $16 2 0% $31 10283 19 Teatime Chocolate Biscuits $7 18 0% $131 10283 72 Mozzarella di Giovanni $28 3 0% $83 10283 15 Genen Shouyu $12 20 0% $248 10283 60 Camembert Pierrot $27 35 0% $952 10284 44 Gula Malacca $16 21 0% $326 10284 27 Schoggi Schokolade $35 15 25% $395 10284 60 Camembert Pierrot $27 20 25% $408 10284 67 Laughing Lumberjack Lager $11 5 25% $42 10285 40 Boston Crab Meat $15 40 20% $470 10285 1 Chai $14 45 20% $518 10285 53 Perth Pasties $26 36 20% $755 10286 62 Tarte au sucre $39 40 0% $1,576 10286 35 Steeleye Stout $14 100 0% $1,440 10287 34 Sasquatch Ale $11 20 0% $224 10287 46 Spegesild $10 15 15% $122 10287 16 Pavlova $14 40 15% $473 10288 54 Tourtire $6 10 10% $53 10288 68 Scottish Longbreads $10 3 10% $27 10289 64 Wimmers gute Semmelkndel $27 9 0% $239 10289 3 Aniseed Syrup $8 30 0% $240 10290 49 Maxilaku $16 15 0% $240 10290 5 Chef Anton's Gumbo Mix $17 20 0% $340 10290 29 Thringer Rostbratwurst$99 15 0% $1,485 10290 77 Original Frankfurter grne $10 Soe 10 0% $104 10291 13 Konbu $5 20 10% $86 10291 51 Manjimup Dried Apples $42 2 10% $76 10291 44 Gula Malacca $16 24 10% $335

Page 3

Sample Order Reports Workbook

Source Data

Order Product Unit Extended ID ID Product Price Quantity Discount Price 10292 20 Sir Rodney's Marmalade$65 20 0% $1,296 10293 63 Vegie-spread $35 5 0% $176 10293 24 Guaran Fantstica $4 10 0% $36 10293 75 Rhnbru Klosterbier $6 6 0% $37 10293 18 Carnarvon Tigers $50 12 0% $600 10294 17 Alice Mutton $31 15 0% $468 10294 75 Rhnbru Klosterbier $6 6 0% $37 10294 60 Camembert Pierrot $27 21 0% $571 10294 43 Ipoh Coffee $37 15 0% $552 10294 1 Chai $14 18 0% $259 10295 56 Gnocchi di nonna Alice $30 4 0% $122 10296 11 Queso Cabrales $17 12 0% $202 10296 69 Gudbrandsdalsost $29 15 0% $432 10296 16 Pavlova $14 30 0% $417 10297 39 Chartreuse verte $14 60 0% $864 10297 72 Mozzarella di Giovanni $28 20 0% $556 10298 2 Chang $15 40 0% $608 10298 62 Tarte au sucre $39 15 0% $591 10298 59 Raclette Courdavault $44 30 25% $990 10298 36 Inlagd Sill $15 40 25% $456 10299 19 Teatime Chocolate Biscuits $7 15 0% $110 10299 70 Outback Lager $12 20 0% $240 10300 68 Scottish Longbreads $10 20 0% $200 10300 66 Louisiana Hot Spiced Okra $14 30 0% $408 10301 40 Boston Crab Meat $15 10 0% $147 10301 56 Gnocchi di nonna Alice $30 20 0% $608 10302 43 Ipoh Coffee $37 12 0% $442 10302 17 Alice Mutton $31 40 0% $1,248 10302 28 Rssle Sauerkraut $36 28 0% $1,019 10303 65 Louisiana Fiery Hot Pepper $17Sauce 30 10% $454 10303 40 Boston Crab Meat $15 40 10% $529 10303 68 Scottish Longbreads $10 15 10% $135 10304 49 Maxilaku $16 30 0% $480 10304 71 Fltemysost $17 2 0% $34 10304 59 Raclette Courdavault $44 10 0% $440 10305 18 Carnarvon Tigers $50 25 10% $1,125 10305 39 Chartreuse verte $14 30 10% $389 10305 29 Thringer Rostbratwurst$99 25 10% $2,228 10306 53 Perth Pasties $26 10 0% $262 10306 30 Nord-Ost Matjeshering $21 10 0% $207 10306 54 Tourtire $6 5 0% $30 10307 62 Tarte au sucre $39 10 0% $394 10307 68 Scottish Longbreads $10 3 0% $30 10308 70 Outback Lager $12 5 0% $60 10308 69 Gudbrandsdalsost $29 1 0% $29 10309 4 Chef Anton's Cajun Seasoning $18 20 0% $352 10309 43 Ipoh Coffee $37 20 0% $736 10309 71 Fltemysost $17 3 0% $52 10309 6 Grandma's Boysenberry $20 Spread 30 0% $600 10309 42 Singaporean Hokkien Fried $11Mee 2 0% $22 10310 16 Pavlova $14 10 0% $139 10310 62 Tarte au sucre $39 5 0% $197 10311 69 Gudbrandsdalsost $29 7 0% $202 10311 42 Singaporean Hokkien Fried $11Mee 6 0% $67 10312 53 Perth Pasties $26 20 0% $524 10312 43 Ipoh Coffee $37 24 0% $883 10312 75 Rhnbru Klosterbier $6 10 0% $62 10312 28 Rssle Sauerkraut $36 4 0% $146 10313 36 Inlagd Sill $15 12 0% $182

Page 4

Sample Order Reports Workbook

Orders

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

A Order ID

B 10270

Viewing the contents of each order


Quantity Discount Extended Price

Unit Price Product Inlagd Sill $15

30 0% Inlagd Sill Total Ipoh Coffee $37 25 0% Ipoh Coffee Total Grand Total $920 $920 $1,376 $456 $456

This report uses the Order ID field as a page field. The rest of the fields supply all of the details from each order. To look up the details for a specific order, all you have to do is change the page.

Try clicking the arrow in cell B1, which displays the currently selected item or page. Select a different order ID, and then click OK. If your order database easily provides information like the source data for this report, but doesn't make it easy for you to look at individual orders, a report like this can give you easy access to that information.

Page 5

Sample Order Reports Workbook

Quantity

Product Alice Mutton Aniseed Syrup Boston Crab Meat Camembert Pierrot Carnarvon Tigers Chai Chang Chartreuse verte Chocolade Cte de Blaye Filo Mix Fltemysost Geitost Genen Shouyu Gnocchi di nonna Alice Gorgonzola Telino Grandma's Boysenberry Spread Gravad lax Gudbrandsdalsost Gula Malacca Gumbr Gummibrchen Gustaf's Knckebrd Ikura Inlagd Sill Ipoh Coffee Jack's New England Clam Chowder Konbu Lakkalikri Laughing Lumberjack Lager Longlife Tofu Louisiana Fiery Hot Pepper Sauce Louisiana Hot Spiced Okra Manjimup Dried Apples Mascarpone Fabioli Maxilaku Mishi Kobe Niku Mozzarella di Giovanni Nord-Ost Matjeshering Northwoods Cranberry Sauce NuNuCa Nu-Nougat-Creme Original Frankfurter grne Soe Outback Lager Pt chinois Pavlova Perth Pasties Queso Cabrales Queso Manchego La Pastora Raclette Courdavault Ravioli Angelo Rhnbru Klosterbier Rd Kaviar Rgede sild Rssle Sauerkraut Sasquatch Ale Schoggi Schokolade Scottish Longbreads Singaporean Hokkien Fried Mee Sir Rodney's Marmalade Sir Rodney's Scones

Quantity 978 328 1103 1577 539 828 1057 793 138 623 500 1057 755 122 1263 1397 301 125 714 601 753 348 742 805 580 981 891 981 184 297 745 239 886 297 520 95 806 612 372 318 791 817 903 1158 722 706 344 1496 434 1155 293 508 640 506 365 799 697 313 1016

Listing the units ordered for each product This simple report uses Product as a row field and Quantity as a data field to calculate how many units of each product were ordered. From this report, you can easily rank the products from most frequently to least frequently ordered, or find the most ordered products. Click the Product field, and then click Sort and Top 10 on the PivotTable menu. To rank the products, click Descending under AutoSort options, and in the Using field list, click Sum of Quantity. Or to find the most popular products, click On under Top 10 AutoShow, click Top in the Show list, click how many products you want to find, and in the Using field list, click Sum of Quantity.

Page 6

Sample Order Reports Workbook

Quantity

Product Sirop d'rable Spegesild Steeleye Stout Tarte au sucre Teatime Chocolate Biscuits Thringer Rostbratwurst Tofu Tourtire Tunnbrd Uncle Bob's Organic Dried Pears Valkoinen suklaa Vegie-spread Wimmers gute Semmelkndel Zaanse koeken Grand Total

Quantity 603 548 883 1083 723 746 404 755 580 763 235 445 740 485 48907

Page 7

Sample Order Reports Workbook

Average

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

B C Average Unit Price Product Alice Mutton $36 Aniseed Syrup $10 Boston Crab Meat $17 Camembert Pierrot $32 Carnarvon Tigers $60 Chai $17 Chang $18 Chartreuse verte $17 Chocolade $12 Cte de Blaye $246 Filo Mix $7 Fltemysost $20 Geitost $2 Genen Shouyu $14 Gnocchi di nonna Alice $35 Gorgonzola Telino $12 Grandma's Boysenberry Spread $24 Gravad lax $23 Gudbrandsdalsost $33 Gula Malacca $18 Gumbr Gummibrchen $29 Gustaf's Knckebrd $20 Ikura $30 Inlagd Sill $18 Ipoh Coffee $43 Jack's New England Clam Chowder $9 Konbu $6 Lakkalikri $17 Laughing Lumberjack Lager $14 Longlife Tofu $9 Louisiana Fiery Hot Pepper Sauce $19 Louisiana Hot Spiced Okra $15 Manjimup Dried Apples $51 Mascarpone Fabioli $31 Maxilaku $18 Mishi Kobe Niku $93 Mozzarella di Giovanni $32 Nord-Ost Matjeshering $24 Northwoods Cranberry Sauce $39 NuNuCa Nu-Nougat-Creme $13 Original Frankfurter grne Soe $12 Outback Lager $14 Pt chinois $22 Pavlova $16 Perth Pasties $30 Queso Cabrales $20 Queso Manchego La Pastora $37 Raclette Courdavault $51 Ravioli Angelo $18 Rhnbru Klosterbier $7 Rd Kaviar $14 Rgede sild $9 Rssle Sauerkraut $42 Sasquatch Ale $13 Schoggi Schokolade $41 Scottish Longbreads $12 Singaporean Hokkien Fried Mee $13

Calculating the average unit price This report uses Product as a row field and Unit Price as a data field. To calculate the average unit price for each product, double-click the Unit Price field and click Average under Summarize by. To change the name of the field to Average Unit Price, click cell B1 and type the new name. You can then use the Sort and Top 10 command on the PivotTable menu to rank the average prices or find the highest or lowest ones.

Page 8

Sample Order Reports Workbook

Average

A 1 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 Product Sir Rodney's Marmalade Sir Rodney's Scones Sirop d'rable Spegesild Steeleye Stout Tarte au sucre Teatime Chocolate Biscuits Thringer Rostbratwurst Tofu Tourtire Tunnbrd Uncle Bob's Organic Dried Pears Valkoinen suklaa Vegie-spread Wimmers gute Semmelkndel Zaanse koeken Grand Total

B C Average Unit Price $76 $9 $28 $11 $17 $46 $9 $116 $21 $7 $8 $29 $15 $41 $31 $9 $27

Page 9

Sample Order Reports Workbook

Top 10

Max of Unit Price Product Carnarvon Tigers $63 Cte de Blaye $264 Ipoh Coffee $46 Manjimup Dried Apples $53 Mishi Kobe Niku $97 Raclette Courdavault $55 Rssle Sauerkraut $46 Sir Rodney's Marmalade $81 Tarte au sucre $49 Thringer Rostbratwurst $124 Grand Total $264

Finding the most expensive products This report identifies the ten highest-priced sales. First, double-click the Unit Price data field and change the summary function to Max, so that the report lists the highest price paid for each product. Then use the Sort and Top 10 command on the PivotTable menu to find the ten highest priced products.

Page 10

Sample Order Reports Workbook

Chart

Sum of Quantity

Product
Camembert Pierrot Gnocchi di nonna Alice Gorgonzola Telino Pavlova Raclette Courdavault

Page 11

Sample Order Reports Workbook

Chart Instructions

PivotChart Report on the Chart Sheet


The chart on the Chart sheet is a PivotChart report that provides a graphical representation of the summarized data used in the PivotTable reports in this workbook. A PivotChart report has many features similar to a PivotTable report: you can change the layout, sort, filter, and group the data. To create a PivotChart report, run the PivotTable and PivotChart Report wizard, in step 1 select PivotChart (with PivotTable), and then complete the steps of the wizard as you would for a PivotTable report. Or, if you already have a PivotTable report that you want to chart, click the report and then click the Chart Wizard button on the PivotTable toolbar.
A PivotChart report always has a dependency on a PivotTable report that provides the data to be charted, called the associated PivotTable report. When you make changes to a PivotChart report, its associated PivotTable report reflects the changes. To allow you to make changes to the example PivotChart report without affecting any of the example PivotTable reports, the PivotChart report was created independently from the source data. The associated PivotTable report for the example is hidden. If you want to see it, point to Sheet on the Format menu, click Unhide, and then click Data for Chart. A new PivotChart report always appears on a separate chart sheet, because PivotChart reports tend to include lots of data and therefore usually need plenty of space. You can easily move a PivotChart report onto a worksheet, for example to put it on the same worksheet as its associated PivotTable report. Just click the chart and click Location on the Chart menu.

You can use most of the chart type, formatting, and options available for regular charts to customize a PivotChart report. For more information, ask the Excel Answer Wizard about PivotChart reports.

Page 12

You might also like