Académique Documents
Professionnel Documents
Culture Documents
Microsoft
Excel 2013 Office
Expert
Lesson 1: Advanced
Excel 2013 ExpertFunctions and
Courseware # 3254 PivotTables
Microsoft Office
Excel 2013 Expert
Lesson Objectives
Define what a function Use data slicers
is Group pivot table data
Use the correct syntax Create calculated
for functions fields and items for
Insert a function pivot tables
Use array functions Activate PowerPivot,
Use lookup functions and connect it to a
Use date and time data source
functions Create PowerPivot
Create, format, and calculated fields
customize pivot tables Manage PowerPivot
table relationships
CCI Learning Solutions Inc. 2
Microsoft Office
Excel 2013 Expert
=FUNCTION(Arguments)
Arguments
Many functions are flexible: allowed to have one or more value or cell
references
Some functions do not have any arguments, but still need ()
Commas separate each argument
If incorrect number of arguments, error message is displayed
Can nest up to 64 layers of functions
Inserting Functions
Insert Function tool
Displays all functions available
Grouped by most recently used, or
by category
To insert a function:
Click at left of Formula bar, or
Type = and first few characters of
function name
On Home tab, in Editing group,
click drop-down arrow for AutoSum
and click More Functions
On Formulas tab, in Function
Library group, click Insert
Function
Inserting Functions
CHOOSE Function
Select from a simple one-dimensional list of
values
=CHOOSE(A1,C10,C9,C8,C7)
If cell A1 = 3, C10 = 10, C9 = 20, C8 = 30, and
C7 = 40 then 30 will be displayed
INDEX Function
Selects a value from a two dimensional table
=INDEX(reference, row num, [column num], [area num])
Reference - range of cells containing values
Row num - row in range to find the value
Column num - optional column to find value
Area num - optional reference range to use
Examples:
INDEX(A2:D4,2,3) = liter
INDEX((A2:D2,A3:D3,A4:D4),1,3,2) = liter
There is also an array version:
=INDEX(array, row num, [column num])
LOOKUP Function
One-dimensional (vector) format:
=LOOKUP(lookup value, lookup vector, [result vector])
Lookup value value to be found
Lookup vector range of cells to search
Result vector optional range of cells to get result value
Notes:
Values in lookup vector must be sorted in ascending order
Result vector must be same shape as lookup vector
Examples:
=LOOKUP(1,A2:A4,C2:C4) = liter
=LOOKUP(-3,A2:A4,B2:B4) = millimeter
=LOOKUP(2,A2:A4,D2:D4) = gram
LOOKUP Function
Two-dimensional (array) format:
=LOOKUP(lookup value, range array)
Lookup value value to be found
Range array range of cells to be searched and data to be returned
Notes:
Values in lookup vector must be sorted in ascending order
If more columns than rows, then top row is assumed to be lookup
vector
If square or more rows than columns, then left column is lookup
vector
Examples:
=LOOKUP(1,A2:C4) = liter
=LOOKUP(-3,A2:B4) = millimeter
=LOOKUP(1,A2:D4) = 3
NOW Return the serial number of the current date and time.
TODAY Return the serial number of todays date with the time portion set
to 0.
DATE Calculate the serial number for a specified date.
DATEVALUE Calculate the serial number for a specified date in text label
format.
DAY Display the day value for the specified date serial number.
MONTH Display the numeric month value for the specified date serial
number.
YEAR Display the year value for the specified year serial number.
WEEKDAY Display a numeric weekday value for the date serial number.
HOUR Display the hour value for the specified time serial number.
MINUTE Display the minute value for the specified time serial number.
SECOND Display the second value for the time serial number.
CCI Learning Solutions Inc. 18
Microsoft Office
Excel 2013 Expert
Transpose Function
Copy data from one range to another, except:
Data in rows are flipped into column sequence
Data in columns are flipped into row sequence
Creating a PivotTable
PivotTable Field List task pane
Controls structure of pivot table
Decide what column data to use as column labels,
row labels, PivotTable values, or report filter
Customizing PivotTables
PowerPivot
An extension of a pivot table, but designed for corporate
environment with large complex databases
Underneath is a high-performance engine
Pivot tables are limited to Excels 1 million rows and
16,000 columns
Corporate data typically can have billions of rows of data
Pivot table is an excellent data analysis tool but is slow
and limited to what Excel can access
PowerPivot bridges the gap by allowing corporate users
to use Excel to connect to high-powered centralized
database servers
Activating PowerPivot
PowerPivot is an add-in that must be activated
To activate:
Click File, Options
Click Add-ins
Select COM Add-ins
Click Microsoft Office PowerPivot for Excel 2013
Once activated, the PowerPivot tab is displayed in
the Ribbon
Lesson Summary
Define what a function is Use data slicers
Use the correct syntax Group pivot table data
for functions Create calculated fields
Insert a function and items for pivot
Use array functions tables
Use lookup functions Activate PowerPivot, and
Use date and time connect it to a data
source
functions
Create PowerPivot
Create, format, and
calculated fields
customize pivot tables
Manage PowerPivot
table relationships
Review Questions
1. List each of the components of a function, and
explain why it is important to ensure that the
syntax of the function is correct.
2. The vector version of the LOOKUP function will
generate the same results as either the VLOOKUP
or HLOOKUP function.
a. True b. False
3. What is the formula for adding 10 days to the
current date? Will this formula still be accurate
even if today is December 29?
4. Explain why you might create a PivotTable.
Review Questions