Introduction to �Excel
Worksheets
Organize Information
Selecting a Cell
Entering Information / The Formula Bar
Double Click to Modify a Cell
Names of Rows, Columns and Cells
Long Data
Information that is “Chopped Off”
10
Make a column wider
11
Column is now wider
Drag column separator to the right
Getting the Exact Width
12
Column is now EXACTLY the correct width
Double click here
Resizing a Row
13
Row is now taller
Putting an “Enter” inside a cell
14
Step 1: Originally “Hours Worked” is on one line.
Step 2: Double click to edit cell and then press Ctrl-Enter
Step 3: Press Enter (without Ctrl) to accept the changes.
Formatting Cells
15
font name
font size
bold
italics
underline
center & merge cells�(will explain later)
center
right justify
left justify
These change the way numbers are displayed in cells. (these don’t affect words).
show as currency �(ex. 1000.507 becomes $1000.50)
show with commas (e.g. 12345 becomes 12,345)
show as percent (ex. 0.5 becomes 50%)
remove indent
show fewer decimal points (ex. 10.507 is displayed as 10.51)
show more decimal points (ex. 10.507 is displayed as 10.5070)
indent within cell
put border around cell(s)
color of cell
color of text in cell
click on downward pointing arrows for other colors and border styles
click on downward pointing arrows for other font names and sizes
Example – unformatted worksheet
16
Example –making cells bold
17
Other Ways of Selecting More Than One Cell
18
Selecting Non-Contiguous Ranges
19
(This cell is also selected even though it appears white).
Selecting entire Rows, entire Columns or all cells on the worksheet.
20
Select Entire Columns/Rows/Worksheet
To select ENTIRE COLUMN B� click on “B” column header�
To select COLUMNS B,C,D� click on “B” column header and drag to right�
To select COLUMNS B,C and F,G,H
To select ENTIRE ROW 2� click on “2” row header
To select ROWS 2,3 and 5,6,7
To select ENTIRE WORKSHEET � click on select worksheet button � (in corner between “1” and “A” buttons)
21
Click
Click
drag
Click
drag
Click and drag down
then Ctrl-Click and drag down
Click
drag
Ctrl-Click
Click
Example - continued
22
Excel Formulas
23
Formulas - correct
24
formula with = sign
After pressing ENTER
Types of operations
addition: + = a1+3
subtraction: - = 100-b3
multiplication: * = a1*b1
division: / = d1/100
exponentiation ^ = a2^2
negation - = -a2+3� (same symbol as subraction)
25
Explicit (literal) values and cell references
26
Common Errors
27
Complex formulas
= 3*2+1
= c1*(a1+b1)
= (100*a2-10)+(200*b3-20)+30
= (3+2*(50/b3+3)/7)*(3+b7)
28
Order of operations
29
Order of operations
30
Order of operations
31
3 + (100 - 20) / 10 - 6 * 2 / 4 + 9
3 + 80 / 10 - 6 * 2 / 4 + 9
3 + 8 - 6 * 2 / 4 + 9
3 + 8 - 12 / 4 + 9
3 + 8 - 3 + 9
11 - 3 + 9
8 + 9
answer: 17
What is a function?
32
The SUM function
=SUM(1,2,3,4,5) 15
=SUM(a1,b1,c1) a1+b1+c1
=SUM(9,a1,b2,5,c1) 9+a1+b2+5+c1
33
Terminology
SUM(1,2,3,4,5)
34
Ranges
35
A1:B2
Examples of Range Names
C3:E10
B2:B5
�
B3:E3
36
Using a range as a parameter
37
Function calls with multiple parameters
38
Other functions
39
Function buton
brings up the function dialog box (see next slide)
Function dialog box
40
categories �(i.e. groups of functions)
Functions for the selected category
Description of currently selected function
Warning: this slide was created using Excel 2000. The dialog box in later versions of Excel looks a little different, but it has the same functionality.
Function Editor
41
Function Editor
42
When you press OK, this will create the function call:� AVERAGE(2,a1:c2,f13)
Put values for the parameters in the edit boxes.
Example
=AVERAGE(2,4,10,4) 5
=AVERAGE(a1,f32) (a1+f32) / 2
=AVERAGE(a1:c1) (a1+b1+c1) / 3
=AVERAGE(a1:c1,10) (a1+b1+c1+10) / 4
43
Entire Rows (e.g. 2:2 or 2:4)
44
Entire Columns (e.g. B:B or B:D)
45
References to cells on other worksheets
sheet2!a1
sheet2!b4:c8
'2002 Forecasts'!f3:f10
=sum('2002 Forecasts'!f3:f10)
=sum('2202 Forecasts'!f:f)
46
More examples
=sum ( 'great stocks'!b2:c4, 'so so stocks'!b2:c4)
=sum (a1,a!a1,b1:b4,b1!b4,c!c:c)
�Explanation
a1 this is a cell reference on the current sheet�a!a1 "a" is the name of sheet. "a1" is a cell on the "a" sheet�b1:b4 this is a range on the current sheet�b1!b4 "b1" is the name of a sheet. "b4" is a cell on the "b1" sheet�c!c:c “c" is the name of a sheet. “c:c" is all of the cells in the c column� on the “c” sheet
47
Absolute and Relative Cell References
48
Examples
d9
$d$9
$d9
d$9
49
Relative Cell Reference
50
Absolute cell reference
51
Mixed References
52
Data Types
53
Data Types for Values in Cells
54
Text / String / Character
55
Text data
56
Text isn't part of numerical calculations (obviously)
57
Formula to add up all numbers in column C
�(Same Spreadsheet)
Text data in C1 is not included in the Sum
formula view (press Cntrl-`)
values view (press Cntrl-`)
Text Functions
right( )�left( )�mid( )�concatenate( )�lower( )�upper( )�len( )
58
RIGHT function
59
RIGHT ( <text>, <numCharacters>)
60
Formula View
Values View
RIGHT – numCharacters is optional
61
Formula View
Values View
These produce the same results.
LEFT
62
MID ( <text>, <startPosition> , <numCharacters>)
63
Example: MID ( <text>, <startPosition> , <numCharacters>)
64
Formula View
Values View
Concatenation (&)
65
Formula View
Values View
Notice that there is no space between the two values
Concatenate many values
66
Formula View
Values View
Concatenation with "literal" values
67
Concatenating spaces - Example
68
Formula View
Values View
values contain spaces
LOWER ( <textValue> )�UPPER ( <textValue> )
69
Formula View
Values View
LEN ( <textValue> )
70
Formula View
Values View
IF Function
71
Parameters for IF function
72
IF function
73
Formula View
Values View
IF with a numeric result
74
IF with a numerical result
75
Formula View
Values View
EXCEL WITH CASE STUDIES
SUM Function
SUMIF Function
COUNTIF Function
COUNT Function