Excel Practical
Excel Practical
MS Excel
Introducing Excel
Worksheets
Excels main
screen is called a
worksheet.
Each worksheet
is comprised of
many boxes,
called cells.
Organize Information
Selecting a Cell
Select a cell
by clicking on
it once (dont
double click).
You can move
from cell to cell
with the arrow
keys or by
pressing the
Enter key.
To enter information in
a cell, just start typing.
When you are done
either
Press the Enter Key
Press an arrow key
Click on the check
button (only visible
when entering data
into a cell)
To modify the
contents of a cell
double click on the
cell.
Then use the right,
left arrow keys and
the Insert and Delete
keys to modify the
data.
When you are done:
Press the Enter key
or
Click on the check
box.
Double click to
change hi there to
hello there
10
11
(numbers)
The columns
of the
worksheet are
named with
letters
The rows are
named with
numbers
Selected
Cell
12
Name
Box
Selected
Cell
Longggggggg Data
13
14
15
Amity Business
School
Drag column
separator to the
right
To make Column B
wider, point the cursor to
the column separator
between columns B and
column C.
The cursor changes to a
Double headed arrow.
Now, click the left mouse
button and without letting
go of the button, drag the
separator to the right to
make the column wider
(or to the left to make the column
narrower).
16
Resizing a Row
Make a
row taller
or shorter
by
dragging
the
separator
between
the rows.
Row is now
taller
Click and
drag here
to resize
row 5.
17
18
Step 1: Originally
Hours Worked is
on one line.
Basic Formatting
(e.g. bold, colors, fonts, etc)
19
20
Formatting Cells
Select one or more cells and then click on any of the formatting buttons
(see below) to change the formatting of the selected cells.
Formatting buttons:
show fewer decimal points (ex.
10.507 is displayed as 10.51)
These change the way
numbers are displayed
in cells. (these dont
affect words).
font
nam
e
font
size
click on
downward
pointing arrows
for other font
names and
sizes
center
left
justify
color of cell
color of
text in cell
right
justify
remove indent
show with commas (e.g.
12345 becomes 12,345)
click on
downward
pointing arrows
for other colors
and border
styles
21
Example unformatted
worksheet
22
23
24
Select Entire
Columns/Rows/Worksheet
To select ENTIRE COLUMN B
25
Click
Click
To select ROWS 2,3 and 5,6,7
drag
Click
Click
drag
CtrlClick
drag
Click
26
Example - continued
Step 1: Click
on row header
for row 5
Step 2:
Ctrl-click on
row-header for
row 11
Step 3: Press
Bold button or
type ctrl-b
Note: After
being
bolded,
the word
Employee is
now too wide
for the column,
so make the
column wider
if necessary
(this step is
not shown).
27
Format Cells
28
Formulas
The bread and butter of Excel
29
30
Excel Formulas
31
Formulas - correct
formula with = sign
32
Missing = sign
Missing = sign!
Before pressing enter
33
Types of operations
34
Errors in Formulas
35
36
Common Errors
The following are some errors that may appear in a spreadsheet (there are
others too).
#######
Cell is too narrow to display the results of the formula. To fix this simply make the
column wider and the real value will be displayed instead of the ###### signs.
#NAME?
You used a cell reference in the formula that is not formed correctly (e.g. =BB+10
instead of =B3+10)
#VALUE!
Usually the result of trying to do math with a textual value. Example: =A1*3 where A1
contains the word hello
#DIV/0!
Trying to divide by zero. Example: =3/A1 where A1 contains 0 (zero)
Circular Reference
Using a formula that contains a reference to the cell that the formula lives in.
Example: putting the formula =A1+1 in cell A1 or putting the formula =SUM(A1:B2) in
any of the cells A1, B1, A2, B2
Order of Operations
37
38
Complex formulas
39
Order of operations
40
Meaning
Please
parentheses
Excuse
exponents
41
Order of operations
The value of
3+2*5
is
13
NOT 25!
Order of operations
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
42
43
Functions
Introducing Functions
Entering a Function
45
47
48
= SUM(number1, number2, )
=AVERAGE(number1, number2,
)
=MIN(number1, number2, )
=MAX(number1,number2,)
=COUNT(number1,number2,)
=COUNTA(number,number2,)
=STDEV(number,number2,)
SUM function
50
51
Max function
Amity
(returns the maximum value
in a Business
range) School
52
Min function
Amity
(returns the minimum value
in a Business
range) School
53
Count function
54
Average function
Amity
Business School
(averages a range
of values)
55
Highlight cells
D12:H12 to select them
56
57
-1
criteria
NOTE: The comma in the parentheses separates the arguments, so you can
only use commas between arguments..
58
59
60
61
SUMIF
Amity Business School
criteria
The criteria in the form of a number, expression, a cell reference, or text that
defines which cells will be added. For example, criteria can be expressed as 32,
">32", B5, 32, "32", or "apples"
sum_range
The actual cells to add, if you want to add cells other than those specified in the
range argument.
62
63
64
Averageif function
65
Rank
Returns the rank of a number in a list of numbers. The rank of a number is its
size relative to other values in a list. (If you were to sort the list, the rank of the
number would be its position.)
=RANK(Number,Ref,Order)
Number
The number whose rank you want to find
Ref
The list of numbers
Order
Specifies the sort order
0 or left blankDescending order
Positive numberAscending order
66
Rank function
67
Using an IF Function
68
69
70
71
72
3. Click Rename
73
74
Ranges
75
A1:B2
76
Other functions
box
categories
77
Function dialog
Description
of currently
selected
function
78
79
80
81
82
83
84
Examples
85
86
$d$9
This is an absolute cell
reference.
If I copy a formula with this cell reference, the
cell reference will NOT change AT ALL.
87
Mixed References
$d9
and
d$9
references:
$d9
The "d" will stay the same when you copy the
cell, but the "9" will change.
d$9
The "d" will change when you copy the cell,
but the "9" will stay the same.
88
Data Types
89
Data
Types
Numeric
Dates
values: dates and times
operators: N/A
sample functions:
now( ), today( ), hour(), minute(), etc.
90
By default:
a cell that contains a number is treated as
numeric data
a cell that contains a date is treated as date
data (we'll see more about this later)
a cell that contains data which is
not numeric and not a date is treated as "text"
Text Data
91
92
93
Text data
Text Functions
94
95
Text Functions
96
97
RIGHT function
98
RIGHT ( <text>,
<numCharacters>)
Formula
View
Values View
99
Values View
100
LEFT
101
102
Values View
Concatenation
( & ) and
CONCATENATE function
103
104
Concatenation (&)
Formula View
Values View
Notice that there is no
space between the two
values
105
Formula View
Values View
106
107
Values View
values
contain
spaces
108
Values View
109
Values View
The initials now contain
periods
110
CONCATENATE Function
112
LOWER ( <textValue> )
UPPER ( <textValue> )
Values View
113
LEN ( <textValue> )
Values View
114
115
Formulas View
Dates become
numbers in
formulas
view
116
The value of both the date and the time is stored internally as a single decimal number.
The whole number portion represents the DATE and is the number of days since Dec. 31,
1899
The decimal part represents the TIME and is the fraction of the day that has elapsed.
Examples:
Jan 1, 1900 at 12AM is 1.0 (i.e. 1 day since Dec 31, 1899 and 0 percent of the day elapsed so far)
Jan 1, 1900 at 12PM is 1.5 (i.e. 0.5 of the day elapsed)
Jan 2, 1900 at 12PM is 2.5 (i.e. 2 days since Dec. 31, 1899)
Feb 1, 1900 at 1:05 PM is 32.5451388888889 (i.e. 32 days since Dec 31, 1899 and
0.5451388888889 of the day elapsed by 1:05 PM. This makes sense as it is a little past noon so a
little more than half of the day elapsed.
117
Values View
Formulas View
118
Date Arithmetic
119
120
121
122
TRUE
The following statements are TRUE:
Fish live in water.
Deer live on land.
123
FALSE
124
Logical operators
Examples
3>2
3<2
true
false
125
Logical Formulas
Formula View
Values View
126
Formula View
Values View
127
IF Function
128
129
IF function
Formula View
Values View
130
131
Formula View
Values View
132
ISBLANK( <value> )
133
Formula View
Values View
blank value
quantity is
blank (since a
blank is
normally
treated as
zero)
APPENDICIES
134
135
136
Once you type the equal sign (=) you can click
with your mouse to enter cell references into a
formula.
137
138
139
Cell ranges:
Click and drag on a cell to enter a cell range
reference
FORMATTING A CELL AS
TEXT
140
Leading
zeroes
are
missing
141
142
143
144
145
146
with a
green triangle in the upper
left hand corner of the cell:
147
148
149
Type an apostrophe
followed by the SSN.
Before pressing Enter
you can see the
apostrophe.
After pressing Enter you
cant see the
apostrophe anymore
and leading zeroes
remain.
Ignoring numbers in
calculations
150
151
152
Ignoring numbers in
calculations.
an
apostrophe as the first character
in the cell
153
Example
Formula to
add up all
numbers in
column D
(Same
Spreadsheet)
The Year is
incorrectly
included in
the sum.
154
Example - continued
To fix the problem you can add
an apostrophe (') before the data
for the year (no space necessary
after the apostrophe).
155
Example - finished
The apostrophe IS
visible in the formula
bar.
Navigating a Worksheet
156
Planning a Workbook
159
163
164
165
166
167
168
Entering a Formula
Entering a Formula
Entering a Formula
171
Entering a Formula
Entering a Formula
173
175
=IF(OR(ISBLANK(B4),ISBLANK(D4),B4=0,D4=0),0,D4
/B4)
177
Renaming a Worksheet
184
187
FORMATTING CELLS
There are various different options that can be
changed to format the spreadsheets cells differently.
When changing the format within cells you must
select the cells that you wish to format.
To get to the Format Cells dialog box select the
cells you wish to change then go to Home Tab >
Format > Format Cells. A box will appear on the
screen with six different tab options Explanations of
the basic options in the format dialog box are bulleted
below.
CHART DESIGN
There are various different features that you
can change to make your chart more appealing.
To be able to make these changes you will
need to have the chart selected or be viewing
the chart page that is within your workbook.
Once you have done that the Design Tab will
appear highlighted with various different
options to format your graphic
CHART OPTIONS:
Titles: To add titles to a chart of graphic you have to click on the Insert
Tab. Once you have done this, click on the Text Box Icon. This will insert a
text box that you can type the title and place anywhere you wish on the
chart.
Change Chart Type: You can change your chart easily by selecting this
icon and navigating to a more desirable chart. This feature is very
convenient for someone who chose the wrong chart and doesnt wish to
reselect all their data and go through the process a second time.
Format Chart Area: This allows for changes to be made to the chards
border, style, fill, shadows, and more. To get this option you will need to
right click on the charts border and navigate to the Format Chart Area
option. Once this is clicked a dialog box will appear.
PICTURES
To insert Pictures:
Go to the Insert Tab> Picture, a dialog
box will appear and then you can select
the desired picture from the location that is
it stored (Figure 15). The picture will be
inserted directly onto your document, where
you can change the size of it as desired.
Inserting Clipart:
To insert Clip Art you will need to go to
the Insert Tab > Clip Art. A navigation
pane will appear on the left hand side of
the screen where you can search for
words that pertain to the picture you are
looking for.
CREATING FUNCTIONS
When creating a function in Excel you must first have the data that
you wish to perform the function with selected. Select the cell that
you wish for the calculation to be entered in (i.e.: if I want to know
the sum of B1:B5 I will highlight cell B6 for my sum to be entered
into)
Choosing calculation cell
Once you have done this you will need to select the Formulas
Tab located at the top of the screen. A list of Most Recently
Used, Financial, Logical, Text, Date and Time, Math and Trig
formulas will appear. To choose one of the formulas click the
icon that holds the formula you are looking for. Once you have
clicked your formula this will display a dialog box on your screen.
Inserting a Function
Inserting a Function
Inserting a Function
Typing a Function
Filling a Series
Filling a Series
Merging Cells
235
Copying Formats
with the Format Painter