Chapter 2
Chapter 2
Definition of Terms
The Workbook - The workbook is like a notebook. The workbook contains sheets, called worksheets. Each
worksheet can contain sets of data and charts. Each sheet name appears on a sheet tab at the bottom of the
workbook. You access different worksheets by clicking the sheet tab or using the tab scrolling buttons to the left of
the sheet tabs. A new workbook opens with 3 worksheets. However, the number of worksheets per workbook is
limited only by the amount of memory on your computer. Several workbooks may be open at one time.
The Worksheet The worksheet is organized into a rectangular grid with 256 columns and 65,536 rows. A column
letter above the grid, also called a column heading, identifies each column with the letters A through IV. A row
number on the left side of the grid, also called the row heading, identifies each row with the numbers 1 through
65536. Scroll bar and to display more sheet tabs.
The Worksheet Window - of the 16,777,216 possible cells in a worksheet, only a small fraction of the active
worksheet displays on the screen at one time. You view the portion of the worksheet on the screen in a worksheet
window. Below and to the right of the worksheet window are scroll bars, scroll arrows, and scroll boxes which you
can use to move around the active worksheet.
Cells - The workbook is made up of cells. There is a cell at the intersection of each row and column. A cell can
contain a value, a formula, or a text entry. A text entry is used to label or explain the contents of the workbook. A
value entry can either be a constant or the value of a formula. The value of a formula will change when the
components (arguments) of the formula change. The appeal of spreadsheet programs is the ability to change one
value and watch all other values that depend on that first value automatically change when the spreadsheet is
recalculated.
Cell references - are the combination of column letter and row number. For example, the upper-left cell of a
worksheet is A1
Operators - In an = (Formula) field, you can use any combination of values and the following mathematical and
relational operators such as +, -, *, /, %, =, <>, <, > etc.
Types of Data
There are several data you can enter in a cell. These are the following data
1. Textual – letter of the alphabet from A…..IV
2. Numeric – all kinds of numbers that you enter in your data
3. Floating – Number with decimal places
4. Formula – Set of numbers and operators with arguments and references that can be calculated and yield
results.
5. Object – object or graphics that you used in your data
6. Clip art and picture – this are pictures and clippings that you include in your data.
Entering Data
In this lesson will focus on how to enter data in Microsoft Excel. What is the basic information that we
should know before we can generate result for our problem. Cell Referencing is being use during the computation.
When we say cell referencing it is a combination of columns and rows that identifies the location of the number.
Example of cell references are A1, B1, C1, and D1………. Below is a sample table. Let us identify the cell
reference of each number. The cell reference is a combination of the column letter and row number -- such as A1,
B3, or C4 When writing cell references the column letter always comes first.
9
10
1. 1 = a1 or A1
2. 2 = b1 or B1
3. 3 = c1 or C1
4. 4 = d1 or D1
5. 5 = e1 or E1
6. 6 = a2 or A2
7. 7 = b2 or B2
8. 8 = c2 or C2
9. 9 = d2 or D2
10. 10 = e2 or E2
11
Looking at our table we were able to identify the cell reference of each number. How did we get the cell
reference of each number? Here are the steps
Writing a Formula
Writing formula in Microsoft Excel is quite different from the usual methods that we learn from our math
subjects. Usually when we solve problems in math we put an equal sign (=) after the equation. In Excel, formulas
starts with the equal sign (=) followed by the equation, that tells Microsoft Excel what follows is part of a formula,
and not just a name or a number. Example =2*3, =5-5. The equal sign is important in order for Microsoft Excel to
generate a result.
How does Microsoft Excel calculate numbers? In this lesson we will answer the question stated above how
Microsoft Excel calculate numbers to generate result. Formula in Excel is composed of mathematical and logical
operators. Microsoft Excel performs mathematical calculation from simple to complex problem. In this lesson we
will learn first the basic computation such as addition, subtraction, division and multiplication of number.
A. Adding Numbers
Ans. =a1+a2+a3+c1+c2+c3 or
=A1+A2+A3+C1+C2+C3
Ans. a1+a2+a3+b1+b2+b3+c1+c2+c3 or
A1+A2+A3+B1+B2+B3+C1+C2+C3
B. Subtract Numbers
13
Problem 2: Get the product of 6, 7, 4 and 5
D. Divide Numbers
The = (Formula) field can use values returned by the following functions. Functions with empty parentheses can
accept any number of arguments separated by commas (,) or semicolons (;), as long as you use the list separator
defined as part of the regional settings in Microsoft Windows Control Panel. Arguments can be numbers, formulas,
or bookmark names. The functions AVERAGE(), COUNT(), MAX(), MIN(), PRODUCT(), and SUM() can also
accept references to table cells as arguments. There are other matters that you need to consider before using any of
the functions in your formula.
1. No space in between the name of the function and the parenthesis (). Ex. SUM()
2. Use COLON (:) to get the result of all numbers.
3. Use COMMA (,) to get the result if selected numbers
A. Sum()
Add numbers in a range of cells
14
Problem 1: What is the total of all numbers?
Based from our previous lesson you have learned that in order to get the total of any number we will use
formula =a1+a2+a3+a4+a5+b1+b2+b3+b4+b5+c1+c2+c3
+c4+c5+d1+d2+d3+e1+e2+e3+e4+e5 but this kind of formula is not accepted if you were to solve mathematical
problem that consist of many cells or range of cells. With this problem we will use the function Sum() that will add
numbers. Let us now solve our first problem using SUM().
Solution: =sum(a1:e5) this is the formula that will compute the total of all numbers. Observe in the formula we use
the symbol colon in between the cell reference that means numbers located within the range of A1 to E5 are
included in the computation. In using the colon symbol you will only identify the first and the last number located
within the range of cells.
Sample Problems
Problem 3: Get the total of the numbers that has a background color.
Ans. =sum(a1,a5,c3,e1,e5)
In our formula we use comma instead of
colon. That mean we will get the total of
selected numbers.
15
4. In between these two references we put the COLON symbol to signify that all number is included in the
formula. So our formula is A1:A5.
5. For Column D, go back and follow the same steps from 1 to 4.
6. Put comma that will separate the two columns. Since we will add selected columns.
7. SUM() is use to add numbers. Inside the parenthesis enter SUM(A1:A5,D1:D5)
8. Don’t forget that we always start with an equal sign. So our formula now is =SUM(A1:A5,D1:D5).
B. Average()
Returns the average (arithmetic mean) of the arguments. The arithmetic mean, and is calculated by adding a
group of numbers and then dividing by the count of those numbers. For example, the average of 2, 3, 3, 5, 7, and 10
is 30 divided by 6, which is 5.
C. Product ()
Returns the result of multiplying a list of values. For example, the function
{ = PRODUCT (1,3,7,9) } returns the value 189.
16
Integration of Functions and Operators
In this lesson, we will learn to integrate functions and operators to compute complex mathematical
problem. If more than one operator is used in a formula, there is a specific order that Excel will follow to perform
these mathematical operations. This order of operations can be changed by adding brackets to the equation.
Brackets () Multiplication *
Exponents ^ Addition +
Division / Subtraction -
Any operation(s) contained in brackets will be carried out first followed by any exponents. After that,
Excel considers division or multiplication operations to be of equal importance, and carries out these operations in
the order they occur left to right in the equation. The same goes for the next two operations – addition and
subtraction. They are considered equal in the order of operations. Which ever one appears first in an equation, either
addition or subtraction is the operation carried out first.
Table 7.1
Other Functions
We
In this lesson we will tackle other functions that we can use compare Excel.
in Microsoft the result of Column A to a
1. constant
IF() = function that allow us to compare one value to another value
and then ofcell
set the 75contents
if the student
based onwill
the get a
result of the comparison using the syntax: =IF(logical_test,value_if_true,value_if_false).
remark of Passed or Failed. This is the
formula =IF(A2>=75,"Passed","Failed").
Example 1: We will compare the result of column A the final Grade of the Students if they Get a Passed or
This means that if the number located in
Failed remarks.
column a is higher than 75 it will display the
“Passed” remark if the statement is false17or
not true “failed’ is displayed.
Table 8.1
2. Vlookup()
Lookup formulas can work vertically, looking for values down a column, or they can work horizontally, looking
for values across a row. It looks in the first column of an array and moves across the row to return the value of a cell .
In this example, the information will be stored vertically, with values down a column Enter the headings in the first
row
1. The first column should contain the unique key values on which you will base the lookup. In this example,
you can find the price for a specific product code.
2. If you have other data on the worksheet, leave at least one blank row at the bottom of the table, and one
blank column at the right of the table, to separate the lookup table from the other data.
A. Syntax - =Vlookup(lookup_value,table_array,col_index_num,range_looup)
1. lookup_value: What value do you want to look up? In this example, the SCORE is in cell E4, and you
want to find its Score Equivalent.
2. table_array: Where is the lookup table? In table 8.2 our lookup table is in columns A & B. that mean we
will use these two columns to compare the result in column E.Observe that in our formula we use this
18
reference ($A$4:$B$9) we name it as absolute reference means that the value will not change even if we
copy the formula to the next cell.
3. col_index_num: Which column has the value you want returned? Since in our lookup table we use
columns A and B. column A represent the Columns index 1 and column B the column index 2. So in our
example we will use the Second index. This will display the equivalent grade.
4. [range_lookup]: Do you want an exact match? Is an approximate match okay?
If you use TRUE as the last argument, or omit the last argument, an approximate match can be returned.
This example has FALSE as the last argument, so if the product code is not found, the result will be #N/A.
(Note: Excel is rather forgiving, and will accept 0 instead of FALSE, and 1 instead of TRUE.)
The INDEX function can return an item from a specific position in a specific column in a list. For example,
what is the 3rd item in the 2nd column in the list at right?
The MATCH function can find a value in a list, and return its position. For example, where is "Jacket" in the list
at right?
One advantage of the INDEX/MATCH functions is that the lookup value can be in any column in the array,
unlike the VLOOKUP function, in which the lookup value must be in the first column. In this example, the MATCH
function will find the position of "Jacket" in column B, and the INDEX function will return the code from the same
position in column A.
We can also use the Index/match () to get the equivalent of the score
20
21
Instructions
1. Type the Entire Document
2. Compute the following
a. Get the average of the Quizzes and Unit Tests
b. Get the Final Grade by getting the 20% of Quizzes, 25% of Unit Test, 25 of Midterm, 30% of
Final Exam.
c. Add another column for the REMARKS.
d. Using the IF(), write “PASSED” if the grade is above 75 and “ FAILED” if below 75.
3. Save file as “Grade-your family name” as filename
22