Excel Presentation
Excel Presentation
06/02/2025 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.
06/02/2025 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
06/02/2025 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.
06/02/2025 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
06/02/2025 6
Use of spreadsheet
06/02/2025 7
Spreadsheet in Schools
Management and administration
School Budgeting, School calendar
Database-Teachers and Students
information
Measurement and evaluations of
learners achievement.
Keeping students assessment records
Analyze students examination results
06/02/2025 8
Examples of Spreadsheet
Ms Excel –Microsoft
Lotus 1-2-3 - IBM
Open Office.org calc- Linux
Apple iWork Numbers-Mac
Quattro Pro
06/02/2025 9
Ms Excel
06/02/2025 10
Starting Excel
06/02/2025 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
06/02/2025 13
Workbook and worksheet
Excel files are saved in documents
called workbooks and each workbook
is comprised of individual worksheets
or sheets.
Workbook – contains one or more
worksheets
Worksheet – an Excel spreadsheet
06/02/2025 14
Adding Worksheets
06/02/2025 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
06/02/2025
General tab. 16
To insert more than one
worksheet at a time
06/02/2025 17
Naming a Worksheet
06/02/2025 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
06/02/2025 19
Cell content-cont.
Formulas
References other cells
Preceded by an = (equal sign)
06/02/2025 20
Entering Data into a
Worksheet
06/02/2025 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
06/02/2025 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”
06/02/2025 24
Saving a Spreadsheet …
06/02/2025 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.
06/02/2025 27
Changing the Column Width
and Row Height using Autofit
06/02/2025 29
Inserting a Column or Row
06/02/2025 30
To insert a column
06/02/2025 31
Insert a column and enter
the marks for Kiswahili
06/02/2025 32
To insert a row
06/02/2025 33
To insert a row-cont.
06/02/2025 34
Insert a row and enter the
Name and marks for Aliyah
Adam then Save
06/02/2025 35
To insert multiple rows or columns
06/02/2025 36
Hands on Activity
06/02/2025 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
06/02/2025 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.
06/02/2025 39
To delete multiple rows or
columns
06/02/2025 40
Hands on Activity
06/02/2025 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
06/02/2025 42
Selecting a row, column and entire
worksheet
06/02/2025 43
Selecting Cell Ranges …
06/02/2025 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)
06/02/2025 45
Modifying Data
06/02/2025 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.
06/02/2025 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
06/02/2025 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
06/02/2025 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
06/02/2025 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.
06/02/2025 56
Aligning Cell's Contents Vertically
06/02/2025 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.
06/02/2025 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.
06/02/2025 63
Remove Colour from sheet tab
06/02/2025 64
Use Excel's Auto Fill features
06/02/2025 65
Autofil cont.
06/02/2025 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…
06/02/2025 67
Create Headers and Footers
Click a section to place your
cursor and either type your text or
use one of the tools to insert a field
code.
Select the text or field code(s) to
format, and then click Format
Font to format the text font, style,
etc.
Select the &[Picture] field code,
then click Format Picture to format
the image.
06/02/2025 68
Hands on Activity
06/02/2025 69
Hands on Activity cont.
06/02/2025 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.
06/02/2025 72
Error Code
06/02/2025 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
06/02/2025 74
Arithmetic Operators
06/02/2025 75
Order of Operations
06/02/2025 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
06/02/2025 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
06/02/2025
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.)
06/02/2025 80
Work with the Insert Function
button…
06/02/2025 81
Examine the Insert Function
dialog box
06/02/2025 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.
06/02/2025 83
Math and Statistical functions
06/02/2025 84
EXAMPLES
06/02/2025 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
06/02/2025 88
HANDS ON ACTIVITY
06/02/2025 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.
06/02/2025 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.
06/02/2025 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
06/02/2025 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)
06/02/2025 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.
06/02/2025 95
Using inbuilt Function
06/02/2025 96
Examine the Insert Function
dialog box
06/02/2025 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.
06/02/2025 98
Hands on Activity
06/02/2025 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])
06/02/2025 100
Ranking the Marks
06/02/2025 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.
06/02/2025 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
06/02/2025 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.
06/02/2025 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
06/02/2025 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
06/02/2025 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.
06/02/2025 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
06/02/2025 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.
06/02/2025 109
Problems using copy and paste
with formulas
06/02/2025 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.
06/02/2025 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.
06/02/2025 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.
06/02/2025 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.
06/02/2025 114
A frozen datasheet
06/02/2025 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
06/02/2025 116
The Find and Replace dialog
box
06/02/2025 117
Sort data in a list
06/02/2025 118
Sort using a single sort key
06/02/2025 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.
06/02/2025 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.
06/02/2025 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)
06/02/2025 122
How to Hide Comments
06/02/2025 123
Sort using multiple keys
06/02/2025 124
Inset Charts
06/02/2025 125
Highlight the
data that you
want to create
your chart for.
Go to the Insert
Menu and
choose the
“Chart” option.
06/02/2025 126
Creating Chart
06/02/2025 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.
70
60
50
40
30
10 70
60
0
Amherst Buffalo Clarence East Aurora Kenton Orchard Park Williamsville other
50
40
70
20
60
10
50 0
Amherst Buffalo Clarence East Aurora Kenton Orchard Park Williamsville other
30
Amherst
20
Buffalo
10
Clarence
0 East Aurora
Amherst Buffalo Clarence East Aurora Kenton Orchard Park Williamsville other
Kenton
Orchard Park
Williamsville
other
06/02/2025 128
Chart Wizard
Select all the cells containing the data you want to chart.
06/02/2025 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.
06/02/2025 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.
06/02/2025 131
Average Temperatures
90
80
70
60
50 Buffalo
farenheit
30
20
10
0
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
month
06/02/2025 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.
Average Temperatures
90
You can right click to
format any item on 80
you by now!
50 Buffalo
farenheit
30
20
10
0
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
month
06/02/2025 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.
06/02/2025 134
The Print dialog box
06/02/2025 135