Lecture 15
Lecture 15
Example- Addition
12 + 5 = 17
Example- Subtraction
12 - 5 = 7
Example- Multiplication
12 x 5 = 60
Example- Exponent
(4)^2 = 16
(4)^1/2 = 2
(4)^-1/2 = 1/(4)^1/2 = ½ = 0.5
The EXCEL window opens and a blank worksheet becomes available as shown
below:
The slide shows a Workbook by the name book1 with three sheets: Sheet1, Sheet2
and Sheet3. The Excel Window has Column numbers starting from A and row
numbers starting from 1. the intersection of a row and column is called a Cell. The
first cell is A1 which is the intersection of column A and row 1. All cells in a Sheet
are referenced by a combination of Column name and row number.
A Range defines all cells starting from the leftmost corner where the range starts to
the rightmost corner in the last row. The Range is specified by the starting cell, a
colon and the ending cell.
A value can be entered into a cell by clicking that cell. The mouse pointer which is a
rectangle moves to the selected cell. Simply enter the value followed by the Enter
key. The mouse pointer moves to the cell below.
If you make a mistake while entering the value select the cell again (by clicking it).
Enter the new value. The old value is replaced by the new value.
If only one or more digits are to be changed then select the cell. Then double click
the mouse. The blinking cursor appears. Either move the arrow key to move to the
digit to be changed or move the cursor to the desired position. Enter the new value
and delete the undesired value by using the Del key.
I suggest that you learn the basic operations of entering, deleting and changing data
in a worksheet.
The following descriptions are reproduced from Excel’s Help file for your ready
reference. In the present lecture you are directly concerned with arithmetic operators.
However, it is important to learn that the comparison operators are used where
calculations are made on the basis of comparisons. The text concatenation operator is
used to combine two text strings. The reference operators include “:” and “,” or ; as
the case maybe. We shall learn the use of these operators in different worksheets.
You should look through the Excel Help file to see examples of these functions.
Selected material from Excel Help File relating to arithmetic operations is given in in
a separate file.
The Excel arithmetic operators are as follows:
Addition. Symbol: + (Example: =5+4 Result: 9)
Subtraction. Symbol: - (Example: =5-4 Result: 1)
Multiplication. Symbol: * (Example: =5*4 Result: 20)
Division. Symbol: / (Example: =12/4 Result: 3)
Percent. Symbol: % (Example: =20% Result: 0.2)
Exponentiation: ^ (Example: =5^2 Result: 25)
The main steps along with the entries are shown in the slide below. The worksheet
MTH302-lec-02 contains the actual entries.
The next slide shows addition of 6 numbers 5, 10, 15, 20, 30 and 40. The entries
were made in row 34. The values were entered as follows:
Cell A34: 5
Cell B34: 10
Cell C34: 15
Cell D34: 20
Cell E34: 30
Cell F34: 40
The formula was written in cell G34. The formula was:
=5+10+15+20+30+40
The answer was 120.
You can use an Excel function SUM along with the cell range A34:F34 to calculate
the sum of the above numbers. The formula in such a case will be:
=SUM(A34:F34)
You enter “=” followed by SUM, followed by “(“. Click on the cell with value
5(reference: A34). Drag the mouse to cell with value 40(reference: F34) and drop the
mouse. Enter “)” and then press the Enter key.
In the above two examples you learnt how formulas for addition are written in Excel.
Cell A50: 25
Cell B50: 15
To write this formula, click cell C50, where you want the result. Enter “=”. Click on
cell with value 25 (reference:A50). Enter “-“(minus sign). Click on cell with value
15 (reference B50). Press enter key.
If you enter 15 first and 25 later, then the question will be to find result of subtraction
15-25.
Excel Formula for Multiplication
Excel formula for multiplication is also similar to the formula for addition.
Only the sign of multiplication will be used. The Excel multiplication operator is *.
Let us look at the multiplication of two numbers 25 and 15. The entries will be made
in row 60. Enter values as under:
Cell A50: 25
Cell B50: 15
The formula for multiplication is:
=A50*B50
Click on cell C50 to write the formula in that cell. Enter “=”. Click on cell
with number 25 (reference: A50). Enter “*”. Click on cell with number 15
(reference: B50). Press Enter key. The answer is 375 in cell C50.
Let us divide 240 by 15using Excel formula for division. Let us enter
numbers in row 75 as follows:
Cell A75: 240
Cell B75: 15
The steps are as follows: Click the cell A75. Enter 240 in cell A75. Click cell
B75. Enter 15. Click cell C75. Enter “=”. Click on cell with value 240 (reference:
A75). Enter “/”. Click cell with number 15 (reference: B75). Press enter key. The
answer 16 will be displayed in cell C75.