Module 3 - Comp 312 - Computer Fundamentals and Programming
Module 3 - Comp 312 - Computer Fundamentals and Programming
OVERVIEW:
The use of electronic spreadsheet has been maximized over the years at the onset of
modern software that support graphics as well as text and calculations. The first electronic
spreadsheet, developed by Dan Bricklin and Robert Frankstone in 1978 was called VisiCalc
for Visible Calculator. This program was designed to solve any electronic spreadsheet
problem that was accepted by individuals who mainly use numbers. Since then, many
companies developed and produced their own electronic spreadsheet programs, including
Lotus 1-2-3 from Lotus Development Corporation.
The Lotus spreadsheet was developed and introduced by Mitch Kapor in the market
in 1983. This software was described as a combination of spreadsheet, graphics and
database. Lotus, however, was stripped of its title as the market leader when Microsoft
introduced Excel which runs under Microsoft Windows. The advantage of Excel over other
spreadsheet software is that Windows provides a standard environment for all of the
programs running under it. This environment allows visual interface which is used when
communicating with other applications in the Windows environment. Windows and the
application software that it supports have a standard screen display that makes working
with this software more or less similar.
The clipboard feature of Windows also allows these capabilities: information transfer
without much effort and multiple loading of programs simultaneously and switching among
them effortlessly. These capabilities depend though on whether your computer could
support the necessary requirement for running multiple programs together.
In this chapter, you will learn electronic spreadsheet as a tool in all your
documenting needs. The focus of the discussion will be on what and how electronic
spreadsheet works as a productivity tool. We will also learn about MS Excel, the most
popular electronic spreadsheet program in the market today.
Below is a list of knowledge that maybe you have encountered in your previous
computer subjects. Check the appropriate box corresponding to your agreement to
the statement using the scale given below.
Statements 5 4 3 2 1
I do not use a spreadsheet, nor can I identify any uses of
features it might have which would benefit the way I work.
I understand the use of a spreadsheet and can navigate within
one.
I can create a simple spreadsheet which adds a column of
numbers.
I use a spreadsheet for several applications.
These spreadsheets use the following:
a. labels
b. formulas
c. cell references
I can change the format of the spreadsheets by changing
column widths and text style.
I can use the spreadsheet to make a simple graph or chart.
I use spreadsheet as a student to help improve my own data
keeping and analysis skills.
In their book, Computers and Information Systems, Tools for an Information Age,
H.L. Capron and John D. Peron aptly defined an electronic spreadsheet as a “computerized
version of a manual spreadsheet”. Recent modifications of electronic spreadsheets,
however, allow more than just calculations but also offer a wide variety of features. Modern
features include graphical representations of the data in the spreadsheets, database and
transfer of information to and from other Windows applications. Some spreadsheets
contain built-in formulas or may also maintain links to each other which enable data
entered in one spreadsheet to update an entry in another.
Of the various kinds of electronic spreadsheet software in the industry today, Excel
is the most popular and widely used in business and the academe. This holds true for the
other software application tools supported by Windows. Most probably, the electronic
spreadsheet loaded in your computer laboratory is Microsoft Excel, which is the focus of the
discussion in this chapter.
As lifted from the book of Martin S. Matthews entitled Excel for Windows
Made Easy, Excel has three components that perform three different tasks: 1) the
spreadsheet component which displays and analyzes text and numbers in rows and
columns, 2) the database component which manipulates lists of information, and 3)
the chart component which produces useful charts. A common data structure makes
1. Budget Management – you can use Excel in forecasting expenses and income and
analyzing expenditures by categories like manpower, loan interest, and utilities and
so on. You can manipulate the data in anticipation of changes in the business
situation and you can clearly see the results. For example, if you hire additional
manpower, labor costs would increase which, in turn, would affect the income. Excel
calculates data changes as you enter these in the spreadsheet and displays the
results on your screen.
3. Investments – Excel provides tools for the finance and investment industry to
analyze the economic scenarios that would affect the market. This program is
likewise used to analyze the costs of borrowing and lending vis a vis the anticipated
profits in lending money particularly during fluctuations in interest rates and peso-
dollar exchange rates.
1.3.1 Files/Workbooks
1.3.2 Rows
1.3.4 Sheets
1.3.5 Addresses
Refers to the specific location as to rows and columns of data or information
you stored. An address is written with the column reference first followed by the
row. For example, Sheet A1 –which means that your data is located in sheet 1 in
intersecting column A row 1.
1.3.6 Cells
The intersection of a column and a row on a single sheet is referred to as a
single address. A cell is a box in which you can enter a single piece from an array of
data. Data usually come in the form of text, numeric values or formulas. The entire
spreadsheet is composed of rows and column of cells. Individual cells are usually
identified by a column letter and a row number. For example, A1 specifies the cell in
column A and row 1.
The characters that are entered in cells are manipulated. Numbers, including
formulas, may be formatted in various ways. Text can also be used to label rows and
columns, titles or notes on sheets. Numbers can be used to perform arithmetic
functions but not text. Text entered in cells is considered by Excel as numbers, thus if
included in a formula, Excel will invalidate the formula.
Identifies one or more cells for use in a formula; it can be a single cell address
like A1 or a group of cells identified by multiple cell addresses and a reference
operator such as A1:A5; or a name or names that refer to one or more cells like
Expenses. A reference name is a line of text that begins with a letter and can be as
Colon (:)
Comma (,)
Space (___)
Intersection – the cells common to two references or a group of cells that are
both in two references.
A row of cells
(B2:E3)
A block of cells
(B4:E11) A column of cells
(H2:H12)
Intersection of (D20:E28,B18:F26)
1.3.10 Labels
In spreadsheets programs, a label is any descriptive text places in a cell.
For instance, you cannot use the formula =A1+B1*C1 to add two amounts
before multiplying them by a third because based on the order of calculation,
multiplications is performed before addition. However, when you put parentheses
around the addition operation, the formula becomes =(A+B)*C, thus the addition is
Operator Description
: (colon) Reference operators
(single space)
, (comma)
- Negation (as in -1)
% Percent
^ Exponentiation
* and / Multiplication and division
+ and - Addition and subtraction
& Connects two strings of text
(concatenation)
= < > <= >= <> Comparison
Comparison operators are used to compare two values like when two values
are compared by using these operators, the result is a logical value either True or
False.
Learning Excel is simple but to be skillful in the use of the program for calculations
and presentation, you must familiarize yourself with the basics of the program and must
always practice to discover and rediscover its uses.
To start MS Excel
1. Most computers have an Excel shortcut button on the screen – double click this
button.
4. Double click the left button of the mouse to open the Excel window.
As the program loads, a new, blank workbook window appears. Each workbook can
hold multiple worksheets that are used to contain various related data or information in a
Menu bar
Formatting
Toolbar Column
Heading -
Name Box – runs vertically
displays the reference in a
address worksheet
Workbook and is
Row Heading – runs Window identified
horizontally and by the
is identified by the letter
number heading heading
Sheet tabs –
allow you to scroll
though worksheets Sheet name – names the sheet; you may change the name of
to view its contents the sheet; the active sheet is the one that is highlighted
Navigating in a Worksheet
A worksheet is made up of rows and columns just like a ledger sheet. You may
browse over a workbook window or in a particular worksheet by using arrow keys to move
through different cells. If MS Word has a cursor or an insertion point, MS Excel has an active
Workbooks may be created according to your needs and specifications. Like many
students who studied electronic spreadsheets for the first time, you might be overwhelmed
by the many features and capabilities of the software. To help you familiarize yourself with
the software, some of the common features are presented in the following topics.
There are two ways of creating a new workbook. You may use the mouse or the
keyboard but you have to decide whether to start a new blank workbook or to open a
workbook template. You may also go for workbook templates that are available in Excel.
To open a workbook template, go to File by either using the mouse or the keyboard,
and then go to New. A dialog box containing various choices of templates then appears for
lower versions of Excel. For XP version, the dialog box appears with choices for either
creating a blank document or opening a template.
Ex. A1 Ex. A1
2 See below * Type the data that you are to enter.
* As you type an entry in a cell, three buttons will appear: cancel, enter and the edit
formula which can be activated using your mouse.
There are instances when you need to select nonadjacent cells or cell ranges for
computation like when you want to add totals of selected cells to forecast probable increase
in expenses of some cells. To do so, you should move to the first cell that you are to
highlight, then hold the Ctrl key as you click on the cells that you are to select. Release the
Ctrl key when you are done clicking the last cell.
When you want to select an entire row or column, click on the heading of that row
or column.
Auto Fill is used when you need to create a series like dates, days, months or
numbers. For example, if you want to create a series of days to create a week, type Monday
on your designated cell, and then position your mouse on the lower right corner of the cell
and left click, hold and drag the Auto Fill handle until all six cells are highlighted designating
each day of the week to each cell. Release the left button of the mouse when you are done.
Fill Series is used to complete a series of intervals, whether hours or numbers. For
example, if you want to fill in a series of numbers follow the procedures below:
Note:
The number which corresponds to the order of the cell in the series shows as you
drag the Auto Fill handle down or sideways until you reach the last cell to fill in.
To save time entering small cell entries in rows and columns, you may use the Ctrl +
Enter keys on your keyboard or the Ctrl key and left clicking your mouse.
For example, when you type the first letter of your entry, excel automatically scans
the column where your cell entry belongs for a match. Auto Complete then suggests the
match by displaying it in the cell. You may press Enter to accept the suggested entry or
ignore it by continuously typing your entry. Press Enter after you have finished typing.
You may also use the Pick From List feature which like Auto Complete saves you time
typing entries. To use this feature, follow these steps:
There are many ways by which calculations can be made. Complex or simple, a
formula as previously mentioned, always starts with an equal (=) sign. Unless there is one,
the cell will consider the entry as any constant, number, text or combination. Calculations
can be made on numbers, cell references or any combination of these two.
A formula can contain a function which is a predefined set of instructions that helps
described the operation being performed; and at most time, functions go before arguments.
Arguments, on the other hand, define what data or values to calculate and the operation/s
to perform.
To enter a formula
The operands – to get the total sales for internet surfing, the total surfing hours for
the day should be multiplied by the price per hour. The formula would be =B10 (whose
value is 16) x C10 (whose value is 20). The result would be 320.00 as displayed in E10.
The destination cell of the formula - the result of the operation replaced by the
formula.
3.4.2 Functions
There are many built-in functions ready for your easy use, the most common of
which is the SUM function. This function adds all the numbers in a range and its argument
specifies what cells are to be added.
1. Select the cell where you want to place the SUM of the numbers. It is usually at the
end of the range to be summed up.
2. Click the AutoSum button in the standard toolbar. The range to be added is
highlighted.
The range to be added is highlighted. However, there are times when the range
includes unnecessary cells. In this case, you have to select the cells to be totaled.
The destination cell of the function where the formula is replaced by the result of
the operation.
Other functions can also be added to your worksheet. These tools make Excel
powerful calculating software.
1. On the standard toolbar, click the arrow pointing down beside the AutoSum to
reveal the other functions.
2. Or you may also go to the Insert menu, select the function sub-menu to reveal the
Function dialog box. The Office Assistant also appears to guide you through the use
of the different functions.
3. Choose a function from the selection and click OK. The Function Arguments dialog
box appears.
Try the different options in the Format Cells menu and choose the format options
that appeal to you. Be sure to practice on new sheets and enter imaginary values and not on
saved workbooks for you might mistakenly make changes on important files.
Rows and columns are resized to fit the contents of the cell. The shortest way to
resize a row or column is to drag either side of the line borders of a row heading or column
heading.
1. Position the mouse in the border of a row or column. Instead of dragging, click the
right button mouse or mouse to display a list of shortcuts.
Charts like a pie chart shown at the right may be used to illustrate or represent the
relationship of the different values with each other.
1. Click the Charts button in the Standard toolbar or go the Insert menu and click the
chart sub-menu. The Chart dialog box and the Office Assistant appear. The Office
Assistant is very handy for first time users who are not yet familiar with the creating
charts feature.
2. Read the instructions as you go through four steps in the process of inserting charts.
You may choose different types and sub-types of charts.
3. Press Enter or click Finish when you are done. The chart will appear at the center of
the spreadsheet.
3.7 Deleting
Deleting may be in many forms and in many ways. You may use the Delete button on
your keyboard or the Backspace key to delete text and/or numbers. Rows and columns may
also be deleted as long as the information contained in the cells is no longer necessary.
1. Point the mouse pointer over the row or column heading that you are to delete.
2. Press Delete on your keyboard.
To save a workbook
1. Open the File menu and go to Save or just press Ctrl + S. The Save As dialog box
appears.
2. Decide on the destination folder of your file. Click on Save in field and go to your
desired folder.
3. Click in the File Name field and type a name to designate your file.
4. Click OK or press Enter in your keyboard.
1. Open the File menu and go to the Close command or click the x button located in the
upper right corner of your workbook window. If you have not previously saved your
document, a dialog box appears asking you to save your document.
2. Click the appropriate box. Excel will then close your workbook window
Click File then select Page Setup. The Page Setup dialog box will appear.
The dialog box will allow you to make changes on the orientation (portrait or
landscape), paper size, print quality, margins and headers and footers.
Print Area
The area you have selected will be the area to be printed.
To do this, click file, then select Print Preview. A preview page will appear.
The monitor will show your document in exactly the same form that it will be printed. You
may zoom in on the page, set margins or see a preview of the page breaker. You may click
the Close tab the moment you are satisfied with the page layout.
Be sure that you have a printer attached to your computer. You may select the print
range and the number of copies. Then click OK. There should be no problem in printing your
document.
You connect . . .
Albano, Gisela May A., Atole, Ronnel R., Ariola, Rose Joy Y. (2003).
Introduction to Information Technology. Philippines: Trinitas Publishing, Inc.
www.google.com
Main Task
Do the following:
1. Start Excel and create a new workbook. Then input the particular amount you
incurred for the following expenses for the last month.
a. Food
b. Travel expenses
c. Clothing expenses
d. Miscellaneous
2. Start Excel and create a new workbook. Input the following information.
Find the formula to be used to show the population density of each country (person
per sq. km.) Use this formula for Column E.
Save your workbook and name it POPULATION.
Close your workbook.