Работа с таблици в excel tables, pivottables, и...
Post on 08-May-2018
226 Views
Preview:
TRANSCRIPT
Упражнение 15
Работа с таблици в Excel Tables, PivotTables, и
PivotCharts
XPXPСъдържание• Структурирани данни• Замръзване на редове и колони• Планиране и създаване на таблици в
Excel• Сортиране на данни • Филтриране на данни• Създаване на PivotTable• Прилагане на стилове в PivotTable• Създаване на PivotChart
2
XPXPСтруктуриране на данни• Едно от най-честите приложения на
ексел е да управлява данни. • Като използвате Excel можете да
съхранявате, осъвременявате и променяте данни, търсите и сортирате данни, сумирате данни и създавате отчети.
• Всяка колона представлява поле field• Всеки ред представлява запис record
New Perspectives on Microsoft Office Excel 2007 3
XPXPЗамръзване Freezing на редове и колони • Freezing позволява да запазите
заглавията видими, докато работите в страници с много редове.
• За да обездвижите ред или колона, трябва да изберете непосредствената клетка под реда и вдясно от съответната колона.
• Във View tab • В групата Window, изберете бутона
Freeze Panes New Perspectives on Microsoft Office Excel 2007 4
XPXPFreezing Rows and Columns
New Perspectives on Microsoft Office Excel 2007 5
XPXPСъздаване на таблица в Excel• Натиснете Insert tab и тогава
изберете Table button
New Perspectives on Microsoft Office Excel 2007 6
XPXPСъздаване на Excel Table
New Perspectives on Microsoft Office Excel 2007 7
XPXPПромяна на името на Excel Table
New Perspectives on Microsoft Office Excel 2007 8
XPXPДопълване на запис в Excel Table
• Натиснете на последния ред в таблицата на Excel
• Изберете стойностите на новия запис, натиснете Tab key за да се придвижвате между полетата
• Натиснете Tab key за да създадете нов запис или Enter key ако това е последния запис
New Perspectives on Microsoft Office Excel 2007 9
XPXPНамиране и коригиране на запис
• В Editing на таб Home, намерете Find & Select button и изберете Find
• Изберете критерии за търсене в Find what box, и тогава натиснете на Find & Select button
New Perspectives on Microsoft Office Excel 2007 10
XPXPСортиране на данни• Можете да промените или да
сортирате записите в таблицата, на база на записите в едно или повече полета.
• Полетата, които използвате за сортиране се наричат sort fields
• Можете да сортирате данните по възходящ или низходящ ред
New Perspectives on Microsoft Office Excel 2007 11
XPXPСортиране на данни
12
XPXPФилтриране с една колона
New Perspectives on Microsoft Office Excel 2007 13
XPXPФилтриране с една колона
New Perspectives on Microsoft Office Excel 2007 14
XPXPФилтриране с няколко колони• Ако трябва още да стесните
записите, които са във филтрираната таблица, трябва да филтрирате чрез други колони
• Всеки допълнителен филтър се прибавя към вече филтрираната таблиця и намалява още записите.
New Perspectives on Microsoft Office Excel 2007 15
XPXPСъздаване на условни филтри• Criteria filters ви позволява да
определите условия, освен тези които са “равни”
New Perspectives on Microsoft Office Excel 2007 16
XPXP
New Perspectives on Microsoft Office Excel 2007 17
Създаване на условни филтри
XPXPИзползване на Total Row за изчисляване на статистика
• A Total row, който се намира в крайния ред на таблицата се използва за изчисляване на суми и статистика за колоните в ексел
• Натиснете Table Tools Design tab on the Ribbon, и тогава, в Table Style Options group, натиснете Total Row check box to insert a check mark
New Perspectives on Microsoft Office Excel 2007 18
XPXPИзчисляване на Subtotals за Range of Data• Сортирайте данните по колони за които
искате subtotal• Ако данните са в Excel table, в Tools group
на Table Tools Design tab, натиснете Convert to Range button, и тогава изберете the Yes button за да конвертирате Excel таблица в range
• In the Outline group on the Data tab, click the Subtotal button
• Click the At each change in arrow, and then click the column that contains the group you want to subtotal
New Perspectives on Microsoft Office Excel 2007 19
XPXPCalculating Subtotals for a Range of Data• Click the Use function arrow, and then click
the function you want to use to summarize the data
• In the Add subtotal to box, click the check box for each column that contains the values you want to summarize
• To calculate another category of subtotals, click the Replace current subtotals check box to remove the check mark, and then repeat the previous three steps
• Click the OK button
New Perspectives on Microsoft Office Excel 2007 20
XPXPCalculating Subtotals for a Range of Data
New Perspectives on Microsoft Office Excel 2007 21
XPXPCalculating Subtotals for a Range of Data
New Perspectives on Microsoft Office Excel 2007 22
XPXPUsing the Subtotal Outline View• The three Outline buttons at the top of
the outline area allow you to show or hide different levels of detail in the worksheet
New Perspectives on Microsoft Office Excel 2007 23
XPXPАнализ на данни с PivotTables
• PivotTable е интерактивна таблица, която ви помага да групирате и изчислявате данни в единен табличен вид за бързи отчети и анализ.
New Perspectives on Microsoft Office Excel 2007 24
Microsoft Office Excel 25
XPXPPivot Table
• Позволява ви да:– Групирате – Изчислявате сбора
• Достъпни категории:– COUNT– SUM– AVERAGE–MAX and MIN
Microsoft Office Excel 26
XPXPPivot Елементи
• Полета на колоните• Полета на редовете• Полета на страниците • Полета от данни
Microsoft Office Excel 27
XPXPПредимства на Pivot Tables
• Лесно се променят, показват и скриват данни
• Показват “различни” таблици за “различни” данни
XPXP
Last Name Sales Country QuarterSmith $16,753.00UK Qtr 3Johnson $14,808.00USA Qtr 4Williams $10,644.00UK Qtr 2Jones $1,390.00USA Qtr 3Brown $4,865.00USA Qtr 4Williams $12,438.00UK Qtr 1Johnson $9,339.00UK Qtr 2Smith $18,919.00USA Qtr 3Jones $9,213.00USA Qtr 4Jones $7,433.00UK Qtr 1Brown $3,255.00USA Qtr 2Williams $14,867.00USA Qtr 3Williams $19,302.00UK Qtr 4Smith $9,698.00USA Qtr 1
Пример
XPXP
Country - all -
Sum - Sales Last NameQuarter Brown Johnson Jones Smith Williams Total ResultQtr 1 $7,433.00 $9,698.00 $12,438.00 $29,569.00Qtr 2 $3,255.00 $9,339.00 $10,644.00 $23,238.00Qtr 3 $1,390.00 $35,672.00 $14,867.00 $51,929.00Qtr 4 $4,865.00 $14,808.00 $9,213.00 $19,302.00 $48,188.00
Пример – обща таблица
XPXP
Country UK
Sum - Sales Last NameQuarter Johnson Jones Smith Williams Total ResultQtr 1 $7,433.00 $12,438.00 $19,871.00Qtr 2 $9,339.00 $10,644.00 $19,983.00Qtr 3 $16,753.00 $16,753.00Qtr 4 $19,302.00 $19,302.00
Country USA
Sum - Sales Last NameQuarter Brown Johnson Jones Smith Williams Total ResultQtr 1 $9,698.00 $9,698.00Qtr 2 $3,255.00 $3,255.00Qtr 3 $1,390.00 $18,919.00 $14,867.00 $35,176.00Qtr 4 $4,865.00 $14,808.00 $9,213.00 $28,886.00
Пример – 2 отделни страни
XPXPСъздаване на PivotTable• Click in the Excel table or select the range of data for
the PivotTable• In the Tables group on the Insert tab, click the
PivotTable button• Click the Select a table or range option button and
verify the reference in the Table/Range box• Click the New Worksheet option button or click the
Existing worksheet option button and specify a cell• Click the OK button• Click the check boxes for the fields you want to add to
the PivotTable (or drag fields to the appropriate box in the layout section)
• If needed, drag fields to different boxes in the layout sectionNew Perspectives on Microsoft Office Excel 2007 31
XPXPCreating a PivotTable
New Perspectives on Microsoft Office Excel 2007 32
XPXPCreating a PivotTable
New Perspectives on Microsoft Office Excel 2007 33
XPXPAdding a Report Filter to a PivotTable• A report filter allows you to filter the
PivotTable to display summarized data for one or more field items or all field items in the Report Filter area
New Perspectives on Microsoft Office Excel 2007 34
XPXPFiltering PivotTable Fields• Filtering a field lets you focus on a
subset of items in that field• You can filter field items in the
PivotTable by clicking the field arrow button in the PivotTable that represents the data you want to hide and then uncheck the check box for each item you want to hide
New Perspectives on Microsoft Office Excel 2007 35
XPXPRefreshing a PivotTable• You cannot change the data directly in
the PivotTable. Instead, you must edit the Excel table, and then refresh, or update, the PivotTable to reflect the current state of the art objects list
• Click the PivotTable Tools Options tab on the Ribbon, and then, in the Data group, click the Refresh button
New Perspectives on Microsoft Office Excel 2007 36
XPXPGrouping PivotTable Items• When a field contains numbers, dates,
or times, you can combine items in the rows of a PivotTable and combine them into groups automatically
New Perspectives on Microsoft Office Excel 2007 37
XPXPCreating a PivotChart• A PivotChart is a graphical
representation of the data in a PivotTable
• A PivotChart allows you to interactively add, remove, filter, and refresh data fields in the PivotChart similar to working with a PivotTable
• Click any cell in the PivotTable, then, in the Tools group on the PivotTable Tools Options tab, click the PivotChart buttonNew Perspectives on Microsoft Office Excel 2007 38
XPXPCreating a PivotChart
New Perspectives on Microsoft Office Excel 2007 39
XPXPЗадача
• Оформете таблицата от анкетата ви като excell таблица. 10 т.
• Направете Pivot table за таблицата от вашата анкета. 30 т.
• Направете графики Pivot Chart за анкетата. 10 т.
top related