Excel Presentation
Excel Presentation
03/26/2024 2
INTRODUCTION
A spreadsheet is a computer
application that displays a series of
columns and rows.
Columns (vertical) are labeled along their
column heading A thru Z, AA thru AZ, up
to column IV.
Rows (horizontal) are labeled by their row
headings from 1 thru 65,536.
03/26/2024 3
Introduction cont.
Cell – the intersection of a row and a column
Cell Address
• Identifies a specific cell
• Column letter then row number
• Examples:
– C1
– AZ999
Active cell
• Black border
• Address displayed in Name box
03/26/2024 4
The importance of using
spreadsheet
It provides features that can be used
to automatically update a document
when some figures are altered without
necessarily performing calculations.
It allows you to enter, organize,
compare and print data including
graphs.
When applied correctly, a spreadsheet
results will always be correct.
Produces a neat work in a variety of
professional looking formats.
03/26/2024 5
The importance …
Contains tools that provide additional
supports for writers, such as spell
checking and punctuations.
Produces easily portable documents
that can easily be converted into other
forms of visualization such as graphs
and charts.
Offers powerful features to organize
data, manipulation of data, database,
verification of data and transfer of data
03/26/2024 6
Use of spreadsheet
03/26/2024 7
Spreadsheet in Schools
03/26/2024 8
Examples of Spreadsheet
Ms Excel –Microsoft
Lotus 1-2-3 - IBM
Open Office.org calc- Linux
Apple iWork Numbers-Mac
Quattro Pro
03/26/2024 9
Ms Excel
03/26/2024 10
Starting Excel
03/26/2024 11
Starting Excel …
Click the “start”
button
From the start menu
click “all programs”
From the displayed
program menu,
select the “Microsoft
office” option,
From the displayed
sub-menu, click the
Step 1
“Microsoft Office Step2 Step3 Step 4
03/26/2024 13
Workbook and worksheet
03/26/2024 14
Adding Worksheets
03/26/2024 15
Changing Workbooks Setting
The default
setting for three
worksheets
being created
with every new
workbook can
be changed by
Selecting
Tools--
>Options, and
click the
03/26/2024
General tab. 16
To insert more than one
worksheet at a time
03/26/2024 17
Naming a Worksheet
03/26/2024 18
Cell content
Constants
Text (labels): a combination of letters,
numbers, and some symbols
Numbers: any numerical value that can be
used in a mathematical calculation
Date and Time values: recognized formats
for date and time values
Symbols: any character apart from text,
numbers and date and time
03/26/2024 19
Cell content-cont.
Formulas
References other cells
Preceded by an = (equal sign)
03/26/2024 20
Entering Data into a
Worksheet
03/26/2024 22
Save As Dialog Box
Whenever you want to save a document after Clicking Save As a Save As
Dialog Box appear
Click
Filename to save
Specifies file type
03/26/2024 23
Procedure for Saving a
Spreadsheet
To save an Excel document:
Select File-->click Save or Save As.
In the Save As dialog, Select the location
for your file from the Save in drop-down
menu at the top.eg Mydocument, Desktop
or any other location.
Create a folder using create new folder
icon
Name your folder as “ Excel_works”
03/26/2024 24
Saving a Spreadsheet …
03/26/2024 26
Changing the Row Height
Position the cursor in
the row Border (the
joint between two
rows 2 and 3). The
mouse pointer
changes to double
pointed arrow
Drag down or up to
alter the width of row
2.
03/26/2024 27
Changing the Column Width
and Row Height using Autofit
03/26/2024 29
Inserting a Column or Row
03/26/2024 30
To insert a column
03/26/2024 31
Insert a column and enter
the marks for Kiswahili
03/26/2024 32
To insert a row
03/26/2024 33
To insert a row-cont.
03/26/2024 34
Insert a row and enter the
Name and marks for Aliyah
Adam then Save
03/26/2024 35
To insert multiple rows or columns
03/26/2024 36
Hands on Activity
03/26/2024 37
To delete a row
Click to place your cursor
in the row you want to
delete.
Select Edit Menu--
>Delete. (Cut allows you to
delete information within
the cell, not the row itself.)
In the Delete dialog box
that appears, click the
Entire row radio button.
Delete the 5 rows you
have entered in the above
exercise
03/26/2024 38
To delete a column
Click to place your cursor in
the column you want to
delete.
Select Edit Menu-->Delete.
In the Delete dialog box that
appears, click the Entire
column radio button.
Delete the columns you
entered in the above
Exercise.
03/26/2024 39
To delete multiple rows or
columns
03/26/2024 40
Hands on Activity
03/26/2024 41
Selecting Cell Ranges
A group of cells is called a cell range or range
Click the cell in the upper-left corner of the
adjacent range, drag the pointer to the cell in
the lower-right corner of the adjacent range,
and then release the mouse button
or
Click the cell in the upper-left corner of the
adjacent range, press the Shift key as you click
the cell in the lower-right corner of the adjacent
range, and then release the Shift key
03/26/2024 42
Selecting a row, column and entire
worksheet
03/26/2024 43
Selecting Cell Ranges …
03/26/2024 44
Selecting Cell Ranges …
Click the
Select All Select All Button
button located
at the
intersection of
the row and
column
headings (or
press the
Ctrl+A keys)
03/26/2024 45
Modifying Data
03/26/2024 51
Shading
Use shading in cells for
emphasis, to divide sections,
or to designate headings.
Select the heading column of
“Exercise1” document
select Format-->Cells
The Format Cell dialogue box
appears.
Select Pattern tab, the cell
shading colour will appear
Choose yellow colour, then
Click Ok
You can also use the Fill
Color button on the
Formatting toolbar.
03/26/2024 52
Border
You can place borders around
selected cells with the down
arrow beside the Borders
button on the Formatting
toolbar.
Select a range of cells to be
bordered
On Formatting toolbar Click
down arrow beside the Borders
button to get the options
Choose All Borders from the
options
03/26/2024 53
Font Tab
Font Tab on the
Format Cells dialog
box offers a number
of options: font, font
style, Size, underline,
colour and Effects.
So lets practice each
of the options
03/26/2024 54
Text Colour
Changing text colour in
Excel has no difference
from Ms word.
Select a cell or range
Select Format-->Cells
From the format cell
dialog box, choose Font
Tab.
Under colour click a
down Arrow to get a
colour pallet.
Choose the blue colour
Click OK
03/26/2024 55
Align cell contents
When you enter numbers and formulas into
a cell, Excel automatically aligns them with
the cell's right edge and bottom border, while
text entries are aligned with the left edge and
bottom border.
You can control the alignment of data within
a cell horizontally and vertically.
Left, Right and Center alignments can be
selected using their respective alignment
buttons on the Formatting toolbar.
03/26/2024 56
Aligning Cell's Contents Vertically
03/26/2024 61
Alignment for Special Formats
You can select specific formats for
cells, such as dates, currency, time,
percentage, fraction, scientific, etc. If
specially formatted information does
not fit into a cell, you will see ######
instead of your data.
You must either alter the format or
change the column size of a cell.
03/26/2024 62
Coloring a Worksheet Tab
You can add color to a worksheet tab.
This may help you locate a worksheet
more easily or help you organize a
workbook that contains several
worksheets.
Click the worksheet tab you want to color.
Select Format-->Sheet-->Tab Color.
In the Format Tab Color dialog, click the
color you want.
Click OK.
03/26/2024 63
Remove Colour from sheet tab
03/26/2024 64
Use Excel's Auto Fill features
03/26/2024 65
Autofil cont.
03/26/2024 66
Create Headers and Footers
Go to the File
menu and select
Page Setup OR
from Print Preview,
click Setup.
On the
Header/Footer tab,
choose an option
from the drop-lists
or choose to create
a Custom
Header… or
Custom Footer…
03/26/2024 67
Create Headers and Footers
03/26/2024 69
Hands on Activity cont.
03/26/2024 71
Formulas
What is a formula?
A formula is a mathematical expression
that calculates a value.
In Excel, formulas always begin with an
equal sign (=).
A formula can consist of one or more
arithmetic operators.
The order of precedence is a set of
predefined rules that Excel follows to
calculate a formula.
03/26/2024 72
Error Code
03/26/2024 73
Error Code….
Error Code Explanation
Excel doesn’t recognize a name. Check the spelling
#NAME?
of the function name or if such a function exists.
Occurs when a value is not available to a function
#N/A
or formula.
A cell reference is not valid. You may have deleted
#REF!
named cells referred to in the formula.
There is a problem with a number in a formula or
#NUM!
function.
You specified an intersection of two areas that
#NULL!
don’t intersect.
Cannot resolve
Appears in a dialog box if you use the address of
circular
the active cell in the formula you enter.
references
03/26/2024 74
Arithmetic Operators
03/26/2024 75
Order of Operations
03/26/2024 77
Functions
What is a Function?
A function is a predefined, or built-in, formula for a
commonly used calculation.
Each Excel function has a name and syntax.
• The syntax specifies the order in which you must
enter the different parts of the function and the
location in which you must insert commas,
parentheses, and other punctuation
• Arguments are numbers, text, or cell references
used by the function to calculate a value
• Some arguments are optional
03/26/2024 78
Work with the Insert
Function button
Excel supplies more than 350 functions
organized into 10 categories:
Database, Date and Time, Engineering, Financial,
Information, Logical, Lookup, Math, Text and Data,
and Statistical functions
Note: For this course we will look some functions from
the bolded categories
You can use the Insert Function button on
the Formula bar to select from a list of
functions.
A series of dialog boxes will assist you in filling
in the arguments of the function and this
process also enforces the use of proper syntax79
03/26/2024
Work with the Insert Function
button…
Click the cell in which you want to
enter the formula.
Select Insert Function on the Formula
bar.
Select the category from the drop-
down list, then select the function
name and click OK.
Complete the necessary arguments by
typing the cell or cell ranges OR follow
steps below. (Arguments in bold are
required.)
03/26/2024 80
Work with the Insert Function
button…
03/26/2024 81
Examine the Insert Function
dialog box
03/26/2024 82
Use Functions
Syntax: =FunctionName(arguments)
All arguments must be enclosed in
parenthesis with no spaces. Use the
colon (:) to indicate a range of cells
and a comma (,) to separate
arguments.
03/26/2024 83
Math and Statistical functions
03/26/2024 84
EXAMPLES
03/26/2024 87
Define functions, and
functions…
You can also use functions within
functions.
Consider the expression
=ROUND(AVERAGE(A1:A100),1).
This expression would first compute
the average of all the values from
cell A1 through A100 and then round
that result to 1 digit to the right of the
decimal point
03/26/2024 88
HANDS ON ACTIVITY
03/26/2024 89
Create logical functions
A function that determines whether a
condition is true or false is called a
logical function.
Excel supports several logical
functions such as AND, FALSE, IF,
NOT, OR and TRUE.
A very common function is the IF
function, which uses a logical test to
determine whether an expression is
true or false, and then returns one
value if true or another value if false.
03/26/2024 90
Create logical functions…
The logical test is constructed using a
comparison operator that compares
two expressions to determine if they
are equal, not equal, if one is greater
than the other, and so forth.
The comparison operators are =, >, >=, <,
<=, and <>
You can also make comparisons with
text strings. You must enclose text
strings within quotation marks.
03/26/2024 91
Using the If function
The arguments for the IF function are:
IF(logical_test,value_if_true,value_if_false)
For example, the function =IF(A1=10,20,30)
tests whether the value in cell A1 is equal to
10
If it is, the function returns the value 20,
otherwise the function returns the value 30
Cell A1 could be empty or contain anything
else besides the value 10 and the logical
test would be false; therefore, the function
returns the value 30
03/26/2024 92
Using the If function…
A simple If function will allow a cell to
change depending on a conditional test.
=IF(test, what to do if it is true, what to do
if it is false)
03/26/2024 94
Round Function
=ROUND(cell,number of digits to
round) eg. if cell D2 = 45.256
=round(d2,1) would return 45.3
=round(d2,2) would return 45.26
=round(d2,-1) would return 50
=round(d2,-2) would return 0
Note: Using the format of a number to
round only changes it for display
and printing it does not change it
for calculations.
03/26/2024 95
Using inbuilt Function
03/26/2024 96
Examine the Insert Function
dialog box
03/26/2024 97
The Average Function
The average function is necessary to
calculate the average of a range of
cells.
Like any other formula, the average
function may be copied across cells.
03/26/2024 98
Hands on Activity
03/26/2024 99
Rank Function
To rank values, a Rank function is
used. Rank function 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.)
Syntax : =RANK(number,ref,[order])
03/26/2024 100
Ranking the Marks
03/26/2024 101
Ranking [Alternative]
Click the cell in which you want the
results to appear.
Click the Insert Function button; the
Insert Function dialog box appears.
Click down arrow on the Select a
category box and select Statistical.
On the Select function box double-click
RANK; the Function Arguments dialog
box appears.
03/26/2024 102
Ranking [Alternative]…
Click to select the cell on the number box or
type the number for which you want the
rank.
Type the range or the array you want on the
Ref box; to evaluate your number against.
Type 0 for descending order or any nonzero
value for ascending order on the Order box
or leave it empty
Click OK.
Copy the formula on the other cells
03/26/2024 103
HANDS ON ACTIVITY
Compute the grades of the average
marks for each student usinf the IF
function
Use this Function
=IF(G3>=81,"A",IF(G3>=61,"B",IF(G3>
=41,"C",IF(G3>=21,"D","F"))))
Note: Cell reference will depend on your
work.
03/26/2024 104
Countif Function
The countif
function will count
how many cells
within a range
meet the criteria or
test.
COUNTIF(range,c
riteria)
Range = range to
check
Criteria = test
03/26/2024 105
Copy and paste formulas
and functions
Copying and pasting a cell or range of cells
is a simple, but highly effective means for
quickly filling out a large worksheet.
To copy and paste a cell or range:
Select the cell or range to be copied and then
click the Copy button on the standard toolbar
Select the cell or range into which you want to
copy the selection and then click the Paste
button on the standard toolbar
Once you are finished pasting, press the Esc
key to deselect the selection
03/26/2024 106
Copy and paste effects
on cell references
Copied formulas or functions that have cell
references are adjusted for the target cell or range
of cells.
For example, if cell G5 contains the formula
=F5*B5/B7, and you copy and paste this formula to
cell G6, the formula in cell G6 will be =F6*B6/B8.
This may or may not be correct for your worksheet,
depending upon what you are trying to do.
You can control this automatic adjusting of cell
references through the use of relative and absolute
references.
03/26/2024 107
Cell Referencing
Absolute reference: remains constant when copied
Specified with dollar signs before the column
and row
For example, the absolute reference for B5
would be $B$5.
Relative reference: adjusts during a copy operation
Specified without dollar signs, i.e. B4
Mixed reference: either the row or the column is
absolute; the other is relative
Specified with a dollar sign before the absolute
part of the reference, i.e. B$4
03/26/2024 108
Use mixed references
A mixed reference combines both relative and
absolute cell references.
You can effectively lock either the row or the
column in a mixed reference.
For example, in the case of $B5, the row reference
would shift, but the column reference would not
In the case of B$5, the column reference would shift,
but the row reference would not
You can switch between absolute, relative and
mixed references in the formula easily in the edit
mode or on the formula bar by selecting the cell
reference in your formula and then pressing the
F4 key repeatedly to toggle through the
reference options.
03/26/2024 109
Problems using copy and paste
with formulas
03/26/2024 110
Problems using copy and paste with
formulas …
Cell G5 has the formula =F5*B5/B7 and cell G6
contains =F6*B6/B8. This is where things went
wrong. Sometimes this automatic update is
very useful and other times it does not give you
the desired result for your worksheet.
In this case, cells B5 and B7 should be
referenced in the formula in column G in all
240 payment period rows, but in column J, you
want the cell references to be automatically
updated. You can control this result using
relative and absolute references.
03/26/2024 111
Use relative references
A relative reference is a cell reference
that shifts when you copy it to a new
location on a worksheet.
A relative reference changes in relation
to the change of location.
If you copy a formula to a cell three rows
down and five columns to the right, a
relative reference to cell B5 in the
source cell would become G8 in the
destination cell.
03/26/2024 112
Freeze rows and columns
When you scroll through large
amounts of data in a worksheet, you
can move data off the screen.
If you prefer to have portions of data
remain on the screen at all times,
such as the column and/or row
headings, you can freeze a portion of
the list so that it remains while the rest
of the data scrolls.
03/26/2024 113
Freeze rows and columns…
To freeze rows and columns:
Click in a cell to select it
Click Window on the menu bar, and
then click Freeze Panes to freeze
the rows above the selected cell, and
the columns to the left of the
selected cell
Excel will display dark vertical and
horizontal lines to indicate the rows
and columns that are frozen.
03/26/2024 114
A frozen datasheet
03/26/2024 115
Find and replace values in a
worksheet
The Find command allows you to
search through the data in a worksheet
for a particular character string.
Optionally, you can choose to replace
the character string with another string.
This procedure is called Find and
Replace.
For example, you might want to find
occurrence of Khajara Mohamedi and
replace it with Hajara Hamis
03/26/2024 116
The Find and Replace dialog
box
03/26/2024 117
Sort data in a list
03/26/2024 118
Sort using a single sort key
03/26/2024 119
Adding a Comment to a Cell in
Excel
Comments to worksheet cell(s), helps to
explain the cell contents, or to offer tips
to users.
03/26/2024 120
Procedures to insert Comments
Click cell G1
On the menu bar choose Insert and then
Comment – a comment box will open
Type the comments “Good” where the
cursor is flashing (Cell G1).
Text will wrap automatically.
If starting a new line is require, press the
Enter key in the keyboard.
Click outside the comment box when
comment insertion is completed.
03/26/2024 121
Displaying comments
Right-click the cell which
contains the comment
(e.g. G1).
Choose Show Comments
in the drop-down menu
displayed ( the comments
is displayed continuously
until you decide to hide it)
03/26/2024 122
How to Hide Comments
03/26/2024 123
Sort using multiple keys
03/26/2024 124
Inset Charts
03/26/2024 125
Highlight the
data that you
want to create
your chart for.
Go to the Insert
Menu and
choose the
“Chart” option.
03/26/2024 126
Creating Chart
03/26/2024 127
Charts
A chart is a graphic representation of data. Charts are often used to make large quantities of data more easily
understandable, and recognizable on first view. Charts represent data in different ways depending on the type of
data that is presented.
03/26/2024 128
Chart Wizard
Select all the cells containing the data you want to chart.
03/26/2024 129
The Chart Wizard will present a selection
of chart types, each of which includes
several subtypes. If none of these options
suits your needs, you can click the Custom
Types tab to access a list of specialized
chart types.
03/26/2024 130
Click Next again, and the Chart Wizard will
present options that govern which elements
are included in your chart. For instance, you
can click the Titles tab and enter a title for
the chart and for the chart axes.
03/26/2024 131
03/26/2024 132
After you’ve created a chart, you can still modify any specification made
while running the Chart Wizard. The Chart menu and the Chart toolbar,
which appear whenever a chart or chart sheet is selected, include
options that correspond to the choices the Wizard offers. You can also
click the Chart Wizard button to run the wizard again and revise their
original choices.
03/26/2024 133
Print a workbook
To Print a worksheet, you can use:
A menu
The Print button on the standard toolbar
The Ctrl-P keystroke to initiate a printout
of the worksheet
Excel uses the same basic methods for
printing as other Windows and
Microsoft Office applications.
03/26/2024 134
The Print dialog box
03/26/2024 135