UNIT 5 Spreadsheet Module
UNIT 5 Spreadsheet Module
UNIT 5: SPREADSHEET
Microsoft Excel
✓ is a spreadsheet developed by Microsoft for Windows, macOS, Android and iOS.
✓ is a convenient program because it allows user to create large spreadsheets, reference
information, and it allows for better storage of information.
used to record and analyze numerical and statistical data.
provides multiple features to perform various operations like calculations, pivot
tables, graph tools, macro programming, etc.
Getting Started
There are a number of ways to open the Excel program.
First, look for the Excel icon on your desktop and double click it. The Excel
screen should open
for you.
If you cannot find the Excel icon, click the Start button on the bottom left corner of your
desktop to display
the Start menu, then choose:
Or
The Microsoft Excel worksheet window consists of many parts. Below is a picture of the
worksheet window and all of its component parts. The more commonly used areas are
highlighted.
The ribbon provides shortcuts to commands in Excel. A command is an action that the
user performs. An example of a command is creating a new document, printing a
documenting, etc. The image below shows the ribbon used in Excel 2013.
Ribbon tabs – the tabs are used to group similar commands together. The home tab is
used for basic commands such as formatting the data to make it more presentable,
sorting and finding specific data within the spreadsheet.
Ribbon bar – the bars are used to group similar commands together. As an example,
the Alignment ribbon bar is used to group all the commands that are used to align data
together.
Excel Cursors
Special Keys
In addition to the Enter, Tab, Shift, and arrow keys mentioned previously the following
are also special keys used in Excel.
Key Function
F7 Spell Check
F1 Help
ARITHMETIC
S/N FIRST NUMBER SECOND NUMBER RESULT
OPERATOR
1 Addition (+) 13 3 16
2 Subtraction (-) 21 9 12
3 Division (/) 33 12 2.75
4 Multiplication (*) 7 3 21
For this tutorial, we will be using Microsoft Excel 2013. The good news is even if you
have Microsoft Excel 2007 or 2010, you will still be able to follow the tutorial and get the
same result.
Open Excel. You will get a window similar to the one shown below. The outlook of Excel
will depend on your version.
HERE,
“=” tells Excel to evaluate whatever follows after the equal sign
“C2” is the cell address of the first number given by C representing the column
letter and 2 representing the row number
“D2” is the cell address of the second number given by D representing the column
letter and 2 representing the row number
Press enter key on the keyboard when done. You should get 16 as the result.
Using the knowledge gained in the above example, try to write the formulas for
subtraction, division, and multiplication.
Bold
Align serial numbers to the left
Enclose the data in boxes.
Highlight the cells that have the column names by dragging them.
Click on the bold button represented by B command.
Your workbook should now appear as follows
Using the knowledge gained above, try to change the font color and try out other options
available on the Home tab.
Step 6) Set the Print Area, Print Preview & Page Layout
The print area is the part of the worksheet that you would like to print out on paper. The
quick and easy way of doing it is by using the following shortcut commands
Ctrl + P
The page setup ribbon bar has a number of options i.e. orientation, size, etc. Try to apply
the different settings and use Ctrl + P shortcut to preview the effects on the worksheet.
Exercise – Now You
Try the following exercise
1. Open Excel – Using the start menu, search for Excel. From the menu click
Excel to open. This creates a new blank document, usually titled Book1 by
default.
2. Enter the following table into Excel – Using your keyboard enter the
information into Excel. You can use your mouse or arrow keys to move
around.
In cell D1 (Wednesday), the full name does not show. We will work on
resizing to have
this fit shortly.
3. Resize the columns and format the table to match below – This can be done
using the font group found on the Home tab of the ribbon. Adjusting columns
and row sizes can be done in the header (see pointers above for details).
5. Add a 2-D Bar Chart of Total Sales – To add a chart first select the data then
use the Insert tab of the ribbon (Charts group). Remember, to select cells not
directly connected use the Ctrl key.
6. Save the workbook – Using the file menu, save the workbook to the desktop
as Weekly Totals
7. Exit Excel
Exercise – Copy Cat
Create the following worksheet in Excel, using the File menu Print Preview to check your
work. Save worksheet to the desktop as Class Schedule once finished. Be sure to adjust
the page layout as needed.
WHAT IS FUNCTION IN EXCEL?
Functions increase user productivity when working with excel. Let’s say you
would like to get the grand total for the above home supplies budget. To make it simpler,
you can use a formula to get the grand total. Using a formula, you would have to
reference the cells E4 through to E8 one by one. You would have to use the following
formula.
= E4 + E5 + E6 + E7 + E8
As you can see from the above function used to get the sum of a range of cells, it is
much more efficient to use a function to get the sum than using the formula which will
have to reference a lot of cells.
Common functions
Let’s look at some of the most commonly used functions in MS excel formulas. We will
start with statistical functions.
01 SUM Math & Trig Adds all the values in a range of cells =SUM(E4:E8)
string text
Numeric Functions
As the name suggests, these functions operate on numeric data. The following table
shows some of the common numeric functions.
String functions
These basic excel functions are used to manipulate text data. The following table shows
some of the common string functions.
FUNCTIO COMMEN
S/N CATEGORY DESCRIPTION USAGE
N T
Returns a
number of Left 4
specified Character
1 LEFT Text characters from =LEFT(“GURU99”,4) s of
the start (left- “GURU99
hand side) of a ”
string
Returns a
number of Right 2
specified Character
2 RIGHT Text characters from =RIGHT(“GURU99”,2) s of
the end (right- “GURU99
hand side) of a ”
string
Retrieves a
number of
characters from
the middle of a
string from a Retrieving
3 MID Text specified start =MID(“GURU99”,2,3) Character
position and s 2 to 5
length.
=MID (text,
start_num,
num_chars)
FUNCTIO COMMEN
S/N CATEGORY DESCRIPTION USAGE
N T
Returns True if
value –
the supplied
4 ISTEXT Information =ISTEXT(value) The value
parameter is
to check.
Text
Returns the
starting position
of a text string
within another
Find oo in
text string. This
5 FIND Text =FIND(“oo”,”Roofing”,1) “Roofing”,
function is case-
Result is 2
sensitive.
=FIND(find_tex
t, within_text,
[start_num])
Replaces part of
a string with
another specified
string. Replace
=REPLACE
6 REPLACE Text =REPLACE “oo” with
(“Roofing”,2,2,”xx”)
(old_text, “xx”
start_num,
num_chars,
new_text)
VLOOKUP function
The VLOOKUP function is used to perform a vertical look up in the left most column and
return a value in the same row from a column that you specify. Let’s explain this in a
layman’s language. The home supplies budget has a serial number column that uniquely
identifies each item in the budget. Suppose you have the item serial number, and you
would like to know the item description, you can use the VLOOKUP function. Here is how
the VLOOKUP function would work.
HERE,
"=VLOOKUP" calls the vertical lookup function
"C12" specifies the value to be looked up in the left most column
"A4:B8" specifies the table array with the data
"2" specifies the column number with the row value to be returned by the
VLOOKUP function
"FALSE," tells the VLOOKUP function that we are looking for an exact match of the
supplied look up value