Professional Documents
Culture Documents
4
Microsoft
Excel 2007
Critical Data
Analysis Using
Functions
Excel 2007 Critical Data Analysis Using Functions For The Haas School of Business, UC Berkeley - Dash Designs Consulting
Table of Contents
Managing Large Amounts Of Data
Freezing Worksheet Titles ................................... 2
Splitting Worksheet Windows .............................. 4
Display Magnification .......................................... 6
Conditional Formulas
Evaluating With IF Statements ............................ 8
Summing, Counting, Averaging Conditionally ..... 16
Retrieving Data With VLookup ........................... 20
Ranking Data With Functions ............................. 22
Analyzing With Date Functions ........................... 26
Examples Of Other Functions
Financial Functions ...........................34
Text Functions .................................36
Excel 2007 Power of Calculations For The Haas School, UC Berkeley — Dash Designs Consulting
CHAPTER
1
Microsoft
Excel 2007
Data Analysis
With Functions
For
Jerry Maletsky
Dash Designs Consulting
Technology Training And Consulting
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 1
CHAPTER
1 Managing Large Amounts Of Data
Reference Worksheet: Monthly Figures
Excel does provide a process in which the user can freeze the row
and column headings so that as the user scrolls through the
worksheet those headings will remain visible on the screen. That
command, Freeze Panes is on the View tab.
Excel will display dark lines to the right of a frozen column and just
below a frozen row.
Steps:
Click into the cell below the column headings and/or the row
headings to be frozen
Click View tab: Freeze Panes command
Steps:
Click View menu: Unfreeze Panes command
2 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Managing Large Amounts Of Data in Excel 2007
CHAPTER
1
FREEZING WORKSHEET TITLES
View Tab:
Freeze Panes
command
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 3
Managing Large Amounts Of Data
CHAPTER
1 Reference Worksheet: Monthly Figures
Steps:
Drag or Double-Click the Split Bar on either scroll bar
Or...
Click into the cell below the column headings and/or the row
headings to be split
Click View tab: Split command
Steps:
Drag or Double-Click the Split Bar on either scroll bar
Or...
Click View tab: Split command (it toggles the command on or off)
4 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Managing Large Amounts Of Data
CHAPTER
1
SPLITTING WORKSHEET WINDOWS
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 5
Managing Large Amounts Of Data
CHAPTER
1 Reference Worksheet: Monthly Figures
This allows the user to view more data on the screen as well as
make the data easier to see during a presentation.
Steps:
TO GENERALLY SET THE MAGNIFICATION
6 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Managing Large Amounts Of Data
CHAPTER
1
CHANGING THE DISPLAY MAGNIFICATION
Worksheet Magnified to 75%
Zoomed to
selected cells
(i.e. 150%)
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 7
CHAPTER
2 Conditional Formulas
Reference Worksheet: Conditional Formulas
= Equal To
8 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
2
EVALUATE CONDITIONS WITH THE IF STATEMENT FUNCTION
=IF(C10<>Average(D10:D25),”Yes”, “No”) If the value in cell C10 is Not Equal To the Average
of cells D10 through D25 then place the text Yes in
the result cell, if not place No in the result cell.
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 9
Conditional Formulas
CHAPTER
=IF(I8=“A”,H8*10%,IF(I8=“B”,H8*5%,H8*2%))
=IF(B5>=500,“A”,IF(B5>=400,“B”,IF(B5>=300,“C”,IF
(B5>=200,“D”,“F”))))
10 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
2
ANALYZING DATA USING MULTIPLE IF STATEMENT FUNCTIONS
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 11
Conditional Formulas
CHAPTER
=IF(AND(B6<100000,D6=“E”),“Yes”,“ ”)
12 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
Reference Worksheet: Multiple Conditions 2
IF FUNCTIONS ANALYZING DATA USING MULTIPLE OR CONDITIONS
The OR condition in an IF Statement Function allows you to test
multiple conditions. In order for the IF statement function to return
a True result only one of the conditions in the function must
evaluate to True.
=IF(OR(B6<100000,D6=“E”),“30 days”,“ ”)
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 13
Conditional Formulas
CHAPTER
=IF(ISERROR(Average(F8:F13)),“No Data”,Average(F8:F13))
14 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
2
USING THE ISERROR FUNCTION
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 15
Conditional Formulas
CHAPTER
16 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
2
COUNT VALUES CONDITIONALLY
The Count function counts the number of cells within a given range.
Suppose you want to count values within a range only if those val-
ues meet certain conditions. For example, you may want to count
the number of customers who have exceeded given goals. Excel’s
CountIF function allows you count values in a cell range depending
on whether those values fall within the specified conditions.
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 17
Conditional Formulas
CHAPTER
18 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Conditional Formulas
CHAPTER
2
CALCULATING VALUES BASED ON MULTIPLE CONDITIONSCONDITIONALLY
Excel’s SumIF, CountIF, and AverageIF functions calculate a range of
cells based on one set of conditions. However, in addition to these func-
tions, Excel 2007 provides the ability to calculate a range of cells based on
multiple conditions with the SumIFS, CountIFS, and AverageIFS
functions. These functions can contain up to 127 ranges and conditions.
Note:
Criteria has to
be evaluated
as an “And”
condition. That
is, they can not
be mutually
exclusive.
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 19
CHAPTER
The VLookup function consists of four arguments. The first three are required.
Argument Description
Lookup Value Cell Address, Number, or Text String that is found in your
(D6) worksheet and matches a value in the first column of the list.
Table_Array Cell Range or Name of cell range that makes up the cell
(Customers) range of your list.
Col_Index_Num The number that represents the column in the list that
(5) contains the value that you want to retrieve. For example, if
the value that you want is in the 5th column of the list, the
value you enter is 5.
Range_Lookup A Logical value of True or False. True (or left empty) asks
(False) Excel to find the closest lowest value if it cannot find an
exact match to your Lookup_Value. False asks Excel to only
find an exact match to your Lookup_Value or else return an
error message (#N/A)
Customer List
Table named
Customers
Sorted in
Ascending Order
20 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Retrieving Data With The VLookup Function
CHAPTER
2
RETRIEVING DATA WITH THE VLOOKUP FUNCTION
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 21
CHAPTER
22 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Ranking Data With Functions
CHAPTER
Reference Worksheet: Ranking Data
Note:
The Significance
argument refers to
the number of
decimal places to
calculate to in this
function.
If no significance is
specified, then it is
assumed to be
calculated to 3 deci-
mal places.
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 23
Ranking Data With Functions
CHAPTER
24 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Ranking Data With Functions
CHAPTER
Reference Worksheet: Ranking Data
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 25
CHAPTER
Below are some important date functions you might find useful in
analyzing data.
Function Description
=Now( ) Automatically displays the current date and time in the cell.
=Date Displays the date based on the arguments you enter. For example, if
(Year,Month,Day) you enter ...
=Date(2004,10,15) the result displayed will be 10/15/2004.
Important: Dates should be entered by using the DATE function, or
as results of other formulas or functions. Problems can occur if dates
are entered as text.
=Days360 Calculates the number of days between the two dates, based on a
(StartDate,EndDate) 360-day year.
=NetWorkDays Returns the number of whole working days between start_date and
(StartDate,EndDate, end_date. Working days exclude weekends and any dates identified
Holidays) in holidays.
=Year(Date) Returns the year portion of a date in a given cell (i.e. 2006).
=Month(Date)
Returns the month portion of a date in a given cell (i.e. 12)
26 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Analyzing With Date Functions
CHAPTER
2
USING DATE FUNCTIONS
Example of the NOW( ) function:
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 27
Analyzing With Date Functions
CHAPTER
2 Reference Worksheet: Trade Show Dates
Example: =Today( )
=Now( )
28 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Analyzing With Date Functions
CHAPTER
Reference Worksheet: Trade Show Dates
Example: =Days360(StartDate,EndDate,Method)
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 29
Analyzing With Date Functions
CHAPTER
2 Reference Worksheet: Trade Show Dates
Example: =NetWorkDays(StartDate,EndDate,Holidays)
30 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Analyzing With Date Functions
CHAPTER
Reference Worksheet: Trade Show Dates
Example: =YearFrac(StartDate,EndDate)
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 31
Analyzing With Date Functions
CHAPTER
2 Reference Worksheet: Product Launch Dates
Examples: =Year(Date)
32 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Analyzing With Date Functions
CHAPTER
Reference Worksheet: Product Launch Dates
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 33
CHAPTER
3 Examples Of Other Functions
FINANCIAL FUNCTIONS
Excel provides a variety of financial functions that make calculating
fiscal data more efficiently.
These include:
Function Description
34 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Examples Of Other Functions
CHAPTER
Reference Worksheet: Financial Functions
FINANCIAL FUNCTIONS
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 35
Examples Of Other Functions
CHAPTER
3 Reference Worksheet: Text Functions
TEXT FUNCTIONS
Text functions allow the user to extract information from a larger
entry in a cell.
These include:
Function Description
36 Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting
Examples Of Other Functions
CHAPTER
Reference Worksheet: Text Functions
TEXT FUNCTIONS
Excel 2007 Data Analysis With Functions - The Haas School of Business, UC Berkeley - Dash Designs Consulting 37