MS Excel 3
MS Excel 3
Microsoft Excel
CAMS 2020
Objectives :
Introduction to MS excel.
2
Introduction to Microsoft Excel
Within excel user can organize data, create chart and preform calculations.▰
Excel operates like other Microsoft (MS) office programs and has many of the ▰
same functions and shortcuts of other MS programs.
3
OVERVIEW
• A worksheet is a collection of cells where you keep and manipulate the data. Each
Excel workbook can contain multiple worksheets.
• A worksheet is the computer equivalent of a paper ledger sheet. It consists of a grid made
from columns and rows. It is an environment that can make number manipulation easy.
• If you change the mg/day amount, you will have to start the math all over
again. On the computer version you can change the values and the result is 4
automatically re- calculated.
OVERVIEW
5
OVERVIEW
6
OVERVIEW
7
Basic Math
• worksheets have many Math functions built into them. Of the most
basic operations are the standard multiply, divide, add and subtract.
These operations follow the order of operations (just like algebra).
• Example:
A1 (column A, row 1) = 5
A2 (column A, row 2) = 7
A3 (column A, row 3) = 8
B1 (column B, row 1) = 3
B2 (column B, row 2) = 4
B3 (column B, row 3) = 6
8
Functions
Parts of a function
In order to work correctly, a function must be written a specific way, which is
called the syntax. The basic syntax for a function is the equals sign (=),
the function name (SUM, for example), and one or more arguments.
Arguments contain the information you want to calculate. The function in the
example below would add the values of the cell range A1:A20
9
Functions
Arguments can refer to both individual cells and cell ranges and must be
enclosed within parentheses. You can include one argument or multiple
arguments, depending on the syntax required for the function.
For example, the function =AVERAGE(B1:B9) would calculate the average of
the values in the cell range B1:B9. This function contains only one argument.
10
Functions
11
Functions
TYPES OF FUNCTIONS:
•DATE: This function returns the serial date value for a date.
•SUM: This function adds all of the values of the cells in the argument.
•IF : one of the logical functions, to return one value if a condition is true and
another value if it's false.
•AVERAGE: This function determines the average of the values included in the
argument. It calculates the sum of the cells and then divides that value by the
number of cells in the argument.
•COUNT: This function counts the number of cells with numerical data in the
argument. This function is useful for quickly counting items in a cell range.
•MAX: This function determines the highest cell value included in the argument.
•MIN: This function determines the lowest cell value included in the argument
12
Functions
START DATE:
Date from which you want to calculate difference .
END DATE:
Date up to which you want to calculate difference.
INTERVAL:
From in which you want to calculate difference.
13
Functions
RANGE-
Range of cells on which conditions are applied.
CRITERIA-
Condition that defines which cell or cells will be added.
SUM RANGE-
Actual cell to sum.
14
Functions
IF Function: SYNTAX OF IF
=IF(LOGICAL TEXT, VALUE IF TRUE, VALUE IF FALSE)
LOGICAL TEXT:
Any value or expression that can be evaluated to TRUE or
FALSE .
VALUE IF TURE:
Value that is returned if logical text is TRUE.
VALUE IF FALSE:
Value that is returned if logical text is FALSE.
In column B different .
conditions are used
and based on this, in
column C different
results are shown .
15
Functions
IF Function example:
.
• check the logical condition of a statement and return one value
if true and a different value if false. The syntax is
– =IF (condition; value-if-true; value-if-false)
– value returned may be either a number or text
– if value returned is text, it must be in quotes
=IF(B2>755;"yes";"no")
16
Functions
AVERAGE Function:
SYNTAX OF FUNCTION:
=AVERAGE(number1:number2, ...)
18
Functions
COUNT Function:
SYNTAX OF COUNT FUNCTIONS:
1. COUNT =COUNT(VALUE1. VALUE2,……..)
2. COUNTA =COUNTA(VALUE1,VALUE2,…..)
3. COUNTBLANK =(COUNTBLANK(RANGE)
4. COUNTIF =COUNTIF(RANGE,CRITERIA)
19
Functions
MAX Function:
SYNTAX OF FUNCTION:
=MAX(VALUE1: VALUE2)
To find the highest value in a range of cells, use the MAX function.
For example, this formula will find the highest value in cells H2:H17
20
Functions
MIN Function:
SYNTAX OF FUNCTION:
=MIN(VALUE1: VALUE2)
To find the lowest value in a range of cells, use the MIN function. For example,
this formula will find the lowest value in cells H2:H17
21
Cell referencing
There are three types of cell references: relative , absolute and mix
referencing. Relative and absolute references behave differently
when copied and filled to other cells. Relative
references change when a formula is copied to another cell. Absolute
references, on the other hand, remain constant no matter where
they are copied
Relative references
Absolute references
There may be times when you do not want a cell reference to change when
filling cells. Unlike relative references, absolute references do not change
when copied or filled. You can use an absolute reference to keep a row
and/or column constant.
23