Академический Документы
Профессиональный Документы
Культура Документы
ADVANCED EXCEL
( Version 2007 )
Introduction
Easy to automate
Excellent reputation
Introduction
1
Micrisoft Office EXCEL 2007
Introduction
Introduction
2
Micrisoft Office EXCEL 2007
Introduction
Word Processor Word Word Word Word Word Word Word Word
Spreadsheet
p Excel Excel Excel Excel Excel Excel Excel Excel
Introduction
3
Micrisoft Office EXCEL 2007
PivotTables, which are used to create analysis reports out of sets of data, can now
support hierarchical data by displaying a row in the table with a "+" icon, which,
when clicked, shows more rows regarding it, which can also be hierarchical.
PivotTables can also be sorted and filtered independently, and conditional formatting
used to highlight trends in the data.
Filters, now includes a Quick filter option allowing the selection of multiple items from
a drop down list of items in the column. The option to filter based on color has been
added to the choices available.
Introduction
Column titles can optionally show options to control the layout of the column.
Live Preview
Microsoft Office 2007 also introduces a feature called "Live Preview",
which temporarily applies formatting on the focused text or object when
any formatting button is moused - over. The temporary formatting is removed
when the mouse pointer is moved from the button. This allows users to have a
preview of how the option would affect the appearance of the object,
without actually applying it.
Introduction
4
Micrisoft Office EXCEL 2007
Microsoft® Office
Excel® 2007 Training
Get up to speed
Get up to speed
5
Micrisoft Office EXCEL 2007
Get up to speed
The commands you need are now more clearly visible and
more readilyy available in one control center called the
Ribbon.
Get up to speed
6
Micrisoft Office EXCEL 2007
Get up to speed
Begin
g at the
beginning.
Get up to speed
7
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
8
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
9
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
10
Micrisoft Office EXCEL 2007
Keyboard shortcuts of old that begin with CTRL are still intact, and
you can use them the same way you always have.
For example, the shortcut CTRL+C still copies something to the
clipboard, and the shortcut CTRL+V still pastes something from the
clipboard.
Get up to speed
A new view
Not only the Ribbon is
new in Excel 2007.
Get up to speed
11
Micrisoft Office EXCEL 2007
A new view
To see the new view,
click Page Layout
View on the View
toolbar .
Column headings.
Row headings.
Margin rulers.
Get up to speed
A new view
In Page Layout view
there are page margins
at the top, sides, and
bottom of the worksheet,
and a bit of blue space
between worksheets.
Get up to speed
12
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
13
Micrisoft Office EXCEL 2007
Get up to speed
Do the following:
Get up to speed
14
Micrisoft Office EXCEL 2007
Insert a column
Now you want to add
a column to your
worksheet to identify
product categories.
It should go between
two existing columns
of data, Quantity and
Supplier.
Get up to speed
Insert a column
Follow this procedure to add the column between the Quantity column
and the Supplier column:
1. Click in the Supplier column. Then on the Home tab, in the Cells
group,
g p, click the arrow on Insert.
2. On the menu that appears, click Insert Sheet Columns. A new
blank column is inserted, and you enter the new data in the
column.
3. If you need to adjust the column width to fit the data, in the Cells
group, click the arrow on Format. In the list that appears, click
AutoFit Column Width.
Get up to speed
15
Micrisoft Office EXCEL 2007
To make it so, select the row with the titles and then on
the Home tab, in the Font group, click Bold.
Get up to speed
You can also see how the title will look in different colors
by pointing at any color and waiting a moment.
Get up to speed
16
Micrisoft Office EXCEL 2007
Get up to speed
Enter a formula
Before handing off
your report, you want
to add up the numbers
in the Quantity
column.
column
It’s easy: Use the Sum
button .
Get up to speed
17
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
18
Micrisoft Office EXCEL 2007
Print
It’s time to print the
report.
Get up to speed
Print
It’s time to print the
report.
Get up to speed
19
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
20
Micrisoft Office EXCEL 2007
Get up to speed
Get up to speed
21
Micrisoft Office EXCEL 2007
Get up to speed
• New features
• Safer files
• Less risk of file corruption
Get up to speed
22
Micrisoft Office EXCEL 2007
Get up to speed
• Excel Workbook (*.xlsx). Use when there are no macros or VBA code.
• Excel Macro-Enabled Workbook (*.xlsm). Use when there are macros or VBA
code.
Get up to speed
23
Micrisoft Office EXCEL 2007
• Excel Macro-Enabled Template (*.xltm). Use when you need a template and
the workbook contains macros or VBA
VBA.
Get up to speed
• Excel 97-Excel 2003 Workbook (*.xls). Use when you need to share with
someone working in a previous version of Excel
Excel.
• Microsoft Excel 5.0/95 Workbook (*.xls). Use when you need to share with
someone using Microsoft Excel 5.0.
Get up to speed
24
Micrisoft Office EXCEL 2007
Microsoft® Office
Excel® 2007 Training
25
Micrisoft Office EXCEL 2007
The Ribbon
The band at the top of
the Excel 2007
window is called the
Ribbon.
You click the tabs at the top of the Ribbon to see the
different commands on each tab.
26
Micrisoft Office EXCEL 2007
The Ribbon
The Home tab, first on
the left, contains the
everyday commands
that people use most.
27
Micrisoft Office EXCEL 2007
Here’s how.
28
Micrisoft Office EXCEL 2007
29
Micrisoft Office EXCEL 2007
The picture on the left shows what you see when you
p a new workbook.
open
The headings for the column and row in which the cell is
located are also highlighted.
30
Micrisoft Office EXCEL 2007
31
Micrisoft Office EXCEL 2007
Enter data
You can use Excel to
enter all sorts of data,
professional or
personal.
32
Micrisoft Office EXCEL 2007
33
Micrisoft Office EXCEL 2007
Start typing
Say you’re creating a
list of salespeople
names.
Start typing
Say you’re creating a
list of salespeople
names.
34
Micrisoft Office EXCEL 2007
Start typing
Say you’re creating a
list of salespeople
names.
35
Micrisoft Office EXCEL 2007
Enter numbers
Excel aligns numbers
on the right side of
cells.
36
Micrisoft Office EXCEL 2007
Enter numbers
Other numbers and how to enter them
37
Micrisoft Office EXCEL 2007
Edit data
Say that you meant to
enter Peacock’s name
in cell A2, but you
entered Buchanan’s
name by mistake.
mistake
38
Micrisoft Office EXCEL 2007
Edit data
What’s the difference
between the two
methods?
Your convenience.
You may find the
Formula Bar, or the
cell itself, easier to
work with.
Edit data
What’s the difference
between the two
methods?
Your convenience.
You may find the
Formula Bar, or the
cell itself, easier to
work with.
39
Micrisoft Office EXCEL 2007
Edit data
What’s the difference
between the two
methods?
Your convenience.
You may find the
Formula Bar, or the
cell itself, easier to
work with.
40
Micrisoft Office EXCEL 2007
Until you do, any data you enter in that cell will have
special formatting.
41
Micrisoft Office EXCEL 2007
42
Micrisoft Office EXCEL 2007
43
Micrisoft Office EXCEL 2007
Microsoft® Office
Excel® 2007 Training
Enter formulas
Enter formulas
44
Micrisoft Office EXCEL 2007
Get started
Imagine that Excel is
open and you’re
looking at the
“Entertainment”
section of a household
expense budget.
Enter formulas
Enter formulas
45
Micrisoft Office EXCEL 2007
The plus sign (+) is the math operator that tells Excel to
add the values.
Enter formulas
If you wonder later how you got this result, you can click
in cell C6 any time and view the formula in the formula
bar near the top of the worksheet.
Enter formulas
46
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
47
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
48
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
49
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
50
Micrisoft Office EXCEL 2007
Excel can
automatically update
totals to include
changed values.
To add 3.99 to 11.97, you would click in cell C4, type the
following
g formula into the cell, and then p
press ENTER:
=11.97+3.99
Enter formulas
Enter formulas
51
Micrisoft Office EXCEL 2007
In the first lesson you saw how to use the SUM function
to add all the values in a column.
You could also use the SUM function to add just a few
values in a column, by selecting the cell references to
include.
Enter formulas
In cell C9, type the equal sign, type SUM, and type an
opening
ope g parenthesis.
pa e t es s
Click cell C4. The cell reference for cell C4 appears in
cell C9. Type a comma after it in cell C9.
Enter formulas
52
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
53
Micrisoft Office EXCEL 2007
Reference types
Now that you’ve
learned about using
cell references, it’s
time to talk about the
different types
types.
Enter formulas
Reference types
Now that you’ve
learned about using
cell references, it’s
time to talk about the
different types
types.
Enter formulas
54
Micrisoft Office EXCEL 2007
Reference types
There’s one more type
of cell reference.
Enter formulas
Enter formulas
55
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
56
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
57
Micrisoft Office EXCEL 2007
Find an average
You can use the
AVERAGE function to
find the mean average
cost of all
entertainment for
January and February.
Enter formulas
Enter formulas
58
Micrisoft Office EXCEL 2007
Enter formulas
Print formulas
You can print formulas
and put them up on
your bulletin board to
remind you how to
create them
them.
Here’s how:
Enter formulas
59
Micrisoft Office EXCEL 2007
Print formulas
You can print formulas
and put them up on
your bulletin board to
remind you how to
create them
them.
Here’s how:
Enter formulas
Enter formulas
60
Micrisoft Office EXCEL 2007
Enter formulas
Enter formulas
61
Micrisoft Office EXCEL 2007
Enter formulas
Microsoft® Office
Excel® 2007 Training
Some of the important functions
* Named Ranges
* Past Special
* Sorting, Auto filtering & Advance Filtering Data
* Lookup & Logical Functions
* Sharing & Reviewing Workbooks
* Security setting
62
Micrisoft Office EXCEL 2007
Whether or not you define named cells or ranges (range: Two or more cells on
a sheet. The cells in a range can be adjacent or nonadjacent.) on your worksheet,
you can use the Name box (Name box: Box at left end of the formula bar that
identifies the selected cell, chart item, or drawing object. To name a cell or range,
type the name in the Name box and press ENTER. To move to and select a
named cell, click its name in the Name box.) to quickly locate and select them by
entering their names or their cell references (cell reference: The set of
coordinates that a cell occupies on a worksheet. For example, the reference of the
cell that appears at the intersection of column B and row 3 is B3.). You can also
select named or unnamed cells or ranges by using the Go To command.
Named Ranges
IMPORTANT To select named cells and ranges, you must first define them on
your worksheet (worksheet: The primary document that you use in Excel to store
and work with data. Also called a spreadsheet. A worksheet consists of cells that
are organized into columns and rows; a worksheet is always stored in a workbook.).
Named Ranges
63
Micrisoft Office EXCEL 2007
Paste Special
Past
All Pastes all cell contents and formatting of the copied data.
Formulas Pastes only the formulas of the copied data as entered in the formula bar.
Values Pastes only the values of the copied data as displayed in the cells
cells.
Formats Pastes only cell formatting of the copied data.
Comments Pastes only comments attached to the copied cell.
Validation Pastes data validation rules for the copied cells to the paste area.
All using Source theme Pastes all cell contents in the document theme formatting
that is applied to the copied data.
All except borders Pastes all cell contents and formatting applied to the copied cell
except borders.
Column widths Pastes the width of one copied p column or range
g of columns to
another column or range of columns.
Formulas and number formats Pastes only formulas and all number formatting
options from the copied cells.
Values and number formats Pastes only values and all number formatting options
from the copied cells.
Paste Special
64
Micrisoft Office EXCEL 2007
Operation
Specify which mathematical operation, if any, that you want to apply to the
copied data.
None Specifies that no mathematical operation will be applied to the copied data.
Add Specifies that the copied data will be added to the data in the destination cell
or range of cells.
Subtract Specifies that the copied data will be subtracted from the data in the
destination cell or range of cells.
Multiply Specifies that the copied data will be multiplied with the data in the
destination cell or range of cells.
Divide Specifies that the copied data will be divided by the data in the
destination cell or range of cells.
Ski blanks
Skip bl k Avoids
A id replacing
l i valuesl iin your paste
t area when
h bl blank
k cells
ll occur
in the copy area when you select this check box.
Transpose Changes columns of copied data to rows, and vice versa when
you select this check box.
Paste Link Links the pasted data on the active worksheet to the copied data.
Paste Special
DATA SORTING
Sorting data is an integral part of data analysis.
In Excel 2007, you can apply sort states with up to sixty-four sort conditions
to sort data by, but earlier versions of Excel support sort states with up to three
conditions
diti only.
l
DATA SORTING
65
Micrisoft Office EXCEL 2007
DATA SORTING
You can also filter by more than one column. Filters are additive, which means that
each additional filter is based on the current filter and further reduces the subset of
data.
Using AutoFilter, you can create three types of filters: by a list values, by a format, or
by criteria. Each of these filter types is mutually exclusive for each range of cells or
column table. For example, you can filter by cell color or by a list of numbers, but not
by both; you can filter by icon or by a custom filter, but not by both.
66
Micrisoft Office EXCEL 2007
Advanced Filter
67
Micrisoft Office EXCEL 2007
IMPORTANT
Because the equal sign (=) is used to indicate a formula when you type text or a
value in a cell, Excel evaluates what you type; however, this may cause unexpected
filter results
results. To indicate an equality comparison operator for either text or a value
value,
type the criteria as a string expression in the appropriate cell in the criteria range:
=''=entry'‘
Where entry is the text or value you want to find. For example:
Advanced Filter
To find rows that meet multiple criteria for one column, type the criteria
directly below each other in separate rows of the criteria range.
Advanced Filter
68
Micrisoft Office EXCEL 2007
To find rows that meet multiple criteria in multiple columns, type all of the
criteria in the same row of the criteria range.
Advanced Filter
Advanced Filter
69
Micrisoft Office EXCEL 2007
To find rows that meet multiple sets of criteria, where each set includes
criteria for multiple columns, type each set of criteria in separate rows.
Advanced Filter
To find rows that meet multiple sets of criteria, where each set includes
criteria for one column, include multiple columns with the same column
heading.
Advanced Filter
70
Micrisoft Office EXCEL 2007
VLOOKUP
Searches for a value in the first column of a table array and returns a value
in the same row from another column in the table array.
The V in VLOOKUP stands for vertical.
vertical Use VLOOKUP instead of
HLOOKUP when your comparison values are located in a column to the
left of the data that you want to find.
VLOOKUP
Syntax
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
Lookup_value The value to search in the first column of the table array.
Lookup_value can be a value or a reference. If lookup value is smaller than
the smallest value in the first column of table array, VLOOKUP returns the
#N/A error value.
Table array Two or more columns of data. Use a reference to a range or a
range name. The values in the first column of table array are the values
searched by lookup_value. These values can be text, numbers, or logical
values.
l U
Uppercase and d llowercase ttextt are equivalent.
i l t
Col_index_num The column number in table_array from which the
matching value must be returned. A col_index_num of 1 returns the value in
the first column in table_array; a col_index_num of 2 returns the value in the
second column in table_array, and so on.
VLOOKUP
71
Micrisoft Office EXCEL 2007
Logical functions
Function : Description
AND : Returns TRUE if all of its
arguments are TRUE
FALSE : Returns the logical value
FALSE
IF : Specifies a logical test to perform
IFERROR : Returns a value you specify if
a formula evaluates to an error; otherwise,
returns the result of the formula
NOT : Reverses the logic of its argument
OR : Returns TRUE if any argument is
TRUE
TRUE : Returns the logical value TRUE
Logical Functions
There are many ways to share, analyze, and communicate business information
and data in Microsoft Office Excel 2007. The way that you choose to share data
depends on many factors, including how you want others to view or work with the
data. For example, do you want to keep sensitive or important information from
being modified, or do you want to allow users to change and edit the data? Perhaps
you need to share data with users who do not have Microsoft Office Excel or have
different versions of Excel. Maybe you just want to share a fixed version of your
workbook that can easily be sent in e-mail and printed.
72
Micrisoft Office EXCEL 2007
This article is an overview that discusses how to share data in Excel, what you
and others need in order to view or work with the data, and the limitations that
are associated with sharing data. It also includes links to more detailed articles.
* Using Excel Services to share data while maintaining one version of the
workbook
The Trust Center is where you can find security and privacy settings for the 2007
Microsoft Office system programs. The Very High, High, Medium, and Low security
levels that were used in earlier versions of Office are now replaced with a more
streamlined security system.
1. Click the Microsoft Office Button , and then click Program Name Options,
where Program Name is the name of the program you are in, for example,
Word Options.
2. Click Trust Center, and then click Trust Center Settings.
Security Settings
73
Micrisoft Office EXCEL 2007
Microsoft® Office
Excel® 2007 Training
Create a chart
Create a chart
74
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
75
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
76
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
77
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
78
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
79
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
80
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
81
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
82
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
83
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
84
Micrisoft Office EXCEL 2007
Click the Page Layout tab, and then click Colors in the
Themes g group.
p
When you rest the pointer over a color scheme, the
colors are shown in a temporary preview on the chart.
Click the one you like to apply it to the chart.
Create a chart
Create a chart
85
Micrisoft Office EXCEL 2007
Format titles
If you’d like to make the
chart or axis titles stand
out more, that’s also
easy to do.
Create a chart
Format titles
To use a text fill, first
click in a title area to
select it.
Create a chart
86
Micrisoft Office EXCEL 2007
Format titles
To make font changes,
such as making the font
larger or smaller—or to
change the font face—
click Home, and then go
to the Font group.
Create a chart
Create a chart
87
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
88
Micrisoft Office EXCEL 2007
Create a chart
Create a chart
89
Micrisoft Office EXCEL 2007
Create a chart
Microsoft® Office
Excel® 2007 Training
90
Micrisoft Office EXCEL 2007
91
Micrisoft Office EXCEL 2007
92
Micrisoft Office EXCEL 2007
Get started
Here’s how to get
started with a
PivotTable report.
93
Micrisoft Office EXCEL 2007
Get started
Here’s how to get
started with a
PivotTable report.
94
Micrisoft Office EXCEL 2007
95
Micrisoft Office EXCEL 2007
96
Micrisoft Office EXCEL 2007
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.
97
Micrisoft Office EXCEL 2007
This means you can find the sales by date for each
salesperson.
p
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.
98
Micrisoft Office EXCEL 2007
99
Micrisoft Office EXCEL 2007
Microsoft® Office
Excel® 2007 Training
MACROS
About macros
If you perform a task repeatedly in Microsoft Excel, you can automate the task
with a macro. A macro is a series of commands and functions that are stored in a
Microsoft Visual Basic module and can be run whenever you need to perform the
task.
When we don’t have much knowledge about the language, commands &
procedures of Visual Basic, Recording is the easiest way to prepare macros.
Macros
100
Micrisoft Office EXCEL 2007
Recording macros
When you record a macro, Excel stores information about each step you take as you
perform a series of commands. You then run the macro to repeat, or "play back," the
commands. If you make a mistake when you record the macro, corrections you
make are also recorded
recorded. Visual Basic stores each macro in a new module attached
to a workbook.
Macros can be store in any excel file but it is recommended that you store it in single
file named “Personal”.
Default location of this file will be
C:\Program
g Files\Microsoft Office\OFFICE12\XLSTART\PERSONAL
When you start recording first macro & choose storage file as “Personal Macro
workbook”, the “Personal” file will be created automatically at above location & will
be available in hide conduction at all the time when Excel is open.
You can edit or change the macro coeds when the “Personal” file is in unhide
condition.
Macros
First of all change the Macros security setting at Medium or Low level.
Macro is a kind of program & similar to virus. This change is required to run the
macros.
I Microsoft
In Mi ft Offi
Office 2003 or later,
l t a componentt checks
h k allll XML fil
files th
thatt h
have
references to XSL files for script that could be unsafe. If macro security is set to
High, running this script is disabled. If macro security is set to Medium, the user
is asked whether or not to run script in XSL files. If macro security is set to
Low, the script is run.
Macros
101
Micrisoft Office EXCEL 2007
1 Start a macro from a keyboard shortcut : If you want to run the macro by
pressing a keyboard shortcut key, enter a letter in the Shortcut key box. You can
use CTRL+ letter (for lowercase letters) or CTRL+SHIFT+ letter (for uppercase
letters) where letter is any letter key on the keyboard
letters), keyboard. The shortcut key letter you
use cannot be a number or special character such as @ or #.
Macros
Start a macro from a toolbar button : VIEW >Macros> View Macros, then
following window will open, select required macro & press Run.
Macros
102
Micrisoft Office EXCEL 2007
While doing recording & moving down or up in work sheet, macro will record that particular cell
number. But the amount of data will not be the same as previous & you need to record a macro
without particular cell number.
Following command will help to move in any direction in work sheet without any particular cell
number. You can manually change cell number with this command by editing macro code.
ActiveCell.Offset(0, 1).Activate
Macros
Following set of command will help to understand batter & useful while dragging
some formula up to some number of rows and which is not fixed every time.
py
Selection.Copy
Selection.End(xlDown).Select
ActiveCell.Offset(0, 9).Activate
Selection.End(xlUp).Select
ActiveCell.Offset(0, -9).Activate
Range(Selection, Selection.End(xlUp)).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Macros
103
Micrisoft Office EXCEL 2007
You can select all available data by using “CurrentRegion” Function. Following is
some example of using “CurrentRegion” Function.
A ti C ll C
ActiveCell.CurrentRegion.EntireRow.Copy
tR i E ti R C
ActiveCell.CurrentRegion.EntireRow.Delete
ActiveCell.CurrentRegion.EntireColumn.Copy
ActiveCell.CurrentRegion.EntireColumn.Delete
When you start typing a command, drop down list of command will appear after
each entry, this drop down list will contain all available command after that function.
Macros
While recording Pivot Table directly , macro will record with particular cell number ,
but the amount of data is not same each time. Following command will help to
resolve this problem.
To use this command, stop recording before making Pivot , add following
command manually , run the macro , start recording again new macro, prepare
pivot table as required , stop new recording , add this part of macro to original
macro by editing the macro code.
ActiveSheet.PivotTableWizard , TableName:="PivotTable"
Macros
104
Micrisoft Office EXCEL 2007
Page setup :
You can do page setup during recording, and change the margin, zoom, Gridline
etc afterword by editing macro code.
Macros
Macros
105