Professional Documents
Culture Documents
Electronic spreadsheets
Definition: A spreadsheet is a computer application that simulates a paper, accounting
worksheet. It displays multiple cells that together make up a grid consisting of rows and
columns, each cell containing either alphanumeric text or numeric values.
The two main types of spreadsheets are: Electronic spreadsheets and manual
spreadsheets.
Manual spreadsheets: A sheet of paper, marked with a grid, in which data is recorded
and calculations done manually.
Electronic spreadsheets: A computer simulation of a manual spreadsheet [with a grid
consisting of rows and columns] for recording data, with totals and other formulas
calculated automatically and most of the functionalities automated.
Spreadsheets in the market
There are several spreadsheet software packages in the market. These include:
1) VisiCalc – VisiCalc was the first spreadsheet that combined all essential features of
modern spreadsheet applications, such as WYSIWYG interactive user interface,
automatic recalculation, status and formula lines, range copying with relative and
absolute references, formula building by selecting referenced cells.
2) Lotus 1-2-3 – The acceptance of the IBM PC following its introduction in August,
1981, began slowly, because most of the programs available for it were translations
from other computer models. Things changed dramatically with the introduction of
Lotus 1-2-3 in November, 1982, and release for sale in January, 1983. Since it was
written especially for the IBM PC, it had good performance and became the killer app
for this PC. Lotus 1-2-3 drove sales of the PC due to the improvements in speed and
graphics compared to VisiCalc on the Apple II.
3) Microsoft Excel – Microsoft had been developing Excel on the Macintosh platform
for several years at this point, where it had developed into a fairly powerful system. A
port of Excel to Windows 2.0 resulted in a fully functional Windows spreadsheet. The
more robust Windows 3.x platforms of the early 1990s made it possible for Excel to
take market share from Lotus. By the time Lotus responded with usable Windows
products, Microsoft had started compiling their Office suite. Starting in the mid 1990s
continuing through the present, Microsoft Excel has dominated the commercial
electronic spreadsheet market.
4) Apple Numbers - Numbers is Apple Inc.'s spreadsheet software, part of iWork
(iWork is an office suite of desktop applications created by Apple for the Mac OS X
and iOS operating systems.). It focuses on usability and the elegance of chart
presentation. Numbers completed Apple's productivity suite, making it a viable
competitor to Microsoft Office. It lacks features such as pivot table.
5) OpenOffice.org Calc – OpenOffice.org Calc is a freely available, open-source
program modelled after Microsoft Excel. Calc can both open and save in the Excel
(XLS) file format Calc can be acquired as both an installation file and a portable
program, capable of being run from a device such as a USB memory drive. It can be
downloaded from the OpenOffice.org website.
6) Gnumeric – Gnumeric is a free spreadsheet program that is part of the GNOME Free
Software Desktop Project and has Windows installers available. It is intended to be a
free replacement for proprietary spreadsheet programs such as Microsoft Excel,
which it broadly and openly emulates.
There several other Spreadsheets some of which are current and others that have already
been discontinued.
Advantages of electronic spreadsheets over manual spreadsheets.
1) They perform calculations faster and more accurately than manual spreadsheets.
2) It is easier and faster to enhance your spreadsheet using the various formatting
features.
3) They are more neat and presentable as opposed to working on a manual worksheet.
One can delete and modify his/her data over and over without affecting the
appearance of the work.
4) One can protect his work from unauthorized access through use of passwords.
5) There is automatic recalculation of values when data is changed. Once the appropriate
formulas and functions are in place, if you change the data being acted upon by the
formulas and functions the new results/answers are calculated automatically.
6) It is easier to transfer data contained in an electronic spreadsheet from one
geographical location to another one. This can be done through use of different
storage media e.g. compact discs [CDs], flash discs etc or even sending via e–mail as
an attachment.
7) It is easier to modifying data is easier in an electronic spreadsheet.
8) Data stored in an electronic spreadsheet occupies a very small physical space.
9) There is concurrent access to data. In a network environment people can be able to
access the same data at the same time [simultaneously].
10) It is easier and faster to come up with graphs/charts in an electronic worksheet.
11) It is easier and faster to backup data in an electronic spreadsheet.
Disadvantages of electronic spreadsheets.
1) Electronic spreadsheets require skilled personnel.
2) They require a source of power to operate. This could be electricity, solar power etc.
3) They are costly to install, maintain. One needs to buy computers, software, peripheral
devices etc
4) They can be a health hazard i.e. strain eyes, back pains etc.
5) Hackers can gain access to your work even with security measures in place..
6) They are prone to virus attacks. This might cause corruption or loss of data.
7) Propagation of errors. Incase one makes an error in a given cell, that error will be
propagated to all cells whose formula/function refers to that cell and to the cells that
refer to them etc
8) Data might be lost due of failure e.g. hardware failures, software failures, power
failures etc.
Different ways of opening Excel
There are four different ways of opening Microsoft Excel. These are: –
i.) Click on start, Select Programs then select Microsoft Excel.
ii.) Open an existing Microsoft Excel workbook. Opening an existing workbook
automatically opens MS Excel.
iii.)Click on start and select run. In the resulting dialog window, type Excel and then
click OK.
iv.) One can also open MS Excel by double clicking on the Microsoft Excel shortcut icon
on the desktop
Definitions:
Work book – A workbook is a Microsoft excel file that contains one or more worksheets
where data is entered.
Worksheet – A worksheet is a page in a Microsoft Excel workbook which contains rows
and columns which intersect to form cells where data is entered.
Cell – A Cell is an intersection of a row and a column and its where we enter our data.
Cell reference – A cell reference is the identifier of a cell with respect to the Column and
row it is located in e.g. F5, A1, D20 etc.
Cell Range – A cell range is a group of cells that have been selected for a certain purpose
e.g. B5:B25, C1:H20 etc. A cell range is identified by the cell references of the cells on
the top left and bottom right of the cell range.
Working with Excel – An introduction.
This section introduces various ways of doing certain things in MS Excel. This includes
renaming, inserting, deleting, re-arranging worksheets etc.
1) Inserting worksheets
There are three different ways of inserting worksheets into a workbook.
i.) Activate the “Home” tab. Click on the drop down for “Insert” button and select
“insert sheet”.
ii.) Right click on the sheet tab and from the resulting pop up menu select insert. From
the resulting dialogue window select worksheet click ok.
iii.)Click on the insert button on the sheet tab.
2) Renaming a worksheet
There are three different ways of renaming a worksheet.
i.) Double click on the name of the worksheet to rename on the sheet tab.
Type the new name the press Enter.
ii.) Right click on the name of the worksheet on the sheet tab in the resulting pop up
menu, click on rename. Type the new name and click enter.
iii.)Activate the “Home” tab. Click on the drop down for “Format” button and select
“Rename Sheet”. Type the new name and click enter.
3) Deleting worksheets
There are two different ways of deleting a worksheet.
i.) Right click on worksheet to delete on the sheet tab and from the resulting pop up
menu, select delete. Confirm deletion by clicking “Delete” on the resulting dialog
window.
ii.) Activate the “Home” tab. Click on the drop down for “Delete” button and select
“Delete Sheet”. Confirm deletion by clicking “Delete” on the resulting dialog
window.
4) Rearranging/arranging Worksheets.
There are three different ways of rearranging/arranging worksheets
i.) Click the name of the worksheet to move on the sheet tab. While holding the left
mouse button down drag to the position to place and release the mouse.
ii.) Select worksheet to move. Activate the “Home” tab. Click on the drop down for
“Format” button and select “Move or Copy Sheet”.
In the resulting dialogue window, specify where to move the worksheet.
Click OK.
iii.)Right click on worksheet to move on the sheet tab.
From the pop up menu select move or copy.
In the resulting dialogue window, specify where to move the worksheet.
Click OK.
5) Copying/Creating a Copy of the Worksheet
There are three different ways of creating a copy of a worksheet
i.) Right click on the name of the worksheet on the sheet tab and from the pop up menu
select move or copy.
In the resulting dialogue window, specify where the copy should be placed.
Put a check mark on the create a copy check box and then click OK.
ii.) Select worksheet to move. Activate the “Home” tab. Click on the drop down for
“Format” button and select “Move or Copy Sheet”.
In the resulting dialogue window, specify where to move the worksheet.
Put a check mark on the create a copy check box and then click OK.
Parts of a Spreadsheet
Column
Header
Column Header
Active Cell – It is the cell with the black outline. Data is always entered into the active
cell.
Name box – It is used to identify the active cell drawing or objects. To quickly move to a
certain cell one can enter the cell reference in a name box.
Row Header/Heading – Used to select the entire row .e.g. To apply a certain formatting
feature to an entire row .One selects the row using a column heading.
Sheet tab – Used to navigate from one sheet to the other and it also identifies the active
worksheet.
Status Bar – Used to communicate with the user in a non intrusive way.
Horizontal Scroll Bar – Used to move to the left or right of the workbook.
Column Header/Heading – Used to select the entire column e.g. To apply a certain
formatting feature to an entire Column .One selects the column using a column heading.
Formula bar – Displays the constant value or formula used in the active cell. One can
also enter or edit value in formula bar.
Quick Access Toolbar
This customizable toolbar allows you to add frequently used commands. Click on the
down arrow at the end of the toolbar to display the available options.
Office Button
Clicking on the Office Button displays a drop down menu containing a number of
options, such as open, save, and print. The options in the Office Button menu are very
similar to those found under the File menu in previous versions of Excel.
Ribbon
The Ribbon is the strip of buttons and icons located above the work area in Excel 2007.
The Ribbon replaces the menus and toolbars found in earlier versions of Excel.
Excel 2007 Ribbon layout
The following set of ribbons is available with every document that is opened in Excel.
Other ribbons are available for specialized tasks and will only appear when needed. An
example is the Chart ribbon.
Insert: objects into the file, such as pictures, charts, header/footer, and pivot tables
Data: data from other sources, such as Access, text, or web, validation and sorting tools
View: views of the spreadsheet, zoom, macros, formulas, gridlines, and switch windows
icon to switch between open spreadsheets
Example 1
= SUM(B5:H10)
The above function computes the sum of all values between B5 and H10
Example2
= SUM(A1:A5, B3, C2:C6, D5, E10:E14)
In the above function the cells between H5 and H20 are evaluated and if any of the cells
has the entry “Accounts” the value in the corresponding cell between K5 and K20 is
added /summed.
COUNT worksheet function
It is used to count all the cells in a given range that have numbers in them.
Syntax
= COUNT (Range)
Range – Specifies the cells you want evaluated.
Example
= COUNT (B20:B40)
The above example, counts all the cells between B20 and B40 that have values in them.
COUNTBLANK worksheet function
Counts all the cells in a given range that do not have values in them
Syntax
= COUNTBLANK(Range)
Range – Specifies the cell you want evaluated.
Example
= COUNTBLANK (A2:A12)
Counts all the cells between A2 and A12 that do not have values in them
COUNTIF Worksheet Function
It’s used to count all the values in a given range that meet specific criteria.
Syntax
= COUNTIF(Range, Criteria)
Range – Specifies the cell you want evaluated
Criteria – The condition that has to be met for the cell to be counted.
Example 1
= COUNTIF(C2:C20,”>=50”)
The above function counts all the cells between C2 and C10 which have values greater
than or equal to 50.
Example 2
= COUNTIF(D4:D20,”Muslim”)
The above function counts the number of cells between D4 and D20 have the entry
Muslim in them.
MIN worksheet function
MIN worksheet function gets the smallest/lowest value in a given in a given range.
Syntax
= MIN(Range)
The function above will return true if the value in H5 is between 0 and 100 and returns
false if otherwise.
Example 3
= AND (F1 > 5, F2 < 12, G1 = H1, H2 <> 0)
The above function will return true if the value in F1 is greater than 5 and the value in F2
is less than 12 and value in G1 is equal to the value in H1 and the value in H2 is not
equal to 0. It return false otherwise.
IF Worksheet Function
IF function returns one value if a condition you specify evaluates to TRUE and another
value if it evaluates to FALSE. The IF function is used to conduct conditional tests on
values and formulas.
Syntax
If (logical_test, value_if_true, value_if_false)
Logical_test – It is any value or expression that can evaluate either true or false. For
example, B20 >= 50 is a logical expression; if the value in cell B20 is greater than or
equal to 50, the expression evaluates to TRUE. Otherwise, the expression evaluates to
FALSE.
Value_if _true – This is the value that is returned if the logical test evaluates to true.
Value_if _false – This is the value that is returned if the logical test evaluates to false.
Example 1
= IF(H5 >=5 0, ”Pass”, ”Fail”)
In the above example if the value in H5 is greater than or equal to 50, the value returned
by the IF statement will be Pass. Otherwise the value returned will be Fail.
Example 2
= IF(A2 > B2, A2 – B2, A2 + B2)
The above example if the value in A2 is greater than the value in B2 the value in B2
subtracted from the value in A2 otherwise the values will be added.
Examples 3
IF(K2 >= 80, ”A”, IF(K2 >= 70, ”B”, IF(K2 >= 60, ”C”, IF(K2 >=50 ,”D”, “E”))))
The above example will return A if the value in K2 is greater or equal to 80, B is returned
if the value in K2 is greater or equal to 70, C is returned if the value in K2 is greater or
equal to 60, D is returned if the value in K2 is greater than or equal to 50, otherwise E is
returned.
The example above is an example of a nested function.
Nested Function – A nested function is a function within a function.
Example 4
= IF(AND(B7 >= 0,B7 <= 100), “OK”, “NOT OK”)
The above example returns OK if the value in B7 is between 0 and 100 otherwise NOT
OK is returned.
The format dialog window applies formats to the selected cells. This command might not
be enabled if the worksheet is protected.
The tabs available are;
Number, Alignment, Font, Border, Fill and Protection.
Number
Category – Used to specify a number format.
Type – Specifies how dates, times, fractions or custom formats are displayed.
Decimal Places – Enter a number to specify the number of digits displayed to the right of
the decimal point.
Alignment
Text alignment – Changes the horizontal or vertical alignment of cell contents, based on
the options you choose.
Vertical: Alignment of cell contents. Default is bottom.
Options: Top, Center, Bottom, Justify
Orientation: Select an option to change the orientation of text in selected cells.
Orientation is used to specify the angle at which the data will be displayed.
i.) Select the row(s) you want to hide. Activate the “Home” tab. Click on the drop down
for “Format” button and select “Hide & Unhide”. From the resulting sub menus,
select “Hide Rows”.
ii.) Right click on the row header of the row(s) that you want to hide and select “Hide”
from the pop-up menu.
Unhiding a Row
This displays rows in the current selection that were previously hidden.
There are two main ways of unhiding a row.
i.) Highlight the row before and the row after the hidden row. Activate the “Home” tab.
Click on the drop down for “Format” button and select “Hide & Unhide”. From the
resulting sub menus, select “Unhide Rows”.
ii.) Highlight the row before and the row after the hidden row. Right click and select
“Unhide” from the pop-up menu.
Inserting a Row
There are two main ways of inserting a row.
i.) Select the row where you want to insert a new row. Activate the “Home” tab. Click
on the drop down for “Insert” button and select “Insert Sheet Rows”.
ii.) Right click on the row header of the row where you want to insert a new row and then
select “Insert”.
Deleting a Row
There are two main ways of deleting a row.
i.) Select the row(s) you want to delete. Activate the “Home” tab. Click on the drop
down for “Delete” button and select “Delete Sheet Rows”.
ii.) Right click on the row header of the row you want to delete and then select “Delete”.
Formatting a Column
Changing the width of the selected column
There are three main ways of changing the width of a column. These are: –
i.) Select the column whose width you want to change. Activate the “Home” tab. Click
on the drop down for “Format” button and select “Column Width”. In the resulting
dialog window, type the new width and click OK.
ii.) Right click on the column header of the row whose width you want to change. From
the pop-up menu, select “Column Width”. In the resulting dialog window, type the
new width and click OK.
iii.)On the column header, click on the column separator and drag to the desirable width.
Column AutoFit
This adjusts the entire column width to the minimum necessary to display the width of
the widest data in the selection. The process is as follows: –
Select the column or the cells which you want to autofit column width. Activate the
“Home” tab. Click on the drop down for “Format” button and select “Autofit Column
Width”.
Hiding a Column
This hides the selected column(s). Hiding columns does not delete them from the
worksheet.
There are two main ways of hiding a column.
i.) Select the column(s) you want to hide. Activate the “Home” tab. Click on the drop
down for “Format” button and select “Hide & Unhide”. From the resulting sub
menus, select “Hide Columns”.
ii.) Right click on the column header of the column(s) that you want to hide and select
“Hide” from the pop-up menu.
Unhiding a Column
This displays columns in the current selection that were previously hidden.
There are two main ways of unhiding a column.
i.) Highlight the column before and the column after the hidden column. Activate the
“Home” tab. Click on the drop down for “Format” button and select “Hide &
Unhide”. From the resulting sub menus, select “Unhide Columns”.
ii.) Highlight the column before and the column after the hidden row. Right click and
select “Unhide” from the pop-up menu.
Default Width
This changes the standard width of columns on a worksheet. The process of setting the
default width is as follows
Select any cell in the worksheet, Activate the “Home” tab. Click on the drop down for
“Format” button and select “Default Width”. In the resulting dialog window, type the
new width and click OK.
Inserting a Column
There are two main ways of inserting a column.
i.) Select the column where you want to insert a new column. Activate the “Home” tab.
Click on the drop down for “Insert” button and select “Insert Sheet Columns”.
ii.) Right click on the column header of the column where you want to insert a new
column and then select “Insert”.
Deleting a Column
There are two main ways of deleting a column.
i.) Select the column(s) you want to delete. Activate the “Home” tab. Click on the drop
down for “Delete” button and select “Delete Sheet Columns”.
ii.) Right click on the column header of the column you want to delete and then select
“Delete”.
Formatting a Worksheet
Renaming a worksheet
There are three different ways of renaming a worksheet. Revisit previous sections for
details.
Hiding a worksheet
This hides the active worksheet. The worksheet remains open and accessible to other
worksheets, but it is not visible.
You cannot hide the only visible sheet in a workbook.
There are two main ways of hiding a worksheet.
i.) Select the worksheet(s) you want to hide. Activate the “Home” tab. Click on the drop
down for “Format” button and select “Hide & Unhide”. From the resulting sub
menus, select “Hide Sheet”.
ii.) Right click on the name of the worksheet that you want to hide on the sheet tab and
select “Hide” from the pop-up menu.
Unhiding a worksheet
This unhides a previously hidden worksheet.
There are two main ways of unhiding a worksheet.
i.) Activate the “Home” tab. Click on the drop down for “Format” button and select
“Hide & Unhide”. From the resulting sub menus, select “Unhide Sheet”. In the
resulting dialog window, select the worksheet you want to unhide and click OK.
ii.) Right click on the sheet tab and select “Unhide” from the pop-up menu. In the
resulting dialog window, select the worksheet you want to unhide and click OK.
Inserting a Worksheet
There are three main ways of inserting a worksheet. Revisit previous sections for details.
Deleting a Worksheet
There are two main ways of deleting a worksheet. Revisit previous sections for details.
Setting the Background
Used to insert a graphic image in the worksheet background, based on the bitmap you
select. The process is as follows.
Select the worksheet in which you want to insert the background. Activate the “Page
Layout” tab. Click on the “Background” button and in the resulting dialog window
browse to the location of the picture. Select a picture and select “Insert”.
SAVE AS – Saves the active file with a different name, different file format and file
location.
Saving a File With a Password to Open.
Open the file you want to protect with a password.
Click on the office button and then click on Save As…
In the resulting dialogue window click on Tools > General options
Enter the password to open and/or password to modify
Click OK.
Confirm the password(s)
Select location to save the file in.
Supply file name.
Clicks Save.
NB: A password protects a workbook’s content from being viewed or changed by others.
Creating a Template
Open a new workbook
Design the template (structure, formulas, functions etc)
Click on the office button and select Save As….
In the resulting dialogue window specify where you want to save the file.
Under Save As Type select “Excel Template”
Click on SAVE.
Saving a Workbook as a Web Page
Open workbook to save as a web page.
Click on the office button and select Save As...
In the resulting dialogue window specify where you want to save the file.
Under the Save As Type, select “Web Page”
Enter the file name.
Click on SAVE.
Changing the Orientation of the Printed Work
Select the worksheet whose orientation you want to change.
Activate the “Page Layout” tab.
Click on Page Setup dialog box launcher.
In the resulting dialogue window click on Page Tab.
Under Orientation Select either Portrait or landscape.
Click OK
Scaling the Printed Work
Scaling – reduces or increases the magnification of the printed worksheet or fits the
worksheet to a specific number of pages when you print.
Steps Followed
Select the worksheet to scale.
Activate the “Page Layout” tab.
Click on Page Setup dialog box launcher.
In the resulting dialogue window, click on Page Tab.
Under scaling select “Adjust to” and specify the % to adjust the Worksheet OR Select Fit
To and specify the number of pages your work should fit into in terms of width & height
Click OK.
Changing /Specifying Paper Size to Use When Printing
Select the appropriate worksheet.
Activate the “Page Layout” tab.
Click on Page Setup dialog box launcher.
In the resulting dialogue window click on Page Tab.
From the paper size combo box, select the appropriate paper size.
Click Ok.
Setting Margins to Be Used In Printing
Select worksheet with margins you want to set.
Activate the “Page Layout” tab.
Click on Page Setup dialog box launcher.
In the resulting dialogue window click on the margins tab.
Specify the values that will be used for the margins.
Click OK.
Centering Your Work on a Printed Page
Select the appropriate worksheet.
Activate the “Page Layout” tab.
Click on Page Setup dialog box launcher.
In the resulting dialogue window, click on the margins tab.
Under center on page put a check mark on horizontally or on vertically or on Both.
Click Ok.