MS Excel Module 7
MS Excel Module 7
All formulas in Excel must begin with an equals sign (=). This is because the cell contains, or is
equal to, the formula and the value it calculates.
Understanding cell references
While you can create simple formulas in Excel manually (for example, =2+2 or =5*5), most of the
time you will use cell addresses to create a formula. This is known as making a cell reference. Using
cell references will ensure that your formulas are always accurate because you can change the
value of referenced cells without having to rewrite the formula.
Cells – are the intersection of rows and columns
Cell Reference – also known as cell address that identifies a cell on
a worksheet.
- B2 and D4 are examples of cell references
- Use cell reference when creating formulas in Excel to ensure that your formulas are accurate.
Take a look at the table below, instead of using the actual values which are 5, 10, and 20 use the
cell references A1, A2, and A3.
Active Cell – the currently selected cell in a spreadsheet and is indicated by a bold outline that
surrounds the cell
Sometimes the use of sum_range is optional just like in the example below. The formula
in the following example will add the total scores of the students which are higher than
10. Students with scores lower than ten will not be added.
AVERAGEIF - Returns the average (arithmetic mean) of all the cells in a range that meet a
given criteria. AVERAGEIF function has the following syntax:
AVERAGEIF(range, criteria, average_range)
For example, you want to get the average of the students’ ratings in terms of the product’s
quality. The formula to use to get the average rating of the students is shown below.
COUNTIF - Counts the number of cells within a range that meet a single criterion that
The formula =COUNTIF(I3:I7,”YES”) will count the number of respondents that voted for
“Yes”.
If you want to count the number of students who got grades of 90 and above in the first
quarter you can use the formula below.
The example below shows the formula on how to count the number of students who got grades of
85 and above from the first to the second quarter.
IF – This function is one of the most popular functions in Excel. It can perform a logical test and
returns one value if TRUE, and another value if FALSE. The following is the syntax of IF function:
IF(logical_test, value_if_true, value_if_false)
The table below shows the formula to display “Passed” if the student’s average is 75 and
above, and “Failed” if the average is below 75. Since the cell reference H2 has the value of
73.6, “Failed” will be displayed. But not in the case of cell references H3 and H4,
since their values are higher than 75 “Passed” will be displayed.
Directions: Arrange the scrambled letters to form the correct word or words. Write your answer
on a separate sheet.
1. FTIONSNCU
2. CLEL RFEENCERE
3. CNSOTTAN
4. ORWKSETSHE
5. EETDAEPRSHS
6. EGRAEVA
7. AURFLOM
8. WKBROKOO
9. ELLC AGENR
10. TVEICA LELC
1. _____________________________________________
2. _____________________________________________
3. _____________________________________________
4. _____________________________________________
5. _____________________________________________
6. _____________________________________________
7. _____________________________________________
8. _____________________________________________
9. _____________________________________________
10. _____________________________________________
Direction: Using the tables below create the formula that will solve the given
problems. Write your answer on a separate sheet of paper.
than 500.
displayed.
month of August.
By combining a mathematical operator with cell references, you can create a variety of simple formulas in Excel.
Formulas can also include a combination of cell references and numbers, as in the examples below:
A mnemonic that can help you remember the order is PEMDAS, or Please Excuse My Dear Aunt Sally.
Click the arrows in the slideshow below to learn more about how the order of operations is used to calculate
complex formulas.
While this formula may look really complicated, we can use the order of
operations step by step to find the right a
nswer.
First, we'll start by calculating anything inside the parentheses. In this case,
there's only one thing we need to calculate: 6-3=3.
As you can see, the formula already looks a bit simpler. Next, we'll look to
see if there are any exponents. There's one: 2^2=4.
Next, we'll solve any multiplication and division, working from left to right.
Because the division operation comes before the multiplication, it is
calculated first: 3/4=0.75.
Now, we'll calculate our remaining multiplication operation: 0.75*4=3.
Next, we'll calculate any addition or subtraction, again working from left to
right. Addition comes first: 10+3=13.
Finally, we have one remaining subtraction operation: 13-1=12.
And now we have our answer: 12. This is the exact same result you would
get if you entered the formula into a spreadsheet.
To create a formula:
In our example below, we'll use a simple formula and cell references to calculate a budget.
1. Select the cell that will contain the formula. In our example, we'll select cell B3.
A. Arrange the following ways to to copy and paste cell content in a spreadsheet. Write the
numbers 1 – 5 in the blank.
________Click the Paste command on the Home tab, or press Ctrl+V on your keyboard.
________Select the cell(s) you want to copy.
________Select the cell(s) where you want to paste the content. The copied cells will now have
a dashed box around them.
________Click the Copy command on the Home tab, or press Ctrl+C on your keyboard.
________The content will be pasted into the selected cells.
B. Arrange the following ways to delete cells in a spreadsheet. Write the numbers 1 – 3 in the
blank.
________ Select the Delete command from the Home tab on the Ribbon.
________ The cells below will shift up.
________ Select the cell(s) you want to delete.
C. Arrange the following ways to cut and paste cell content in a spreadsheet. Write the
numbers 1 – 5 in the blank.
________The cut content will be removed from the original cells and pasted into the selected cells.
________Click the Paste command on the Home tab, or press Ctrl+V on your keyboard.
________Select the cells where you want to paste the content. The cut cells will now have a dashed
box around them.
________Click the Cut command on the Home tab, or press Ctrl+X on your keyboard.
________Select the cell(s) you want to cut.
A B C D E A B C D E A B C D E
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
A B C D E A B C D E
1 1
2 2
3 3
4 4
5 5
6 6
4.__________________ 5.__________________
Prepared by: