جداول و نمودار های محوری در اکسل
Post on 26-Jul-2015
4.278 views
DESCRIPTION
جداول و نمودار های محوری در اکسلTRANSCRIPT
: Peter G.Aitken :
. . .. . . . . . http://amar80.blogfa.com [email protected] .
58
5
1
1 2 . . . . .
1 2
PivotTables PivotCharts
1
7 8 9 31 81 1 2 3 4 5
2
7 1 :
1
. . . . pivot . . . . . . 03 . 3 . : . . . .3
Workbook
1 :
8
. . . . : 1. . 2. . 3. Pivot Table and Pivot Chart Data . 4. Finish OK . 5. . .
. . 1,1 . . . . :
9
3 :
1
. .
1 .1:
: . : /wiley.com/go/excelpivottables ) . . .- - ( 4 PivotTable and PivotChart Data . 1,2 .
4
Wizard
1 :
01
1 .2: PivotTable and PivotChart
5 : Microsoft Office Excel list or database Select PivotTable . Next 2 1,3 .
1 .3 : PivotTable and PivotChart .
Range 6 . : 32. A2:K : 1. . .5 6
Dialog box Worksheet
11
3 : 2. 7 . .
3. .
1
Range . Next 1,4 :
1 .4 : PivotTable and PivotChart .
. Options Layout . Existing Worksheet 82 . A Finish . 1,5 .
7
Drag
1 :
21
1 .5 : .
: . . ) ( . . . : 1. Region Drop Row Fields Here . 2. Camping Drop Data Items Here . . 1,6 . Currency . B .
31
3 :
1
1 .6 : .
. . . . . . Region 8 . 1,7 . - Midwest , Northeast , South . Show All .
1 .7 : .
Midwest OK Midwest 1,8 .
8
Drop-down
1 : 4 :
41
1 .8 : Midwest .
Show All .
. . . .
1 .9 :
. . . .
51
4 :
VideoStoreRawData.xls . ) ( 82 . A4:C PivotTable and PivotChart
1
Data . ) 1,2 ( : Microsoft Office list or database PivotTable Next . 1,01 82 A4:C Range . . .
1 .01 : .
Next . New Worksheet Finish . 1,11.
1 :
61
1 .11 : .
. . : 1. Store Drop Row Fields Here . 2. Category Drop Column Fields Here . 3. Titles Drop Data Items Here . 1,21 .
1 .21 : .
. . Chart Wizard .
71
5 :
1,31 . .
1
Category 9 Store . . 1,41. ) .( . .
1 .31 : Store Category .
1 .41 : .
9
Legend
1 :
81
. . . . . . . . Chart Wizard . . 1,51 .
1 .51 : .
. Drop Series Fields Here . . 6 . .
2
. . . . .
91
12 42 62 82 33 83 93 04 24 54 84 05 15 Access 6 7 8 9 01 11 21 31 41 51 61 71 81
02
12
6 :
. . 1 . .
2
. :
. . . : . . . ) 2,1 .( .
2 :
22
2 .1 : 2 .
. . . 01 . : 1. . . Insert Define Name . Name 2. : Define ) 2,2 (. 3. . SalesData SurveyResulats . 11 . 4. Add OK .
01 11
Refresh Underscore
32
6 :
2
2 .2 : .
2 Range . 2,3 .
2 .3 : .
. .
2 :
42
. .
. . . . :
1. PivotTable and PivotChart 1 Microsoft Excel List Database . 2. Next . 3. 2 . 4. Alt + Tab . ) PivotTable and PivotChart .( 5. . 6. . 7. .
. . :
1. .
52
7 : List or Database .
2. PivotTable and PivotChart 1 Microsoft Excel
. . . . . .
2
3. Next . 4. 2 Browse . Browse 2,4 .
2 .4 : .
5. Browse OK . 6. Range . ) 2,5 .( 7. Next .
2 :
62
2 .5 : .
21 . . . .
. . : Refresh Data . PivotTable Refresh Data . .
. : .
21
Update
72 8 : . . . 1. PivotTable and PivotChart 1 External Data Source .
2
2. Next . 2,6 . ) Get Data . .( Get Data .
2 .6 : .
Choose Data Source 2,7 . . .
. : . . .
2 :
82
2 .7 : Choose Data Source .
Database Choose Data Source 2,7 . ) .( . : XXXX > < - 31 . . . Choose Data Source Use the Query Wizard to Create / Edit Queries . . .
31
Query
92
9 :
Query : 1. OK . Query . ) ( . 2,8 . 2. . 3. . 4. . ) (. 5. . ) .( 6. Query Return Data to Microsoft Excel Finish . Query 2,9 .
2
2 .8 : Query .
Get Data . Data fields have been retrieved . Next . : . . .
2 :
03
Options Browse Database . :
Browse . Options . .
2 .9 : .
XXXX XXXX MS Access Oracle . . OK . . 2,01 Visual FoxPro . ! .
13
9 :
2
2 .01 : .
. . .
> < New Data Source Choose Data Source . Create New Data Source 2,11 .
2 .11 : .
2 :
23
: 1. . 2. . 3. Connect . ) .( 4. OK Create New Data Source . Choose Data Source . Database . . . . . . .
Queries Choose Data Source . . . . . Queries Choose Data Source . OK . Options Browse Queries :
33
01 : Access
Browse . Options . . .
2
query . Queries . MS Access . .
OLAP Cubes OLAP OLAP . OLAP Cube . Cube OLAP Cube . . 7 .41
Access . . . MS Access . .
41
On line
2 :
43
Northwind . . Northwind.mdb Samples . . ) . CD .( . . 7991 Product Sales for Northwind . 2,21 . .
2 .21 : Northwind 7991 Product Sales for .
: Data 1. : PivotTable and PivotChart Report 2. External Data Source . 3. Next . 4. Get Data Choose Data Source . 5. Databases use the Query Wizard . MS Access . ) 2,31 .(
53
01 : Access 6. OK Choose Data Source . ) 2,41 . (
2
2 .31 : MS Access .Database
2 .41 : Northwind.mdb .
7. Northwind.mdb . OK Query . . ) 2,51 . ( 8. 7991 Product Sales for . 9. + . : CategoryName , ProductName , ProductSales , ShippedQuarter
2 :
63
2 .51 : Query .
01. Categoryname > Columns in your query . 11. . 2,61 .
2 .61 : .
21. Next . ) . ( Return Data to Microsoft Office Excel .) 2,71 ( Finish 2 .
73
2
2 .71 : .
31. Next 3 . 41. 1 A . 51. Finish . 2,81 . 01 : Access
2 .81 : .
. . . : 1. CategoryName Drop Row Field Here . 2. ShippedQuarter Drop Column Fields Here .
2 : 3. ProductSales Drop Data Items Here .
83
! . . . ) 11 ( B3:F $ Formatting . 2,91 .
2 .91 : .
. . .
93
21:
. . . : . ( Data (Data Import External Data ) New web Query
2
Import External Data ( Data ) New Database Query Import External Data ) Import Data : . . .
1 . . . . . . 2,02 .
2 .02 :
2 :
04
Multiple Consolidation Range 1 next 2,12 . : Create a single page for me . I will create the page field 4 .
2 .12 : .
. ) . ( . .
. : . Drop Page Fields Here
14
31 :
2,22 . . :
2
Range . Add . . Browse . Delete .
2 .22 : .
Next .
2 :
24
2,32 . ) 2,22 .(
2 .32 : 2,22.
. . 1 Page . ) ( Grand Total . . 3 .
34
41 :
. ! . .
2
. : ) 0 4 ( . . . . . . . . . : 1. 2a 2,42 . . : .a Range . .b . .c Browse . .d Add All Ranges .
2 :
44
2 .42 : .
2. . . . 0 Next . 3. . 2 1 2 2,52 .
54
41 :
2
2 .52 : .
4. . . : All Field . . . 2 . . 1 . . . . Next . . ) 2,62 (. . . . . 1 .
2 :
64
2 .62 : .
EmployeeData.xls . ) 2,21 .( . . : Data 1. PivotTable and PivotChart Report PivotTable and PivotChart . 2. 1 Multiple Consolidation Ranges . 3. Next 2a . 4. Create a Single-Page Field . 5. Next 2b . 6. .) ( Range
74
51 : 7. 9 A3:B . 8. . 9. Add All Ranges .
01. 5 8 9 D3:E 9 G3:H All Ranges . 2,72 . 11. Next .
2
21. New Worksheet . 31. Finish . 2,82 .
2 .72 : .
2 .82 : .
2 :
84
. . . . 2,92 . , 2Item1 , Item 3 Item . . . .
2 .92 : .
. . .
94
61 :
2,03 . . CourceData.xls .
2
2 .03 : .
Data
1. :PivotTable and PivotChart Report 3. Next .
2. Multiple Consolidation Ranges . 4. I Will Create Page Fields . 5. Next . 6. Range 8 A2:B . 7. Add All Ranges . 8. 6 7 . 2,13 .
2 .13 : .
2 :
05
9. 2 . 1 2 . . 2002 3002 1 2 . . : 1. All Ranges 8 A2:B . 2002 1 . 2. 1 2002 . 3. 2 1 . 4. All Ranges 8 E2:F . 3002 1 . 5. 1 3002 . 6. 1 2 . 7. 71 A11:B . 2002 2 . 8. 2002 1 . 9. 2 2 . 01. 71 E11:F . 11. 3002 1 . 21. 2 2 . Next . 2,23 . . 1 : All2002 3002 . 2 All1 2 . .
15
71 :
2
2 .23 : .
Grand Total . Hide . .
. . Another PivotTable or PivotChart 1 . ) .( Next . . 1 . . .
2 :
25
.
. . . . .
. . . clothing Stock.xls 2,33 . .
2 .33 : .
35
81 :
. . 2,43 .
2
2 .43 : .
. : 1. Color . 2. Items . 3. Quantity . 2,53 . 4. . Size . .
2 .53 : .
2,63 . Item Size. . pivoting. 1
2 :
45
. . 2,63 Size Color . 2,73 . Size . Color .
2 .63 : .
2 .73 : Size .
3
. . .
55
75 95 06 16 26 86 37 Layout PivotTable and PivotChart 91 02 12 22 32 42 52
65
75
02 : Layout PivotTable and
Layout PivotTable and PivotChart ) PivotTable and PivotChart ( . ) . ( .
3
51
. 3 Layout Options. 3,1 .
3 .1 : Layout Options .
Layout 3 Layout . ) 3,2 .( .
51
3 :
85
3 .2 : Layout .
Sporting goods . . . . . Layout :
1. Row area . 2. Column area . 3. Data area . 4. Page box .
. OK 3 . Finish . Layout . Layout .
95 02 : Options 3 Options . . . . . Options . 1 PivotTable . ) . ( 01 VBA .
3
3,3 . . : . . . . View . Toolbars
3 .3 : .
3 :
06
. . .
. . . : 1. . 2. Add or Remove . 3. PivotTable . 3,4 . 4. . 5. . Reset Toolbar .
16 12 : .
3
3 .4 : .
. PivotTable 3,5 .
3 :
26
3 .5 : .
- ) ( ) Pop up .( . . .
. . . .
) PivotTable Options 3,6 . ( .
36 32 :
3
3 .6 : .PivotTable Options
: Options 3 . Table Options .PivotTable
Format Options . Data Options . . .
Format Options Format Options . .
3 :
46
GRAND TOTALS ) ( Grand total . .
AUTOFORMAT TABLE 61 ) ( . Format Report .
SUBTOTAL HIDDEN PAGE ITEMS . . 5 .
MEGE LABELS . . . .
Format Report None .
61
Auto format
56 32 : 71 81 .
PRESERVE FORMATTING . . Auto Format .
3
REPEAT ITEM LABELS ON EACH PRINTED PAGE . .
* MARK TOTALS WITH . * . .
PAGE LAYOUT . : Down then over 1 ... Over then down 1 2 . 3,7 .
71 81
Borders Conditional Formatting
3 :
66
FIELDS PER COLUMN .
FOR ERROR VALUES SHOW . .
A
B
C
D
Over then down
Down then over
A
A
B
C
C
B
D
D
3 .7 : Over then down Down then over .
FOR EMPTY CELLS SHOW
76 32 : empty .
SET PRINT TITELS .
3
Data Options Data Options PivotTable Options . External Data Refresh Every .
SAVE DATA WITH TABLE LAYOUT . ) ( . .
ENABLE DRILL TO DETAILS . ) Drill to Details 4 ( .
REFERSH ON OPEN .
3 :
86
REFRESH EVARY MINUTES .
BACKGROUND QUERY .
OPTIMIZE MEMORY . OUT OF Memory .
. .
. . Format Report Format Report . AutoFormat 3,8 . 91 OK .
91
Scroll
96 42 :
3
3 .8 : .
. AutoFormat 1 Report 01 Report . 1 Table 01 Table . . . . . . 3,9 . .
3 .9 : .
3,01 1 Table . .
3 :
07
3 .01 : .
3,11 1 Report .
3 .11 : .
17 42 : . . . None autoformat . AutoFormat Table PivotTable Options .) Table Options .( . . .
3
. Format Cells . . . . 3,21 . .
3 .21 : .
3 :
27
3,21 . 4 . .
Field Setting . .
. . . . . : 1. . 2. Field Setting . Field Setting . 3. Number . Format Cells . 4. . . 5. OK .
02 . . . Preserve Formatting PivotTable Options . PivotTable Table Options .
02
: Font
37 52 : . . All . . . . Format
3
.
. Access 2 . 3,31 . .
3 .31 : .
. .
3 :
47
1. . 2. Table Options PivotTable Options . 3. AutoFormat Table Preserve Formatting . 4. OK . : 1. Format Table . AutoFormat . 2. 1 Table . 3. OK . 4. . 3,41 .
3 .41 : .
. Dairy Products 4 Qtr . : 1. Dairy Products D Dairy . .
57 52 :
3 .51 : .
2. . .
3
3. Bold . . 4. 4 Qtr . 5. . 6. Italic . . 7. . 3,61 . .
3 .61 : .
3 :
67
77
4
. . . . .
77
97 08 28 48 58 88 88 09 19 59 59 79 001 301 701 901 Drop Row Drop Column Drop Data Drop Page Drop Sort AutoShow 62 72 82 92 03 13 23 33 43 53 63 73 83 93 04 14
87
97
62 : Drop
Drop 12 Drop . ) Layout (. Drop. . . Drop .
. 4,1 . ) . ( .
4
4 . 1 : .
. . Show Field List . Show PivotTable Toolbar .
12
4 :
08
.- - . : 1. . 2. . 3. Add To . . . : . . ) (. OLAP . OLAP . OLAP 7 .
. . . . .
Row Drop Row Drop . 4,2 . .
18
72 : Row Drop
4 . 2 : .
Gender . ) .( .
4
4 . 3 : Gender .
) Grand Total ( : . Gender ) ( Male ) ( Female . Gender . . . Gender Age Group . : 02-92 03-93 04-94 05-95 06-96
4 :
28
4,4 .
4 . 4 : Age Group .
. . . . . . . . . . 4,2 . Age Group Gender 4,5 .
38
82 :
4 . 5 : Age Group Gender .
Gender Age group 4,6 .
4
4 . 6 : Age Group Gender .
4 :
48
. 22 . 4,5 Male Total Female Total . 4,6 . .
Column Drop Column Drop Row drop . . . : 1. . . 2. . 4,7 Gender Age Group .
4 . 7 : .
. .
22
Subtotal
58
03 : \ . . .
. TestScores.xls . ) 4,2 .( : 1. .221A2:F Data 2. : PivotTable and PivotChart Report 3. Next . 4. Next . 5. New Workbook Finish . 4,8 .
4
4 . 8 : .
. :
4 : Gender . Age Group .
68
Political Affiliation . . Region . Score . : 1. Age Group . 2. Gender . 3. Political Affiliation . 4. Region . 5. Score . 4,9 . ) .( . Preserve Formatting PivotTable Options Autoformat Table . 3 .
4 . 9 : .
. . :
78
03 : 1. ) ( Dem Total , Rep Total , Ind Total 2. Hide . : . . 6 D 02-92 NorthEast Dem political affiliation . . . ) . ( 4,01 Region .
4
4 . 01 : .Region
. . . Order : -Move to Beginning . Move Left . Move Right . Move to End .
4 :
88
. Move to Beginning Move Left .
Data Drop Data Drop . . 4,11 . Sold.
4 . 11 : .
901 . Large Chocolate . . . . Field Setting 53 . Field Setting
. . 4,21 3002 4002 . 3002 4002
98
23 :
4 . 21 : 3002 4002 .
4
. 4,21 ) ( 4,31 . 3002 4002 .
4 . 31 : .
. 4,31 4 B . .
4 :
09
B . 53 . . . . . 53 .
Page Drop . . . . . . . All . 4,41 .
4 . 41 : .
19
43 : . 4,51 Quarter : 4 . Qtr 1, Qtr 2, Qtr 3, Qtr All . OK .
4 . 51 : .
4
. : . Store, Month, Item, Color, Size . ThreePageFields.xls . 1. . ) 261.( A2:F 2. PivotTable and PivotChart Report Data . 3. PivotTable Microsoft Office Excel List Database . Next . 4. Next . 5. New Worksheet . Finish . 4,71 .
4 :
29
4 . 61 : .
4 . 71 : .
6. Store . 7. Month . 8. Amount . 9. Item, Color, Size .
39
43 : 01. Field Setting Field Setting . 11. Number Format Cells . 21. Category Currency . 31. OK . 4,81 . . . All .
4
4 . 81 : .
. Size 4,91 . .- Large, Medium, Small . All .
4 . 91 : .Size
4 :
49
: 1. Color Red . OK . 2. Item 2 . OK . 3. Size Large . OK . .
4 . 02 : .
: . Red 2 Color Large Item .Size Jan . Downtown Mar Northside . Feb . . . .
59
53 :
. . . PivotTable Field : Field Setting . Field Setting . . . / . .
4
PivotTable Field 4,12 .
4 . 12 : PivotTable Field .
: Source field .
4 :
69
Name . . Hide . . Number Format Cells . Options . 14 . Summarize by .
Summarize by Sum . Sum . . : Count . - Average . Max . - Min . Product . Count nums .
Count Count Nums Count Count Nums Count . Counts Nums .
79
73 :
. Test Score 4,22 . TestScore2.xls . .
4
4 . 22 : .
: 1. : )54(A2:C 2. Data PivotTable and PivotChart Report . 3. . 4. Gender . 5. Score Data .
4 :
89
6. 5 .. Score . 4,32 . Sum of Sum of Score Score 2 Score 3 Sum of Scure .
4 . 32 : .Score
: 1. Sum of Score . 2. Field Setting Field Setting . ) 4,42 . ( 3. Average . Average of Score . 4. . 5. OK .
4 . 42 : .Sum of Score
99
73 : 4,52 . .
4 . 52 : Sum of Score .
Field Setting: 1. Field Setting Field Setting . 2. Number Format cells . 3. Number Category . 4. OK . : 1. 2 Sum of Score . 2. Field Setting Field Setting . 3. Max Summarize by Maximum . 4. OK . 5. 3 Sum of Scor . 6. Field Setting Field Setting . 7. Min Summarize by Minimum . 8. OK .
4
4 :
001
. . : 1. PivotTable Options PivotTable Options . 2. Grand Totals . 3. OK . 4,62 . . . Score
4 . 62 : .Average, maximum, minimum
. PivotTable Field 4,72 .
4 . 72 : PivotTable Field .
:
101
93 : Name .
Hide . . Advanced . Layout . Subtotals . Show item with no data ) .( . Automatic Subtotals . none Custom
4
. ) .( . . : Sum . Count . Average . Max . Min . Product . Count Nums . StdDev . StdDevp . Var . Varp .
4 :
201
PivotTable Field Advanced . .
Field Layout . . PivotTable Field . PivotTable Field Layout 4,82 .
4 . 82 : PivotTable Field Layout .
tabular outline . Tabular - 4,92 . Outline 4,92 . .
301
93 :
4 . 92 : ) Tabular ( ) Outline ( .
: Insert blank line after each item . Insert page break after each item .
4
PivotTable Field ) 4,13 ( PivotTable Field . : Name . Subtotals . Show items with no data . Hide .
4 :
401
4 . 03 : PivotTable Field .
Subtotals Subtotals . . . Hide items. 1 Semester 2 Semester . . . . PivotTable Field .
Field Setting Advanced PivotTable Field Advanced Options 4,23 . .
501
93 :
4 . 13 : PivotTable Field Advanced Options / / .
. Access
4
. Retrieve external data for all page field items . . OLAP Query external data source as you select each page field item OLAP . OLAP . ODBC .
-Query external data source as you select each page field item .
4 :
601
. All . . - Disable pivoting of this field ) ( . .
Sort . AutoSort : - Manual . Ascending . ) ( A-Z Descending . ) ( Z-A Data source order . Top 10 AutoShow . ) (. 53 . . : On . Top Bottom Show . . Using Field . AutoShow . Advanced Field Setting Off .
701
04 : Sort AutoShow
Sort AutoShow Sort AutoShow . 4,33 . . SalesBySalesRep.xls .
4
4 . 23 : .
: 1. 021 A2:F . 2. PivotTable and PivotChart Report Data . 3. . 4. Sales Rep . 5. Sale Total . 6. Sum of Sale Total Field Setting . 7. Number Format Cells . 8. Currency . 9. OK .
4 :
801
- -. : 1. Sales Rep Field Setting . 2. Advanced PivotTable Field Advanced Options . 3. Sort Ascending . 4. OK . 4,43 . .
4 . 33 : Sales Rep .
AutoShow . . 1. Sales Rep Field Setting . 2. Advanced PivotTable Field Advanced Options . 3. AutoSort On . 4. Top . 5. 3 . 6. OK .
901
14 : 4,53 . . . Sales Rep AutoShow .
4 . 43 : AutoShow .
PivotTable Field Options . 4,63 . . Normal. . Sum, Average, Count . Show data as . . PivotTable Field . . .
4
4 :
011
4 . 53 : Options .
.
Widgets doohickeys . . 55 Widgets 541 001 . :
Normal . . !
111
14 : - : % of Row . % of Column . % of Total . Running Total Show data as . .- . ) . -( :
4
Running Total :
4 :
211
Jan . Feb Feb Jan 812=)59+321( . Mar Feb Mar: 953= ) 812+141(. . Show data as : . ) ( . ) (next ) (previous . : Difference From . % Of . - % Difference From . Show data as Index. : )) ( ) (( / )) ( ) ((
5
. .
311
511 711 121 321 621 131 631 24 34 44 54 64 74 84
411
511
24 :
. . .
. . . . 2% . . 2% . : 1. .
5
2. Formula PivotTable . Calculated Field . Insert Calculated Field 5,1 . 3. Name . 4. : . + ) ( - ) ( * ) ( / ) ( ^ ) (. Add . 5. Add . 6. OK . .
5 : OLAP OLAP .
611
5 .1 : Insert Calculated Field .
. : 1.*)=(ProductTaotal+ServiceTotal ProductTotal ServieceTotal 1,0 . ProductTotal ServieceTotal . Insert Calculated Field . . Name : Delete . Add .
711
34 :
5,2 . . RiverHeights.xls . .
5 .2 : .
1. 61 A2:D . Data . 2. PivotTable and PivotChart Report 3. . 4. . Date . 5. Location . 6. Max Heights Min Heights . 5,3 . .
5
5 :
811
5 .3 : .
. . : 1. . 2. Formula Calculated Field . Insert Calculated Field 5,4 . 3. Name :) Max Height ( M
5 .4 : Insert Calculated Field .
4. Backspace . .
911
34 : 5. : *8403,0 6. Max Height . 7. Insert Field . Max Height . Insert Calculated Field 5,5 . 8. OK . 9. 2 8 Minimum heights . ) Min Height ( M ) Min Height ( M ) Min Height ( M .
5
5 .5 : Insert Calculated Field maximum height .
5,6 . . . :
5 :
021
5 .6 : .
1. ) Sum of Max Height ( M . 2. Field Setting Field setting . 3. ) Maximum Height ( M . 4. Number Format Cells . 5. . 6. OK . 7. ) Sum of Min Height ( M )Minimum Height (M . . Feet . Grand Total E . : 1. PivotTable Options . 2. Grand Total for Row Grand Total for Column .
121
44 : 3. OK . 4. Sum of Max Height . 5. Field Setting . 6. Hide . 7. 4 6 Sum of Min Height . 5,7 . . . .
5
5 .7 : .
. . . Department Maintenance Design Accounting . . . . Formulas . Calculated Item Insert Calculated Item 5,8 . . Month
5 :
221
5 .8 : Insert Calculated Item .
) ( . 1. . 2. Group and Outline . 3. Ungroup . .
Fields . . . Insert Field . ) .( . . .
321
54 : 1. Name . . 2. Formula : . + ) ( - ) ( * ) ( / ) ( ^ ) (. Insert Item . 3. Add OK .
5,9 . SalesProjection.xls . : 1. . 2. 72 A2:C . 3. Data PivotTable and PivotChart Report . 4. . 5. Month Row . 6. Sales .
5
5 .9 : .
5 : 7. Sum of Sales Field Setting . 8. Number Format Cells . 9. Currency . 01. OK .
421
5,01 .
5 .01 : .
June . June 021% April May . : 1. May . . Formulas 2. Calculated Item Insert Calculated Item . 3. Name : ) .June ( projected 4. ) (. 5. : (*5. 6. Month . 7. May . 8. Insert Item . 9. . 01. Apr .
521
54 : 11. Insert Item Apr . 21. 2,1*) 5,11 .
5 .11 : Insert Calculated Item .June
31. Add OK . 5,21 .
5
5 .21 : .
. Category . Category . Category
5 :
621
. 5,31 . .
5 .31 : Category .
. . 01 B 01.F : 2,1*)=.5*(May+Apr Pants 2,1 4,1 . 01 D 2 F .
.
32 . . Options .
32
Drill down
721
64 : . . 5,41 . . SalesBySalesRep.xls Baker , J.T . Baker J.T. ... ...
5 .41 : )( )(.
. ) Delete Sheet Edit .(
5
Group and Show Detail Hide Detail Show Detail . . . . . . 5,51 TestScore.xls . Gender Age Group 5,51 . Gender .
5 :
821
5 .51 : )( )( Gender .
5,51 Age Group . . : ) (. Show Detail . . Show Detail . . TestScore 5,61 .
921
64 :
5 .61 : .
OK : . ) ( . . 5,71 . .
5
Age Group # Subject .
OLAP OLAP . Show Detail Hide Detail . High Levels . . Show Levels .
5 :
031
5 .71 : )( )( Age Group # Subject .
OLAP : 1. . 2. Property Fields Property Fields . 3. Choose properties . 4. . 5. Properties to display .
131
74 : 6. Show Fields for Dimension in Outline Form . 7. OK . . Show Detail .
. . 81 53. Group : 1 : 81 53 2 : 63 94 3 : 05 56
5
. . . : Boston, Hartford, New York :Northeast Atlanta, Miami, Charleston :South Chicago, Toledo, Omaha :Midwest . Group and Show Detail Group
5 :
231
. Grouping . Ungroup .
. Grouping 5,81 . Starting at Ending at . . By .
5 .81 : Grouping .
5,91 . :
5 .91 : .
331
74 : Grouping Age 81 56 01 5,02 .
5 .02 : Age 01 .
02-92 03-93 . : 1. . 2. 02 Starting at . 3. 95 Ending at . 5,12 :
5
5 .12 : .
OK 5,22 . : 02< . 02-92 03-93 ... 06> .
5 :
431
5 .22 : .
. . . Grouping 5,32 :
5 .32 : .
Starting at Ending at . ) ( . . By : . . . .
531
74 : . . 5 5 . 5,42 . . : .
5 .42 : .
Grouping Date of Survey Number 3 . 5,52 .
5
5 .52 : Date of Survey .
Starting at Ending at . . . Ending at 9/4/5002 5,62 . 9/4/5002 9/4/5002 > .
5 :
631
5 .62 : .Ending at
" " other items . ) .( Ctrl . Group Group . Show Details . .
. 5,72 SurveyResults2.xls .
731
84 :
5 .72 : .
: 1. : 003. A2:H 2. Data PivotTable and PivotChart Report .
5
3. Finish . 4. Race . 5. 1 Question . 6. 1 Question . 5,82 . 1 Question . .
5 :
831
5 .82 : .
. : Asian , Black, Hispanic Other. : 1. Asian ) " ( "Asian 2. Ctrl Black, Hispanic Other . 3. Ctrl . Group 4. Show Detail Group . 5,92 . 1 Group . 2 Race . 1 Group . White .
5 .92 : .
2 Race . Field Setting Subtotals Automatic . 5,03 .
931
84 :
5 .03 : .
. . . . : 1. Field Setting Field Setting . 2. Options . 3. Show data as % of Row . 4. OK . 5,13 .
5
5 .13 : .
5 :
041
6
. 42 . . . .
42
PivotChart
141
341 341 841 941 051 251 751 94 05 15 25 35 45 55
241
341
05 :
. . . . . . . . . .
: .
6
. . ) PivotChart .( .
6 :
441
. PivotTable and PivotChart Report . 1 ) PivotChart ( with PivotTable report 6,1 . .
6 .1 : .
6,2 . : . . PivotChart . ) .( . . . . . . .
541
05 : ! . . . 2 Chart 1, Chart ... . .
6
6 .2 : .
. sportingGoodsRawData.xls . 5 . 6,3 .
6 :
641
6 .3 : .
1. : 32. A2:K 2. Data PivotTable and PivotChart Report . 3. ) PivotChart report ( with PivotTable report . 4. Finish . 6,4 .
6 .4 : .
5. Region Drop Series Fields Here . 6. Date Drop Category Fields Here . 7. Camping Drop Data Items Here .
741
05 : 6,5 . . ) Show/Hide Field List .( ) 6,5 (. . 6,5 ) ( Date ) ( Region . .
6 .5 : .
.
6
4 Sheet. 6,6 .
6 .6 : .
6 :
841
. . 1. . 2. Select Entire Table . 3. Delete . . . . . . . Options Name .
. 6,7 . Plot area . Data series . . Category axis . Data series axis . 3 . Value axis . Chart title . Axis labels .
941
25 : Legend .
6 .7 : .
. . . . Field Setting Field Setting . ) 3 .( . Options Options . Refresh Data . Formulas . ) 5 .( Hide Field .
6
6 :
051
: Hide PivotChart Field Buttons . . .
. . ) ) Bubble XY (Scatter Stock .( . : 1. Chart Type . Chart Type . ) 6,8 .(
6 .8 : Chart Type .
2. .
151
25 : 3. Chart subtype . ) .( 4. Press and Hold to View Sample . 5. OK .
6 .9 : 6,5 3 Clustered .
. Chart Type Default Formatting .
6
Stacked column . Chart Type Set the default chart .
6 :
251
. . . . .
6,01 . .
6 .01 : .
6,11 . .
351
45 :
6 .11 : 6,01.
. 6,21 .
6 .21 : 6,01 .
6
6 .31 : 6,21.
6 :
451
6,41 . .
6 .41 : .
6,51 . . . Male .Female . Average Maximum , Minimum . . .
6 .51 : 6,41.
. Gender . 6,61 .
551
45 :
6 .61 : Gender .
. 6,71 .
6 .71 : Gender .
6
Gender . 6,81 6,91 . Gender . . .
6 .81 : Gender .
6 :
651
6 .91 : Gender .
. . . 6,02 . M . F Yes, No, Unsure.
6 .02 : .
6,12 : M-Yes, M- No . Age . .
751
55 :
6 .12 : 6,02 .
3 . 3 . SurveyResults3.xls 6,22 . 1. : 08.A2:E 2. Data PivotTable and PivotChart Report . 3. 1 PivotChart with PivotTable report . 4. Finish . 5. Gender Drop Category Fields Here . 6. Nationality . 7. Annual Income Drop Data Items Here .
6
6 :
851
6 .22 : .
6,32 . . Annual Income . 2 . : 1. . ) 6,42 .( 2. Sum of Annual Income . 3. Field Setting Field Setting . 4. Summarize by Average . 5. Number Format Cells . 6. . 7. OK Format Cells . 8. OK Field Setting . 9. .
951
55 :
6 .32 : .
6 .42 : .
6
Annual Income . 3 : 1. Chart Type . 2. Column 3- D Column . 3. OK .
6 :
061
6 .52 : Chart Type .
6,62 . ! 3 . . 3 . .
6 .62 : 3 .
161
55 : 1. . 2. Gender . 6,72 .
6 .72 : Gender .
3. . 4. Hide PivotChart Field Buttons . 5. legend ) M F ( Clear . legend . 6,82 Gender 3 .
6
6 .82 : 3 .
6 :
261
. . : . . . . . . . . . . . .
7
. . . . .
361
561 661 571 671 Cube 65 75 85 95 06
183 Cube
461
561
65 :
. . . . 53556 652 . ) 7002 6758401 48361 - -( . . . . . : 652 . 652 . 652 . 0004 3 00023 2 . 00523 . . . . ) Online Analytical Processing . OLAP OLAP . . OLAP .
7
OLAP . OLAP . .
7 :
661
. : . .
. ) .( . . 7,1 . .
7 .1 : .
7,1 . . . . . . . .
. . 7,2 7,1 .
761
75 :
7 .2 : .
. Supplier_ID . . Supplier_ID 1 . Wilson . : . . . . . . . .
7
7,1 7,2 . MS Access .
7 :
861
. 3 . . 7,3 . . Sale_ID . . .
7 .3 : .
. . . . . . Sales . Sales . 7,4 7,5 7,4 7,5 Sales .
961
75 : Sales . . Jackson 1 . .
7 .4 : .Sales
7 .5 : .Sales
. Customer_ID Sales Customer_ID . 1 Acme Work Metal 2 S&Q. . 7,6 Sales . ) .(
7
7 :
071
7 .6 : .Sales
Sales . . . . . . Gomez Acme Metal Works East End Inc . . . - . . " " Gomez " " Acme Metal Work Salesman_Customers Gomez Acme Metal Work . . . Salesman Customers . Salesman_Customers Customers Salesman . Sales Salesman_Customers . Customers_ID Salesman_ID Sales Salesman_Customers_ID . 7,7 Salesman_Customers_ID .
171
75 :
7 .7 : Sales .
Salesman_Customers . : - Salesman_Customers_ID Sales Salesman Customer . Salesman_ID Salesman . Customer_ID Customers . : Salesman_Customer_ID Sales Salesman_Customer_ID
. Salesman_Customer Customer_ID Salesman_Customer Salesman_Customer_ID
. Customer Salesman_ID Salesman_Customer Salesman_ID .Salesman
7
7,8 Salesman_Customer . 61 .
7 :
271
7 .8 : Salesman_Customer .
7,9 . Salesman_Customer Sales Customers Salesman .
7 .9 : Salesman_Customer .
7,01 Sales Sales_Customer_ID . . Sales Salesman_Customer_ID 11 . Salesman_Customer . 11 . 3 Salesman_ID 3 Customer_ID . East End Inc Gomez . East End Inc . Gomez
371
75 :
7 .01: Sales Salesman_Customer_ID .
. . . . . . . DayMonthYear . Sales DayMonthYear_ID . . 7,11 003 7,21 .
7
7 :
471
7 .11 : DayMonthYear .
7 .21 : .
. . .
571
85 : Microsoft SQL Server Oracle OLAP Server . .
. . . )/ ( . . . . ) ( People Customer Salesman. 7,31 .
7 .31 : People .
. Customers Acme Metal Works S&Q manufacturing . Salesman Jackson Anderson . 7,41 .
7
7 .41 : . ) (.
7 :
671
: . . . Mon, Tues, Wed, Fri . . . . Cube . Cube . Cube . ) Cube . - - ( . Cube . . . Cube . Cube . Cube . Cube . .
Cube Cube . Cube . . Cube . OLAP . 2 . Cube . . SalesData_Multidimensioal data.mdb . . : 1. .
771
95 : Cube Data New Database Query 2. Import External Data Choose Data Source . ) 7,51 (
7 .51 : .Choose Data Source
3. Database MS Access . Query Wizard . 4. OK Select Database . . 5. Query Wizard . ) 7,61 .( .
7
7 .61 : .
6. Next . ) .(
7 : 7. 7,71 Create an OLAP Cube . 8. Finish Query OLAP Cube .
871
7 .71 : Cube .
. Cube OLAP Cube Wizard . Cube . OLAP Cube Wizard Next 1 OLAP Cube Wizard 7,81 . ) ( . OLAP Cube Wizard . . .
7 .81 : 1 OLAP Cube Wizard .
971
95 : Cube 7,81 . Day_ID. 1 Day_ID Day_ID l DayMonthYear .DayOfWeek 1 . : . Amount Sum . Next 7,91 .
7 .91 : OLAP Cube Wizard OLAP Cube .
. .
7
. . Cube .
7 :
081
Cube . . . . 2 OLAP Cube Wizard . 7,91 . : 1. Salesman_Name . OLAP Cube 7,02 . . .
7 .02 : Salesman_Name .OLAP Cube
2. Salesman_Name ) ( Rename . 3. Person . 7,12 . .
7 .12 : Salesman_Name Person .
4. Customer_Name Person . 7,22 .
181
95 : Cube
7 .22 : Customer_Name Person .
5. Year " "Drop fields here to create a dimension . 6. Year Date . 7. Month Year . Date Year . 8. Day Month . Date Month . 7,32 .
7 .32 : Year, Month, Day Date .
9. Next . 0 .( : . 4 . . 7 8 .
7
. . . PLAP Cube Wizard 7,42 Cube . :
7 :
281
7 .42 : OLAP Cube Wizard .cube
Retrieving data on demand Cube . Cube . . . Retrieve data all at once . . . Saving a cube file Cube . Cube . .oqy . OQY CUB . Finish . OLAP Cube . . Finish . .
381
06 : Cube
Cube Cube . . . Cube . : 1. Data PivotTable and PivotChart Report . 2. External Data Source . 3. Next 2 . 4. Get Data Choose Data Source . OLAP Cube 7,52 .
7 .52 : Cube .
5. Cube OK . Cube Browse . 6. .
7
Cube . 7,62 .
7 :
481
7 .62 : Cube .
. Date Person . . Date Year, Month, Day . . . . Sum of Amount . Cube . . : 1. ) ( Date . . Year . 2. Person . 3. Sum of Amount . OLAP OLP Cube : . . . 4. Sum Of Amount Format Cells . 5. .
581
06 : Cube 7,72 . . Date Year Month Day .
7 .72 : .
. Customer_Name Group Show Detail Show Detail . Salesman_Name . 7,82 .
7 .82 : Customer_Name Salesman_Name .
7
Year . .Month Month . 7,92 . .
7 :
681
7 .92 : .
OLAP OLAP . . OLAP . . . Sum Average . Cube . Formula . . Show Pages .
8
. . .
781
981 291 591 891 GETPIVOTDATA GETPIVOTDATA 46 16 26 36
881
981
16 : GETPIVOTDATA
GETPIVOTDATA 8 51 G . 51 ).G 51 (G . : . . 51 G 22 H. . GETPIVOTDATA.
GETPIVOTDATA GETPIVOTDATA . : )...,2GETPIVOTDATA(data_field,pivot_table,field1,item1,field2,item data_field . . pivot_table . 1 field 1 item . 2 field 2 item . 41 . . . 8,1 .
8 :
091
8 .1 : .
. : )=GETPIVOTDATA(Sales,$A$3,Month,Jan,Category,Accessories
: Sales Sales. Sales . 3 $A . Month Jan Month Jan . Category Accessories . Category Accessories . 8,1 . Category Accessories Month Jan 5 B 5481 . . : )=GETPIVOTDATA(Sales,$A$3,Month,Jan
191
16 : GETPIVOTDATA Month = Jan 18901 .
8
)=GETPIVOTDATA(Sales,$A$3,Category,Pants Category = Pants 65121 . . )3$=GETPIVOTDATA(Sales,$A 84586 . #REF GETPIVOTDATA . GETPIVOTDATA #REF . GETPIVOTDATA GETPIVOTDATA . . GETPIVOTDATA . . GETPIVOTDATA : pivot_table . GETPIVOTDATA . pivot_table #REF . field item #REF .
8 :
291
GETPIVOTDATA GETPIVOTDATA . . . .
GETPIVOTDATA . . . GETPIVOTDATA . : 1. Tools Customize Customize . ) 8,2 .( 2. Data . 3. Generate GetPivotData . 4. . 5. Close Customize . Generate GetPivotData :
. GETPIVOTDATA .
391
26 :
8
8 .2 : Generate GetPivotData .
GETPIVOTDATA GETPIVOTDATA . 8,3 .
8 .3 : .
GETPIVOTDATA 11 D . : )=GETPIVOTDATA(Amount,$A$5,Month,Mar : Size Large . .
8 :
491
GETPIVOTDATA . GETPIVOTDATA .
GETPIVOTDATA OLAP GETPIVOTDATA OLAP . . )][( . 7 8,4 :
8 .4 : OLAP .
GETPIVOTDATA Anderson Acme Metal Works 3002 . : .]=GETPIVOTDATA([Measures].[Sum Of Amount],$A$3,[Date],[Date].[All )][2003],[Person],[Person].[All].[Acme Metal Works].[Anderson 7 Year Cube Date . Customer_Name Salesman_Name Person . GETPIVOTDATA . GETPIVOTDATA OLAP .
591
36 : GETPIVOTDATA
GETPIVOTDATA / 8 GETPIVOTDATA . 8,4 . 7 OLAP . Year Month DayOfWeek . 5 Anderson Acme Metal Works 1002 . GETPIVOTDATA 425683 . Show Detail Year . 8,5 . Anderson Acme Metal Works . GETPIVOTDATA . . GETPIVOTDATA . #REF .
8 .5 : GETPIVOTDATA.
GETPIVOTDATA OLAP . 8,6 Year . ) ( 5002 .
8 :
691
. GETPIVOTDATA . . 1. OLAP . 2. . . 3. : 5002 Sales for 4. . . 5. . 6. . 8,7 .
8 .6 : .
8 .7 : .
791
36 : GETPIVOTDATA GETPIVOTDATA
8
. Anderson Acme Metal Works . Anderson Acme Metal Works . 5 G . . : 1. Anderson Acme Metal Works . 2. : = ) (. 3. 5002/. Anderson/Acme Metal Works 5 G. 4. GETPIVOTDATA . 5. Chang Acme Metal Works . 6. : = ) (. 7. 5002/ Chang/ Acme Metal Works . 8,6 6 G . 8. 61 . 9. . 8,8 .
8 .8 : GETPIVOTDATA .
PivotChart . 1. .
8 : 2. Chart Wizard . 3. Next . 4. Next 4 . 5. . 6. Finish .
891
8,9 . .
8 .9 : GETPIVOTDATA .
. . .
991
46 : . OLAP Cube
8
. . : 1. . Select . 2. PivotTable Entire Table 3. Ctrl+C Edit Copy . 4. . . . 5. Ctrl+V Edit Paste . ) Paste Special ( . Data . . : 1. . Select . 2. Entire Table 3. Ctrl+C Edit Copy . 4. . 5. Edit Paste Special Paste Special . 6. Values . 7. OK . Paste Special .
8 :
002
9
. . . .
102
302 602 902 012 112 312 412 56 66 76 86 96 07 17
202
302
56 :
. 9,1 . .
9
.
9 .1 : .
. 9,2 . .
9 .2 : .
. . Genre : 1. .
9 : 2. Data Subtotals Subtotals . ) 9,3 (
402
9 .3 : Subtotals .
3. At each change in Genre . 4. Use function . ) Sum ( . ) 6 .( 5. Add subtotal to . Titles in Stock . 6. : Replace Current Subtotals . . Page Break Between Groups 52 . ) .( Summary Below Data . . 7. OK .
52
Page break
502
56 :
9,4 Genre . 9,2 . .
9
9 .4 : Genre .
. : Average . ) (. Count . CountA . Max . Min . Product . StDev . StDevP . Sum . Var . VarP .
9 :
602
Remove All Subtotals .
. . 9,5 . 9,1 . VideoDataWithRating.xls .
9 .5 : .
. : 1. VideoDataWithRating.xls . 2. . Data Sort . ) 9,6 .( 3. Sort 4. Sort by Genre Ascending . 5. Then by Rating Ascending . 6. Header row .
702
66 : 7. OK . 8. Data Subtotal Subtotal . ) 9,3 .( 9. At each change in Genre . 01. Use function Sum . 11. Add subtotal Titles in Stock .
9
21. Summary below data . 31. OK .
9 .6 : .
9,7 . Genre . Rating:
9 :
802
9 .7 : .Genre
1. Data Subtotal Subtotal . 2. At each change in Rating . 3. Use function Sum . 4. Add subtotal to Titles in Stock . 5. Page Break between groups Summary below data . Replace current subtotals . 6. OK . 9,8 . Rating .
902
76 :
9
9 .8 : Genre .Rating
. 62 . 9,9 .
9 .9 : .62
outline
9 :
012
:
. . . . . .
. . . GETPIVOTDATA . .
. . average Sum . . 9,5 . " " . D . . : DAverage . DCOUNT .
112
96 : DAMX . DMIN . DPRODUCT . DSTDEV . DSTDEVP . ) .( DSUM .
9
DVAR . DVARP . : )DXXXXX(Database, Field, Criteria Database . 051 A1:J . Field . Criteria .
. . DSUM Genre Drama . . . 9,01 Adventure Genre .
9 .01 : .
9 :
212
) ( adventure . 3 G2:G . : )3=DSUM(A1:D46, Titles in Stock, G2:G : 64 A1:D . Titles in Stock . 3 G2:G . . . 9,11 Age 32 . . . .
9 .11 : .
: 51 0 51 0 > 0 0= =