SlideShare a Scribd company logo
1 of 155
Download to read offline
Intro To Microsoft Excel 2016 Function
Aziz M Azizi
Asman Institute
ICT Department
Formula, Function
Microsoft Excel 2016 Functions
Formula:
A formula is a sequence of values, cell references,
names, functions, or operators in a cell that together
produce a new value. Formulas are equations that
perform calculations on values in your worksheet. A
formula always starts with an equal sign (=).
You can create a simple formula by using constants
and calculation operators.
Function:
A function is a prewritten formula that takes a value
or values, performs an operation, and returns a value
or values. Use functions to simplify and shorten
formulas on a worksheet, especially those that
perform lengthy or complex calculations. A function
starts with an equal sign (=).
Terms
Microsoft Excel 2016 Functions
Cell references:
You can refer to data in worksheet cells by including
cell references in the formula. For example, the cell
reference A2 returns the value of that cell or uses that
value in the calculation.
Constants:
Constants are entries that have a specific fixed
value.
Range:
A range is a group or block of cells in a worksheet
that have been selected or highlighted (A1:A10)
Contd…
Microsoft Excel 2016 Functions
Arguments:
Most Excel functions are designed to accept data that it
then uses in its calculations. This data is referred to as
arguments and go between the round brackets that follow
the functions name. the IF function, for example, has three
distinct arguments: The logic test, the value if true, the value
if false and the =IF (logic test, value if true, value if false)
Array:
An array is range or group of related data values. In a
spreadsheet program such as Excel the values in an array
are normally stored in adjacent cells.
There are two types of array in Excel:
 One-dimensional array: Where the data is located in single column or
row.
 Two-dimensional array: where the data is located in multiple columns
or rows.
Operators:
Microsoft Excel 2016 Functions
Operators:
Operators are the symbols that are used to specify the
type of calculation that you want the formula to perform.
For example, the ^ (caret) operator raises a number to a
power, and the * (asterisk) operator multiplies numbers.
Types of operators:
There are four different types of calculation operators:
arithmetic, comparison, text concatenation, and reference.
Arithmetic operators:
To perform basic mathematical operations such as
addition, subtraction, or multiplication; combine numbers;
and produce numeric results, use the following arithmetic
operators.
Contd…
Microsoft Excel 2016 Functions
Arithmetic Operator Meaning Example
+ (Plus Sign) Addition 2+2
- (Minus Sign) Subtraction-Negation 3-2
* (Asterisk) Multiplication 2*4
/ (Forward Slash) Division 6/2
% (Percent Sign) Percent 10%
^ (Caret( Exponentiation 4^2
Contd…
Microsoft Excel 2016 Functions
Comparison operators:
You can compare two values with the following operators.
When two values are compared by using these operators,
the result is a logical value either TRUE or FALSE.
Arithmetic Operator Meaning Example
= (Equal Sign) Equal To 2=2
> (Greater Than Sign) Greater Than 3>2
< (Less Than Sign) Less Than 2<4
>= (Greater Than or Equal To Sign) Greater Than or Eql to 6>=2
<= (Less Than or Equal To Sign) Less Than or Eql to 2<=6
<> Not Equal To Sign Not Equal To 4<>2
Contd…
Microsoft Excel 2016 Functions
Text Operator Meaning Example
& (Ampersand) Connects, or
concatenates, two
values to produce on
continuous text value.
(A1 & A2)
Text Concatenation operator:
Use the ampersand (&) to join, or concatenate, one or
more text strings to produce a single piece of text.
Contd…
Microsoft Excel 2016 Functions
Reference operators:
Combine ranges of cells for calculations with the following
operators.
Reference Operator Meaning Example
: (Colon) Range operator, which
produces one reference to all
the cells between two
references, including the two
references.
(A1:A10)
, (Comma) Union operator, which
combines multiple references
to one reference.
(A1:A10,B1:B10)
Contd…
Microsoft Excel 2016 Functions
References:
When you use a cell (or range) reference in a formula, you
can use three types of references:
Relative: The row and column references can change
when you copy the formula to another cell because the
references are actually offsets from the current row and
column. By default, Excel creates relative cell references in
formulas.
Absolute: The row and column references do not change
when you copy the formula because the reference is to an
actual cell address. An absolute reference uses two dollar
signs in its address; one for the column letter and one for
the row number (For example, $A$5).
Mixed: Both the row or column reference is relative, and
the other is absolute. Only one of the address parts is
absolute (For example, $A4 or A$4).
Four Functions
Microsoft Excel 2016 Functions
Addition:
The simplest Excel addition formula calculates the
sum of numbers and returns the result.
Contd…
Microsoft Excel 2016 Functions
Instead of using the + operator, as shown above, you
can use the Sum function in your Excel addition
formula.
Contd…
Microsoft Excel 2016 Functions
Subtraction:
The simplest Excel subtraction formula subtracts the
numbers and returns the result.
Contd…
Microsoft Excel 2016 Functions
Multiplication: The basic formula for performing
multiplication in Excel, calculates product of the numbers
and returns the result.
Instead of using the * operator, as shown above, you can use
the Product function to perform a multiplication in Excel.
Contd…
Microsoft Excel 2016 Functions
Division:
The most basic formula to divide in Excel division,
divides the number and returns the result.
Displaying Percentage
Microsoft Excel 2016 Functions
Percentages in Excel are stored as decimal values. For
example, 25% is stored as the value 0.25, 50% is stored as
the value 0.5, etc.
It is only the formatting of a cell that makes the decimal
value appear as a percentage.
Two Percentage Calculation Types
When calculating percentages in Excel, there are two types
that are typically used. These are:
Percentage as a Proportion: Example: if, out of 120
questions, you answer 90 correctly, how is this expressed
as a percentage score?
Contd…
Microsoft Excel 2016 Functions
Percentage Change: Example; if your sales figures are
$1,250 in January and $1,750 in February, what is the
percentage increase in February, compared to January?
1. How to Calculate a Percentage as a Proportion
If you want to calculate a sample of a full set, as a
percentage, this is done by dividing the sample size by
the size of the full set.
For example, if you take an exam and answer 90 out of
120 questions correctly, this can be expressed as a
percentage by simply dividing 90 by 120.
Contd…
Microsoft Excel 2016 Functions
This gives the result 0.75, or 75%
2. How to Calculate Percentage Change
If you want to calculate the percentage change between
value A and Value B, this is done using the following
formula.
Contd…
Microsoft Excel 2016 Functions
Percentage change = (b-a)/a
For example if your sales figures are $1,250 in
January and $1,750 in February, the percentage
change in February, compared to January, is given
by:
Statistic Functions
Microsoft Excel 2016 Functions
MAX: The Excel MAX function returns the largest value
from a supplied set of numerical values.
the syntax of the function is: Max(Number1, [number2], …)
Contd…
Microsoft Excel 2016 Functions
MAXA: The Excel MAXA Function returns the largest
value from a supplied set of numerical values, while
counting text and the logical value FALSE as the value 0
and counting the logical value TRUE as the value 1.
The syntax of the function is: MAXA(number1, [number2], …)
Contd…
Microsoft Excel 2016 Functions
MIN: The Excel MIN function returns the smallest value
from a supplied set of numerical values.
The syntax of the function is: MIN(Number1, [number2], …)
Contd…
Microsoft Excel 2016 Functions
MINA: The Excel MINA function returns the smallest
value from a supplied set of numerical values, while
counting text and the logical value FALSE as the value 0
and counting the logical value True as the value 1.
Contd…
Microsoft Excel 2016 Functions
Large: The Excel LARGE function returns the k’th
largest value from an array or a range of cells
containing numerical values. The format of the
function is: LARGE(array, k)
array - An array of numeric values that you want to
return the k’th largest of
k - The index the function returns the k’th largest value
from the supplied array.
Examples
The following example shows the Excel Large function,
being used to retrieve the 1st, 2nd, 3rd, 4th and 5th largest
values from the set of values in cells A1 - A5.
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Small: The Excel SMALL function returns the k’th
smallest value from an array or a range of cells
containing numerical values.
The format of the function is: SMALL (array, k)
array- An array of numeric values that you want to return
the k’th smallest of
k- The index the function returns the k’th smallest value
from the supplied array.
Examples: The following example shows the Excel Small
function, being used to retrieve the 1st, 2nd, 3rd, 4th, and 5th
smallest values from the set of values in cells A1 - A5.
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Average: The Excel AVERAGE function returns the
arithmetic mean of a list of supplied numbers.
The syntax of the function is: Average(number1, [number2],
…)
Contd…
Microsoft Excel 2016 Functions
Avergea:
The Excel AVERAGEA function returns the
arithmetic mean of a list of supplied numbers.
The syntax of the function is:
AVERAGEA(value1, [value2], …)
Contd…
Microsoft Excel 2016 Functions
AVERAGE
Function
AVERAGEA
Function
Logical values or text
representations of number, typed
directly into the list of arguments.
Are counted
(TRUE=1,
FALSE=0)
Are counted
(TRUE=1, FALSE=0)
Text that cannot be interpreted as a
number, typed directly into the list
of arguments.
#VALUE! error #VALUE! Error
Logical values, within arrays or
reference arguments
Ignored Are counted
(TRUE-1, FALSE=0)
Text (including empty text “”, text
representations of numbers, or
other text), within arrays or
reference arguments.
Ignored Counted as zero
Empty cells. Ignored Ignored
Contd…
Microsoft Excel 2016 Functions
Excel Average vs. Excel Averagea
The Excel Average Function is very similar to the Excel
Average Function. The only difference between these two
functions is the way in which logical values or text values
within arrays or references are treated in the calculation of
the arithmetic mean. This is show in the table on previous
slide
Contd…
Microsoft Excel 2016 Functions
Averageif:
The Excel AVERAGEIF function finds values in a supplied
array, that satisfy a given criteria, and returns the average
(the statistical mean) of the corresponding values in a
second supplied array.
The syntax of the Averageif function is:
AERAGEIF (range, criteria, [average_range])
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Count: The Excel Count function returns the number of
numeric values in a supplied set of cells or values. This
count includes both numbers and dates.
The syntax of the function is:
COUNT(value1, [value2], …)
Contd…
Microsoft Excel 2016 Functions
Counta:
The Excel Counta function returns the number of non-
blanks in a supplied set of cells and/or values.
The syntax of the function is:
COUNTA (value1, [value2], …)
Contd…
Microsoft Excel 2016 Functions
Countif:
The Excel Countif function returns the number of cells (of
a supplied range), that satisfy a given criteria.
The syntax of the function is:
COUNTIF (range; criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Countifs:
The Excel Countifs function returns the number of entries
(within one or more supplied arrays), that satisfy a set of
given criteria.
The function is new in Excel 2007, and so is not available in
earlier versions of Excel.
The syntax of the Countifs function is:
COUNTIFS (criteria_range1, criteria, [criteria_range2, criteria2],
…)
Contd…
Microsoft Excel 2016 Functions
Date & Time Functions
Microsoft Excel 2016 Functions
Date: The Excel DATE function, representing a year,
month and day, returns an Excel date.
The syntax of the Date function is:
DATE (year, month, day)
Contd…
Microsoft Excel 2016 Functions
Datevalue: The Excel Datevalue function converts a text
representation of a date, into an Excel date.
The syntax of the Datevalue function is:
DATEVALUE (date_text)
Contd…
Microsoft Excel 2016 Functions
Time: The Excel Time function accepts three integer
arguments representing hours, minutes and seconds, and
returns an Excel time.
The syntax of the function is:
TIME (hour, minute, second)
Contd…
Microsoft Excel 2016 Functions
Timevalue: The Excel Timevalue function converts a
text representation of a time, into an Excel time.
The syntax of the Timevalue function is:
TIMEVALUE (time_text)
Contd…
Microsoft Excel 2016 Functions
Now: The Excel Now function returns the current date
and time. The function has no arguments and therefore,
the syntax of the function is: NOW()
Today: The Excel Today function returns the current
date. The function has no arguments and therefore, the
syntax of the function is simply: TODAY ()
Contd…
Microsoft Excel 2016 Functions
Hour: The Excel HOUR function returns an integer
representing the hour component of a supplied Excel
time.
The syntax of the HOUR function is:
HOUR (serial_number)
Contd…
Microsoft Excel 2016 Functions
Minute: The Excel Minute function returns an integer
representing the minutes component of a supplied Excel
time.
The syntax of the Minute function is:
MINUTE (serial_number )
Contd…
Microsoft Excel 2016 Functions
Second: The Excel Second function returns an integer
representing the seconds component of a supplied Excel
time.
The syntax of the Second function is:
SECOND (serial_number)
Contd…
Microsoft Excel 2016 Functions
Day:
The Excel DAY function, when supplied with a date, returns
an integer representing the day of the month (from 1-31).
The format of the function is:
DAY (date)
Contd…
Microsoft Excel 2016 Functions
Month:
The Excel MONTH function, when supplied with a date,
returns an integer representing the month of the year (from
1-12). The format of the function is:
MONTH (date)
Contd…
Microsoft Excel 2016 Functions
Year: The Excel YEAR function, when supplied with a
date, returns an integer representing the year.
The format of the function is:
YEAR (date)
Contd…
Microsoft Excel 2016 Functions
Weekday: The Excel Weekday function returns an
integer representing the day of the week that a supplied
date falls on.
The syntax of the function is:
WEEKDAY ( serial_number, [return_type] )
Contd…
Microsoft Excel 2016 Functions
Weeknum: The Excel WEEKNUM function returns an
integer representing the week number (from 1 to 53) of
the year.
The syntax of the function is:
WEEKNUM (serial_number, [return_type] )
Contd…
Microsoft Excel 2016 Functions
Edate: The Excel Edate function returns a date that is a
specified number of months before or after a supplied
start date. The syntax of the function is:
EDATE (start_date, months)
Contd…
Microsoft Excel 2016 Functions
Eomonth: The Excel Eomonth function returns the last
day of the month, that is a specified number of months
before or after an initial supplied start date. The syntax of
the function is:
EMONTH (start_date, month)
Contd…
Microsoft Excel 2016 Functions
Days360: The Excel Days360 function returns the
number of days between 2 dates, based on a 360-day year
(12 x 30 months). The format of the function is:
DAYS360 (start_date, End_date, [Method] )
Math Functions
Microsoft Excel 2016 Functions
GCD: The Excel GCD function returns the greatest
common divisor of two or more supplied integers.
The format of the function is:
GCD (number1, number2, …)
Contd…
Microsoft Excel 2016 Functions
LCM: The Excel LCM function returns the least
common multiple of two or more supplied integers.
The format of the function is:
LCM (number1, number2, …)
Contd…
Microsoft Excel 2016 Functions
Product: The Excel PRODUCT function returns the
product (multiplication) of a supplied set of numerical
values.
The syntax of the function is:
PRODUCT (number1, [number2], …)
Contd…
Microsoft Excel 2016 Functions
Power: The Excel power function calculates a given
number, raised to a supplied power.
The syntax of the function is:
POWER (number, power)
Contd…
Microsoft Excel 2016 Functions
SQRT: The Excel Sqrt function calculates the
positive square root of a supplied number.
The syntax of the function is:
SQRT (number)
Contd…
Microsoft Excel 2016 Functions
Subtotal: The Excel SUBTOTAL function performs a
specified calculation (eg. The sum, product, average,
etc.) for a supplied set of values.
The format of the function is:
SUBTOTAL (function_num, ref1, [ref2], …)
Function_num - A number theat denotes the calculation
type (eg, sum, product, average, etc.)
Ref1, [Ref2], … - One or more references to cells
containing the values that the calculation is to be
performed on.
Contd…
Microsoft Excel 2016 Functions
Function_num
(include hidden values)
Function_num
(ignore hidden values)
Function
1 101 Average
2 102 Count
3 103 Counta
4 104 Max
5 105 Min
6 106 Product
7 107 STDEV
8 108 STDEVP
9 109 SUM
10 110 VAR
11 111 VARP
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Round:
The Excel ROUND function rounds a supplied number up
or down, to a specified number of decimal places.
The format of the function is:
ROUND (number, num_digits)
Contd…
Microsoft Excel 2016 Functions
Roundup: The Excel ROUNDUP function rounds a
supplied number up, away from zero, to a specified
number of decimal places.
The format of the function is:
ROUNDUP (number, num_digits)
Rounddown: The Excel ROUNDDOWN function rounds
a supplied number down, toward zero, to a specified
number of decimal places.
The format of the function is:
ROUNDDOWN (number, num_digits)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Trunc: The Excel TRUNC function indicates a
supplied number by removing the decimal part of
the number.
The format of the function is:
TRUNC (number)
Contd…
Microsoft Excel 2016 Functions
SUM: The Excel SUM functions adds together a
supplied set of numbers and returns the sum of these
values.
The syntax of the function is:
SUM (number1, {number2}, …)
Contd…
Microsoft Excel 2016 Functions
Sumif: The Excel function finds values in a supplied
array, that satisfy a given criteria, and returns the sum of
the corresponding values in a second supplied array.
The syntax of the function is:
SUMIF (range, criteria, [sum_range]}
Contd…
Microsoft Excel 2016 Functions
Sumifs: The Excel Sumifs function finds values in one
or more supplied arrays, that satisfy a set of criteria, and
returns the sum of the corresponding values in a further
supplied array.
The function is new in Excel 2007, and so is not available
in earlier versions of Excel.
The syntax of the function is:
SUMIFS (sum_range, criteria_range1, criteria1,
[criteria_range2, criteria2], …)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Sumproduct: The Excel Sumproduct function returns
the sum of the products of the corresponding values in
two or more supplied arrays.
The format of the function is:
SUMPRODUCT (array1, array2, [array3], …)
Contd…
Microsoft Excel 2016 Functions
Sumsq: The Excel Sumsq function returns the sum of
squares of a supplied set of values.
The format of the function is:
SUMSQ (number1, [number2], …)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Degrees: The Excel Degrees function converts
radians into degrees.
The format of the function is:
DEGREES (Angle)
Contd…
Microsoft Excel 2016 Functions
Radians: The Excel Radians function converts
degrees into radians.
The format of the function is:
RADIANS (Angle)
Text Functions
Microsoft Excel 2016 Functions
Clean: The Excel Clean function removes all
nonprintable characters from the text.
The syntax of the function is:
CLEAN (text)
Contd…
Microsoft Excel 2016 Functions
Trim: The Excel TRIM function takes a supplied text
string and removes any spaces, except for single spaces
between words or characters.
The syntax of the function is:
TRIM (text)
Contd…
Microsoft Excel 2016 Functions
Dollar: The Excel DOLLAR function rounds a
supplied number to a specified number of decimal
places and then converts this into text, using a
currency format.
The format of the function is:
DOLLAR (number, [decimals])
Contd…
Microsoft Excel 2016 Functions
Fixed: The Excel FIXED function rounds a supplied
number to a specified number of decimal places and
then converts this into text.
The format of the function is:
FIXED (number, [decimals], [no_commas])
Contd…
Microsoft Excel 2016 Functions
Lower: The Excel LOWER function converts all
characters in a supplied text string to lower case.
The format of the function is:
LOWER (text)
Contd…
Microsoft Excel 2016 Functions
Text: The Excel TEXT function converts a supplied
value into text, in a user-specified format.
The format of the function is:
TEXT (value, format_text)
Contd…
Microsoft Excel 2016 Functions
Proper: The Excel PROPER function converts all
characters in a supplied text string to proper case (ex.
All letters that do not follow another letter are set to
upper case and all other characters are lower case).
The format of the function is:
PROPER (text)
Contd…
Microsoft Excel 2016 Functions
Upper: The Excel UPPER function converts all
characters in a supplied text string to upper case.
The format of the function is:
UPPER (text)
Contd…
Microsoft Excel 2016 Functions
Concatenate: The Excel CONCATENATE function
joins together a series of supplied text strings or other
values, into one combined text string.
The format of the function is:
CONCATENATE (text1, [text2], …)
Contd…
Microsoft Excel 2016 Functions
Left: The Excel LEFT function returns a specified
number of characters from the start of a supplied text
string.
The syntax of the function is:
LEFT (text, [num_chars])
Contd…
Microsoft Excel 2016 Functions
Mid: The Excel MID function returns a specified number
of characters from the middle of a supplied text string.
The format of the function is:
MID (text, start_num, num_chars)
Contd…
Microsoft Excel 2016 Functions
Right: The Excel RIGHT function returns a specified
number of characters from the end of a supplied text
string.
The syntax of the function is:
RIGHT (text, [num_chars])
Contd…
Microsoft Excel 2016 Functions
Rept: The Excel REPT function returns a supplied text
string, repeated a specified number of times.
The format of the function is:
REPT (text, number_times)
Contd…
Microsoft Excel 2016 Functions
Len: The Excel LEN function returns the length of a
supplied text string.
The format of the function is:
LEN (text)
Contd…
Microsoft Excel 2016 Functions
Find: The Excel FIND function returns the position of a
specified character or string within a supplied text string.
The function is case-sensitive. If you want to perform a
non-case-sensitive Search, use the Excel Search function
instead.
The syntax of the Find function is:
FIND (find_text, within_text, [start_num])
Contd…
Microsoft Excel 2016 Functions
Exact: The Excel EXACT function tests if two supplied
text strings are exactly equal and if so, returns TRUE;
Otherwise, the function returns FALSE, the function is
case-sensitive.
The format of the exact function is:
EXACT (text1, text2)
Contd…
Microsoft Excel 2016 Functions
T: The Excel T function texts if a supplied value is text
and if so, returns the supplied text; Otherwise, the
function returns an empty text string.
The format of the function is:
T (value)
Database Functions
Microsoft Excel 2016 Functions
Daverage: The Excel DAVERAGE function calculates
the average of values in a field (column) in a database
for selected records that satisfy user-specified
criteria.
The function is very similar to the Excel Averageifs
function, which is new to Excel 2007.
The syntax of the Excel Daverage function is:
DAVERAGE (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dcount: The Excel DCOUNT function returns the
number of cells containing numbers, in a field
(column) of a database for selected records only.
The records to be included in the count are those that
satisfy a set of one or more user-specified criteria.
The function is very similar to the Excel Countifs
function, which is new to Excel 2007.
The syntax of the Excel Dcount function is:
DCOUNT (database, [field], criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dcounta: The Excel DCOUNTA function returns the
number of non-blank cells, in a field (column) of a
database for selected records only.
The records to be included in the count are those that
satisfy a set of one or more user-specified criteria.
The function is very similar to the Excel Dcount
function, the only difference being that the Dcounta
function counts all non-blank cells where the Dcount
function only counts cells containing numerical values.
The syntax of the Excel Dcounta function is:
DCOUNTA (database, [field], criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dget: The Excel DGET function returns the value
contained in a field (column) of a single record in a
database.
The record is selected via a set of one or more user-
specified criteria.
The syntax of the function is:
DGET (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dmax: The Excel DMAX function finds the maximum
value in a field (column) in a database for selected
records only. The records to be included in the
calculation are defined by a set of one or more user-
specified criteria.
The syntax of the function is:
DMAX (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dmin: The Excel DMIN function finds the minimum
value in a field (column) in a database for selected
records only.
The records to be included in the calculation are
defined by a set of one or more user-specified criteria.
The syntax of the function is:
DMIN (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dproduct: The Excel DPRODUCT function calculates
the product of a field (column) in a database for
selected records, that satisfy user-specified criteria.
The syntax of the function is:
DPRODUCT (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Dsum: The Excel DSUM function calculates the sum
of a field (column) in a database for selected records,
that satisfy user-specified criteria.
The function is very similar to the Excel Sumifs function,
which is new to Excel 2007.
The syntax of the Excel Dsum function is:
DSUM (database, field, criteria)
Contd…
Microsoft Excel 2016 Functions
Logical Functions
Microsoft Excel 2016 Functions
AND: The Excel AND function tests a number of user-
defined conditions and returns a result of:
- TRUE: if ALL of the conditions evaluate to TRUE
or
- FALSE: otherwise (i.e. if ANY of the conditions evaluate
to FALSE)
The syntax of the function is:
AND (logical_test1, [logical_test2], …)
Contd…
Microsoft Excel 2016 Functions
OR: The Excel OR function tests a number of
supplied conditions and returns either:
- TRUE if ANY of the conditions evaluate to TRUE
- FALSE otherwise (i.e. if ALL of the conditions evaluate
to FALSE)
The syntax of the function is:
OR (logical-test1, [logical_test2], …)
Contd…
Microsoft Excel 2016 Functions
NOT: The Excel NOT function receives a logical value
and simply returns the opposite logical value. If
supplied with the value TRUE, the NOT function
returns FALSE and if supplied with the value FALSE,
the function will return the value TRUE.
The syntax of the function is:
NOT (logical)
Contd…
Microsoft Excel 2016 Functions
IF: The Excel IF function tests a user-defined
condition and returns one result if the condition is
true, and another result if the condition is false. The
syntax of the function is:
IF (logical_test, value_if_true, value_if_false)
Where the arguments are as follows:
logical_test: The user-defined condition that is to be
tested and evaluated as either TRUE or FALSE
value_if_true: The result that is to be returned from the
function if the supplied logical_test evaluates to TRUE.
value_if_false: The result that is to be returned from the
function if the supplied logical_test evaluates to FALSE.
Contd…
Microsoft Excel 2016 Functions
Nesting the Excel IF Function
The IF function is frequently ‘nested’ in Excel. i.e. the
value_if_true or the value_if_false argument is
replaced with another call to the IF function (see
Example 3 below).
Excel 2003 allows up to 7 levels of nested IF
functions, but Excel 2007 and Excel 2010 allow up to
64 levels of nesting. For Example, the following
formula (which has 8 levels of nesting), will result in
an error in Excel 2003 but will work correctly in Excel
2007 or Excel 2010.
Contd…
Microsoft Excel 2016 Functions
Lookup & Reference Functions
Microsoft Excel 2016 Functions
Lookup: The Excel LOOKUP function ‘looks up’ a
supplied value within a data set and returns the
corresponding value from a second data set. if the
function fails to find an exact match to the supplied
‘lookup’ value, it uses the largest value that is less than or
equal to the supplied ‘lookup’ value.
The format of the function is:
LOOKUP (lookup_value, lookup_vector,
result_vector)
Contd…
Microsoft Excel 2016 Functions
Hlookup: The Excel Hlookup function ‘looks up’ a
given value in the top row of a data array (or table),
and returns the corresponding value from another row
of the array.
The syntax of the function is:
HLOOKUP (lookup_value, table_array,
row_index_num, [range_lookup] )
Where the function arguments are as follows on next
slide…
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Vlookup: The Excel Vlookup function ‘looks up’ a
given value in the left-hand column of a data array
(or table), and returns the corresponding value
from another column of the array.
The format of the function is:
VLOOKUP (lookup_value, table_array, col-
index_num, [range_lookup] )
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Index: The array format of the index function is the
most basic form of the function, and is used when you
want to look up a reference to a cell within a single
range.
The syntax of the function is:
INDEX (array, row_num, col_num )
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Areas: The Excel Areas function takes an Excel
reference and returns the number of areas that make
up the reference.
The format of the function is:
AREAS (Reference )
Contd…
Microsoft Excel 2016 Functions
Choose: The Excel Choose function retrns a value
from a list, that corresponds to a supplied index
number.
it may help to think of the Choose function as a function
that returns the nth entry in a given list.
The syntax of the function is:
CHOOSE (index_num, value1, [value2], …)
Where the arguments are as follows:
index_num: An integer value, which specifies the index
of the item to be returned.
value1, [value2], … : A list of one or more values that
you want to return a value from.
Contd…
Microsoft Excel 2016 Functions
Transpose: The Excel Transpose function
‘transposes’ an array of cells (ie. The function copies
a horizontal range of cells into a vertical range and
vice versa).
To input an array formula, you need to first highlight the
range of cells for the function result. Type your function
into the first cell of the range, and press
CTRL+SHIFT+Enter.
The format of the function is:
TRANSPOSE (array)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
Row: The Excel Row function returns the first row
number within a supplied reference, or if no reference
is supplied, the function returns the number of the
current row in the currently active Excel spreadsheet.
The syntax of the Row function is:
ROW ( [reference] )
Contd…
Microsoft Excel 2016 Functions
Rows: The Excel Rows function takes an Excel
Range and returns the number of rows that are
contained within the range.
The syntax of the function is:
ROWS (array)
Contd…
Microsoft Excel 2016 Functions
Column: The Excel Column function returns the first
column number within a supplied reference, or if no
reference is supplied, the function returns the number
of the current column in the currently active Excel
Spreadsheet.
The syntax of the Column function is:
COLUMN ( [reference] )
Contd…
Microsoft Excel 2016 Functions
Columns: The Excel Columns function receives an
Excel range and returns the number of columns that
are contained with the range.
The syntax of the function is:
COLUMNS ( array )
Financial Functions
Microsoft Excel 2016 Functions
Terms
• The Rate argument is a fixed percent value applied
during the life of the loan.
• The PresentValue is the current value of the loan or
investment. It could be the marked value of the car, the
current mortgage value of a house, or the cash
amount that a bank is lending.
• The FutureValue is the value the loan or investment
will have when the loan is paid off.
• The NPeriods is the number of periods that occur
during the lifetime of the loan. For example, if a car is
financed in 5 years, this value would be (5 years * 12
months each = 60 months). When passing this
argument, you must remember to pass the right
amount.
Contd…
Microsoft Excel 2016 Functions
FV (Future Value): to calculate the future value of
an investment, you can use the FV() function.
The syntax of this function is:
FV (Rate, Periods, Payment, PresentValue,
PaymentType)
Contd…
Microsoft Excel 2016 Functions
NPER (Number of Periods): To calculate the
number of periods of an investment or a loan, you can
use the NPER() function.
Its syntax is:
NPER (Rate, Payment, PresentValue,
FutureValue, PaymentType)
Contd…
Microsoft Excel 2016 Functions
PMT (Investment or Loan Payment): The PMT()
function is used to calculate the regular payment of
loan or an investment.
its syntax is:
PMT (Rate, NPeriods, PresentValue,
FutureValue, PaymentType)
In the following example, a custorer is applying for a
car loan. The cost of the car will be entered in cell B3. It
will be financed at a rate entered in cell B5 for a period
set in cell B6.
Contd…
Microsoft Excel 2016 Functions
Suppose that, during the evaluation, a customer decides that
she doesn’t need a brand new car anymore. Also, she thinks
that a 5-year car loan is too long. Furthermore, she wants to
make a $4500.00 down payment to reduce the monthly
payments. On the other side of the desk, the salesperson who
wants to make a juicy commission on this loan has decided to
increase the interest rate.
Contd…
Microsoft Excel 2016 Functions
Change the new values of the worksheet as follows
and see the result.
Contd…
Microsoft Excel 2016 Functions
 The Amount Paid as Interest During a Period:
When a customer is applying for a loan an investment
company must be very interested to know how much money it
would collect as interest. This allows the company to know
whether the loan is worth giving. Because the interest earned is
related to the interest rate, a company can play with the rate
(and also the length) of the loan to get a fair (?) amount.
- The IPMT() function is used to calculate the amount paid as
interest on a loan during a period of the lifetime of a loan or an
investment. It is important to understand what tis function
calculates. Suppose a customer is applying for a car loan and
the salesperson decide (or agrees with the customer) that the
loan will be spread over 5 years (5 years * 12 months each = 60
months). The salesperson then applies a certain interest rate.
Contd…
Microsoft Excel 2016 Functions
IPMT: The IPMT() function can help you calculate the
amount of interest that the lending institution would
earn during a certain period. In essence, you can use
it to know how much money the company would earn
in the 3rd year, or in the 4th year, or in the 1st year.
Based on this, this function has an argument called
Period, which specifies the year you want to find out
the interest earned in.
The syntax of the IPMT() function is:
IPMT (Rate, Period, Nperiods, PresentValue,
FutureValue, PaymentType)
Contd…
Microsoft Excel 2016 Functions
Contd…
Microsoft Excel 2016 Functions
The Amount Paid as Principal:
While the IPMT() function calculates the amount paid as
interest for a period of a loan or an investment, the
PPMT() function calculates the actual amount that
applies to the balance of the loan. This is referred to as
the principal.
Its syntax is:
PPMT (Rate, Period, Nperiods, PresentValue,
FutureValue, PaymentType)
Contd…
Microsoft Excel 2016 Functions
The arguments are the same as described in the
previous sections.
Contd…
Microsoft Excel 2016 Functions
The Interest Rate:
Suppose a customer comes to a car dealer and wants to buy a
car. The salesperson would first present the available cars to
the customer so the customer can decide what car he likes.
After this process and during the evaluation, the sales person
may tell the customer that the monthly payments would be
$384.48. The customer may then say, “Wooooh, I can’t afford
that, man”. Then the salesperson would ask, “What type of
monthly payment suits you”. From now on, both would
continue the discussion. Since the salesperson still wants to
make some money but without losing the customer because of a
high monthly payment, the salesperson would need to find a
reasonable rate that can accommodate an affordable monthly
payment for the customer.
Contd…
Microsoft Excel 2016 Functions
The RATE() function is used to calculate the interest
applied on a loan or an investment.
Its syntaxis:
RATE (NPeriods, Payment, PresentValue,
FutureValue, PaymentType, Guess)
Contd…
Microsoft Excel 2016 Functions
IRR (The Internal Rate of Return): The IRR()
function is used to calculate an internal rate of return
based on a series of investments.
Its syntax is:
IRR (Values, Guess)
Contd…
Microsoft Excel 2016 Functions
The values argument is a series (also called an array or a
collection) of cash amounts that a customer has made on an
investment. For example, a customer could make monthly
deposits in a savings or credit union account.
Another customer could be running a business and receiving
different amounts of money as the business is flowing (or losing
money). The cash flows don’t have to be the same at different
intervals but they should (or must) occur at regular intervals such
as weekly (amount cut from a paycheck), bi-weekly (401k directly
cut from paycheck monthly (regular investment), or yearly
(income).
The values argument must be passed as a collection of values,
such as a range of selected cells, and not an amount. Otherwise
you would receive an error.
The Guess parameter is an estimate interest rate of return of the
investment.
Contd…
Microsoft Excel 2016 Functions
NPV Net Present Value: The NPV() function uses a
series of cash flows to calculate the present value of
an investment.
Its syntax is:
NPV (Rate, Value1, Value2, …)
Contd…
Microsoft Excel 2016 Functions
The Rate parameter is the rate of discount during one
period of the investment.
As the NPV() function doesn’t take a fixed number of
arguments, you can add a series of values as Value1,
Value2, etc. These are regularly made payments for
each period involved. Because this function uses a
series of payments, any payment made in the past
should have a positive value (because it was made
already). Any future payment should have a negative
value (because it has not been made yet).
Convert Functions
Microsoft Excel 2016 Functions
Weight Convert: Converts a number from one
measurement system to another. For example,
CONVERT can translate a table of weight in gram to a
table of weight in slug.
Contd…
Microsoft Excel 2016 Functions
Distance Convert: Converts a number from one
measurement system to another. For example,
CONVERT can translate a table of distances in inch to
a table of distances in foot.
Contd…
Microsoft Excel 2016 Functions
Time Convert: Converts a number from one
measurement system to another, For Example,
CONVERT can translate a table of time in year to a
table of time in hour.
Contd…
Microsoft Excel 2016 Functions
Temperature Convert: Converts a number from
one measurement system to another. For example,
CONVERT can translate a table of temperature in
Celsius to a table of temperature in Fahrenheit.
Array Functions (Database)
Microsoft Excel 2016 Functions
An array formula is a formula that works with an
array, or series, of data values rather than a single
data value.
SUMIF, COUNTIF AND AVERAGEIF
Contd…
Microsoft Excel 2016 Functions
S# Staf's Full Name Position Salary Workplace _ Main Fsub
1 Fareed, Habibi Admin 25,000؋ Main Salary 108000 70000
2 Momin, Karimi Vice 10,000؋ Fsub # of Employees 11 7
3 Fawad, Atayee Coordinator 12,000؋ Main Salary Average 9818.182 10000
4 Aziz, Azizi ICT Teacher 11,000؋ Main
5 Haroon, Amiri ICT Teacher 8,000؋ Main
6 Ismail, Fanos English Teacher 12,000؋ Fsub
7 Asad, Sahei English Teacher 12,000؋ Fsub
8 Jawid Science Teacher 5,000؋ Fsub
9 Musawer Science Teacher 10,000؋ Fsub
10 Murad, Amani Science Teacher 11,000؋ Fsub
11 Feroz, Amiri Science Teacher 10,000؋ Fsub
12 Sanaullah Science Teacher 12,000؋ Main
13 Musawer, Sahil English Teacher 9,000؋ Main
14 Fazulrabi Art Teacher 8,000؋ Main
15 Shabnum English Teacher 8,000؋ Main
16 Bakht Beik Guard 7,000؋ Main
17 Sebghat Guard 3,000؋ Main
18 Ekram Controller 5,000؋ Main
Asman Institute's Main Database
_ Main
Salary =SUMIF(E3:E20,H2,D3:D20)
# of Employees =COUNTIF(E3:E20,H2)
Salary Average =AVERAGEIF(E3:E20,H2,D3:D20)

More Related Content

What's hot

Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Alomgir Hossain
 
ms excel presentation...
ms excel presentation...ms excel presentation...
ms excel presentation...alok1994
 
MS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsMS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsP. SUNDARI ARUN
 
Excel PowerPoint
Excel PowerPointExcel PowerPoint
Excel PowerPointnhumar
 
Microsoft excel tutorial (part i)
Microsoft excel tutorial (part i)Microsoft excel tutorial (part i)
Microsoft excel tutorial (part i)mariavarey
 
Ms excel excersices
Ms excel excersicesMs excel excersices
Ms excel excersicesHEENA PRUTHI
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excelMunna India
 
Excel notes by satish kumar avunoori
Excel notes by satish kumar avunooriExcel notes by satish kumar avunoori
Excel notes by satish kumar avunooriSatish Kumar
 
Add or Remove Password Protection in Excel 2016
Add or Remove Password Protection in Excel 2016Add or Remove Password Protection in Excel 2016
Add or Remove Password Protection in Excel 2016Jaff Tiger
 

What's hot (20)

Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table
 
MS Excel Basics
 MS Excel Basics MS Excel Basics
MS Excel Basics
 
ms excel presentation...
ms excel presentation...ms excel presentation...
ms excel presentation...
 
Excel lesson01
Excel lesson01Excel lesson01
Excel lesson01
 
MS-Excel Formulas and Functions
MS-Excel Formulas and FunctionsMS-Excel Formulas and Functions
MS-Excel Formulas and Functions
 
Basic Ms excel
Basic Ms excelBasic Ms excel
Basic Ms excel
 
Excel PowerPoint
Excel PowerPointExcel PowerPoint
Excel PowerPoint
 
M.S EXCEL
M.S EXCELM.S EXCEL
M.S EXCEL
 
Functions in MS Excel
Functions in MS ExcelFunctions in MS Excel
Functions in MS Excel
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
MS Excel 2nd
MS Excel 2ndMS Excel 2nd
MS Excel 2nd
 
Microsoft excel tutorial (part i)
Microsoft excel tutorial (part i)Microsoft excel tutorial (part i)
Microsoft excel tutorial (part i)
 
Ms excel excersices
Ms excel excersicesMs excel excersices
Ms excel excersices
 
Microsoft excel 2010 useful formula & functions
Microsoft excel 2010   useful formula & functionsMicrosoft excel 2010   useful formula & functions
Microsoft excel 2010 useful formula & functions
 
Spreadsheet Concepts
Spreadsheet ConceptsSpreadsheet Concepts
Spreadsheet Concepts
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excel
 
MS Excel 2013
MS Excel 2013MS Excel 2013
MS Excel 2013
 
Excel notes by satish kumar avunoori
Excel notes by satish kumar avunooriExcel notes by satish kumar avunoori
Excel notes by satish kumar avunoori
 
Add or Remove Password Protection in Excel 2016
Add or Remove Password Protection in Excel 2016Add or Remove Password Protection in Excel 2016
Add or Remove Password Protection in Excel 2016
 
Excel Lecture
Excel LectureExcel Lecture
Excel Lecture
 

Similar to Intro To Excel Functions

MS Excel_ICT.pptx
MS Excel_ICT.pptxMS Excel_ICT.pptx
MS Excel_ICT.pptxehmzty
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdfFranzLawrenzDeTorres1
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excelmadhuparna bhowmik
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excelMalika khalil
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxrubben7
 
Basic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialBasic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialSpreadsheetTrainer
 
Useful Excel Functions & Formula Used everywhere.pptx
Useful Excel Functions & Formula Used everywhere.pptxUseful Excel Functions & Formula Used everywhere.pptx
Useful Excel Functions & Formula Used everywhere.pptxvanshikatyagi74
 
Commonly usedexcelfunctions v1
Commonly usedexcelfunctions v1Commonly usedexcelfunctions v1
Commonly usedexcelfunctions v1Hardik sharma
 
Excel for research
Excel  for researchExcel  for research
Excel for researchJamalBhai
 
Basic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 TutorialBasic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 TutorialSpreadsheetTrainer
 
3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.pptJosephIThomas
 
Office technology
Office technology Office technology
Office technology SalwaRegina
 
3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.pptAllanGuevarra1
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxEdwinAdeolaOluwasina1
 
Top 20 microsoft excel formulas you must know
Top 20 microsoft excel formulas you must knowTop 20 microsoft excel formulas you must know
Top 20 microsoft excel formulas you must knowAlexHenderson59
 

Similar to Intro To Excel Functions (20)

MS Excel_ICT.pptx
MS Excel_ICT.pptxMS Excel_ICT.pptx
MS Excel_ICT.pptx
 
functionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdffunctionsandformulas-131221213835-phpapp01.pdf
functionsandformulas-131221213835-phpapp01.pdf
 
Functions and formulas of ms excel
Functions and formulas of ms excelFunctions and formulas of ms excel
Functions and formulas of ms excel
 
Simple formulas excel
Simple formulas excelSimple formulas excel
Simple formulas excel
 
Lesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptxLesson 27 - Excel Lesson 13.pptx
Lesson 27 - Excel Lesson 13.pptx
 
Basic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 TutorialBasic Formulas - Excel 2013 Tutorial
Basic Formulas - Excel 2013 Tutorial
 
Useful Excel Functions & Formula Used everywhere.pptx
Useful Excel Functions & Formula Used everywhere.pptxUseful Excel Functions & Formula Used everywhere.pptx
Useful Excel Functions & Formula Used everywhere.pptx
 
Commonly usedexcelfunctions v1
Commonly usedexcelfunctions v1Commonly usedexcelfunctions v1
Commonly usedexcelfunctions v1
 
Excel for research
Excel  for researchExcel  for research
Excel for research
 
Basic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 TutorialBasic Functions - Excel 2013 Tutorial
Basic Functions - Excel 2013 Tutorial
 
3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt
 
Office technology
Office technology Office technology
Office technology
 
3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt3 Formulas, Ranges, Functions.ppt
3 Formulas, Ranges, Functions.ppt
 
Excel 2010.01 edited
Excel 2010.01 editedExcel 2010.01 edited
Excel 2010.01 edited
 
Excel 2010.01 edited
Excel 2010.01 editedExcel 2010.01 edited
Excel 2010.01 edited
 
CBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptxCBN Advanced Excel Training Slide.pptx
CBN Advanced Excel Training Slide.pptx
 
Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
 
08 ms excel
08 ms excel08 ms excel
08 ms excel
 
Top 20 microsoft excel formulas you must know
Top 20 microsoft excel formulas you must knowTop 20 microsoft excel formulas you must know
Top 20 microsoft excel formulas you must know
 
G10 Unit 4.pptx
G10 Unit 4.pptxG10 Unit 4.pptx
G10 Unit 4.pptx
 

Recently uploaded

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

Intro To Excel Functions

  • 1. Intro To Microsoft Excel 2016 Function Aziz M Azizi Asman Institute ICT Department
  • 2. Formula, Function Microsoft Excel 2016 Functions Formula: A formula is a sequence of values, cell references, names, functions, or operators in a cell that together produce a new value. Formulas are equations that perform calculations on values in your worksheet. A formula always starts with an equal sign (=). You can create a simple formula by using constants and calculation operators. Function: A function is a prewritten formula that takes a value or values, performs an operation, and returns a value or values. Use functions to simplify and shorten formulas on a worksheet, especially those that perform lengthy or complex calculations. A function starts with an equal sign (=).
  • 3. Terms Microsoft Excel 2016 Functions Cell references: You can refer to data in worksheet cells by including cell references in the formula. For example, the cell reference A2 returns the value of that cell or uses that value in the calculation. Constants: Constants are entries that have a specific fixed value. Range: A range is a group or block of cells in a worksheet that have been selected or highlighted (A1:A10)
  • 4. Contd… Microsoft Excel 2016 Functions Arguments: Most Excel functions are designed to accept data that it then uses in its calculations. This data is referred to as arguments and go between the round brackets that follow the functions name. the IF function, for example, has three distinct arguments: The logic test, the value if true, the value if false and the =IF (logic test, value if true, value if false) Array: An array is range or group of related data values. In a spreadsheet program such as Excel the values in an array are normally stored in adjacent cells. There are two types of array in Excel:  One-dimensional array: Where the data is located in single column or row.  Two-dimensional array: where the data is located in multiple columns or rows.
  • 5. Operators: Microsoft Excel 2016 Functions Operators: Operators are the symbols that are used to specify the type of calculation that you want the formula to perform. For example, the ^ (caret) operator raises a number to a power, and the * (asterisk) operator multiplies numbers. Types of operators: There are four different types of calculation operators: arithmetic, comparison, text concatenation, and reference. Arithmetic operators: To perform basic mathematical operations such as addition, subtraction, or multiplication; combine numbers; and produce numeric results, use the following arithmetic operators.
  • 6. Contd… Microsoft Excel 2016 Functions Arithmetic Operator Meaning Example + (Plus Sign) Addition 2+2 - (Minus Sign) Subtraction-Negation 3-2 * (Asterisk) Multiplication 2*4 / (Forward Slash) Division 6/2 % (Percent Sign) Percent 10% ^ (Caret( Exponentiation 4^2
  • 7. Contd… Microsoft Excel 2016 Functions Comparison operators: You can compare two values with the following operators. When two values are compared by using these operators, the result is a logical value either TRUE or FALSE. Arithmetic Operator Meaning Example = (Equal Sign) Equal To 2=2 > (Greater Than Sign) Greater Than 3>2 < (Less Than Sign) Less Than 2<4 >= (Greater Than or Equal To Sign) Greater Than or Eql to 6>=2 <= (Less Than or Equal To Sign) Less Than or Eql to 2<=6 <> Not Equal To Sign Not Equal To 4<>2
  • 8. Contd… Microsoft Excel 2016 Functions Text Operator Meaning Example & (Ampersand) Connects, or concatenates, two values to produce on continuous text value. (A1 & A2) Text Concatenation operator: Use the ampersand (&) to join, or concatenate, one or more text strings to produce a single piece of text.
  • 9. Contd… Microsoft Excel 2016 Functions Reference operators: Combine ranges of cells for calculations with the following operators. Reference Operator Meaning Example : (Colon) Range operator, which produces one reference to all the cells between two references, including the two references. (A1:A10) , (Comma) Union operator, which combines multiple references to one reference. (A1:A10,B1:B10)
  • 10. Contd… Microsoft Excel 2016 Functions References: When you use a cell (or range) reference in a formula, you can use three types of references: Relative: The row and column references can change when you copy the formula to another cell because the references are actually offsets from the current row and column. By default, Excel creates relative cell references in formulas. Absolute: The row and column references do not change when you copy the formula because the reference is to an actual cell address. An absolute reference uses two dollar signs in its address; one for the column letter and one for the row number (For example, $A$5). Mixed: Both the row or column reference is relative, and the other is absolute. Only one of the address parts is absolute (For example, $A4 or A$4).
  • 11. Four Functions Microsoft Excel 2016 Functions Addition: The simplest Excel addition formula calculates the sum of numbers and returns the result.
  • 12. Contd… Microsoft Excel 2016 Functions Instead of using the + operator, as shown above, you can use the Sum function in your Excel addition formula.
  • 13. Contd… Microsoft Excel 2016 Functions Subtraction: The simplest Excel subtraction formula subtracts the numbers and returns the result.
  • 14. Contd… Microsoft Excel 2016 Functions Multiplication: The basic formula for performing multiplication in Excel, calculates product of the numbers and returns the result. Instead of using the * operator, as shown above, you can use the Product function to perform a multiplication in Excel.
  • 15. Contd… Microsoft Excel 2016 Functions Division: The most basic formula to divide in Excel division, divides the number and returns the result.
  • 16. Displaying Percentage Microsoft Excel 2016 Functions Percentages in Excel are stored as decimal values. For example, 25% is stored as the value 0.25, 50% is stored as the value 0.5, etc. It is only the formatting of a cell that makes the decimal value appear as a percentage. Two Percentage Calculation Types When calculating percentages in Excel, there are two types that are typically used. These are: Percentage as a Proportion: Example: if, out of 120 questions, you answer 90 correctly, how is this expressed as a percentage score?
  • 17. Contd… Microsoft Excel 2016 Functions Percentage Change: Example; if your sales figures are $1,250 in January and $1,750 in February, what is the percentage increase in February, compared to January? 1. How to Calculate a Percentage as a Proportion If you want to calculate a sample of a full set, as a percentage, this is done by dividing the sample size by the size of the full set. For example, if you take an exam and answer 90 out of 120 questions correctly, this can be expressed as a percentage by simply dividing 90 by 120.
  • 18. Contd… Microsoft Excel 2016 Functions This gives the result 0.75, or 75% 2. How to Calculate Percentage Change If you want to calculate the percentage change between value A and Value B, this is done using the following formula.
  • 19. Contd… Microsoft Excel 2016 Functions Percentage change = (b-a)/a For example if your sales figures are $1,250 in January and $1,750 in February, the percentage change in February, compared to January, is given by:
  • 20. Statistic Functions Microsoft Excel 2016 Functions MAX: The Excel MAX function returns the largest value from a supplied set of numerical values. the syntax of the function is: Max(Number1, [number2], …)
  • 21. Contd… Microsoft Excel 2016 Functions MAXA: The Excel MAXA Function returns the largest value from a supplied set of numerical values, while counting text and the logical value FALSE as the value 0 and counting the logical value TRUE as the value 1. The syntax of the function is: MAXA(number1, [number2], …)
  • 22. Contd… Microsoft Excel 2016 Functions MIN: The Excel MIN function returns the smallest value from a supplied set of numerical values. The syntax of the function is: MIN(Number1, [number2], …)
  • 23. Contd… Microsoft Excel 2016 Functions MINA: The Excel MINA function returns the smallest value from a supplied set of numerical values, while counting text and the logical value FALSE as the value 0 and counting the logical value True as the value 1.
  • 24. Contd… Microsoft Excel 2016 Functions Large: The Excel LARGE function returns the k’th largest value from an array or a range of cells containing numerical values. The format of the function is: LARGE(array, k) array - An array of numeric values that you want to return the k’th largest of k - The index the function returns the k’th largest value from the supplied array. Examples The following example shows the Excel Large function, being used to retrieve the 1st, 2nd, 3rd, 4th and 5th largest values from the set of values in cells A1 - A5.
  • 26. Contd… Microsoft Excel 2016 Functions Small: The Excel SMALL function returns the k’th smallest value from an array or a range of cells containing numerical values. The format of the function is: SMALL (array, k) array- An array of numeric values that you want to return the k’th smallest of k- The index the function returns the k’th smallest value from the supplied array. Examples: The following example shows the Excel Small function, being used to retrieve the 1st, 2nd, 3rd, 4th, and 5th smallest values from the set of values in cells A1 - A5.
  • 28. Contd… Microsoft Excel 2016 Functions Average: The Excel AVERAGE function returns the arithmetic mean of a list of supplied numbers. The syntax of the function is: Average(number1, [number2], …)
  • 29. Contd… Microsoft Excel 2016 Functions Avergea: The Excel AVERAGEA function returns the arithmetic mean of a list of supplied numbers. The syntax of the function is: AVERAGEA(value1, [value2], …)
  • 30. Contd… Microsoft Excel 2016 Functions AVERAGE Function AVERAGEA Function Logical values or text representations of number, typed directly into the list of arguments. Are counted (TRUE=1, FALSE=0) Are counted (TRUE=1, FALSE=0) Text that cannot be interpreted as a number, typed directly into the list of arguments. #VALUE! error #VALUE! Error Logical values, within arrays or reference arguments Ignored Are counted (TRUE-1, FALSE=0) Text (including empty text “”, text representations of numbers, or other text), within arrays or reference arguments. Ignored Counted as zero Empty cells. Ignored Ignored
  • 31. Contd… Microsoft Excel 2016 Functions Excel Average vs. Excel Averagea The Excel Average Function is very similar to the Excel Average Function. The only difference between these two functions is the way in which logical values or text values within arrays or references are treated in the calculation of the arithmetic mean. This is show in the table on previous slide
  • 32. Contd… Microsoft Excel 2016 Functions Averageif: The Excel AVERAGEIF function finds values in a supplied array, that satisfy a given criteria, and returns the average (the statistical mean) of the corresponding values in a second supplied array. The syntax of the Averageif function is: AERAGEIF (range, criteria, [average_range])
  • 34. Contd… Microsoft Excel 2016 Functions Count: The Excel Count function returns the number of numeric values in a supplied set of cells or values. This count includes both numbers and dates. The syntax of the function is: COUNT(value1, [value2], …)
  • 35. Contd… Microsoft Excel 2016 Functions Counta: The Excel Counta function returns the number of non- blanks in a supplied set of cells and/or values. The syntax of the function is: COUNTA (value1, [value2], …)
  • 36. Contd… Microsoft Excel 2016 Functions Countif: The Excel Countif function returns the number of cells (of a supplied range), that satisfy a given criteria. The syntax of the function is: COUNTIF (range; criteria)
  • 38. Contd… Microsoft Excel 2016 Functions Countifs: The Excel Countifs function returns the number of entries (within one or more supplied arrays), that satisfy a set of given criteria. The function is new in Excel 2007, and so is not available in earlier versions of Excel. The syntax of the Countifs function is: COUNTIFS (criteria_range1, criteria, [criteria_range2, criteria2], …)
  • 40. Date & Time Functions Microsoft Excel 2016 Functions Date: The Excel DATE function, representing a year, month and day, returns an Excel date. The syntax of the Date function is: DATE (year, month, day)
  • 41. Contd… Microsoft Excel 2016 Functions Datevalue: The Excel Datevalue function converts a text representation of a date, into an Excel date. The syntax of the Datevalue function is: DATEVALUE (date_text)
  • 42. Contd… Microsoft Excel 2016 Functions Time: The Excel Time function accepts three integer arguments representing hours, minutes and seconds, and returns an Excel time. The syntax of the function is: TIME (hour, minute, second)
  • 43. Contd… Microsoft Excel 2016 Functions Timevalue: The Excel Timevalue function converts a text representation of a time, into an Excel time. The syntax of the Timevalue function is: TIMEVALUE (time_text)
  • 44. Contd… Microsoft Excel 2016 Functions Now: The Excel Now function returns the current date and time. The function has no arguments and therefore, the syntax of the function is: NOW() Today: The Excel Today function returns the current date. The function has no arguments and therefore, the syntax of the function is simply: TODAY ()
  • 45. Contd… Microsoft Excel 2016 Functions Hour: The Excel HOUR function returns an integer representing the hour component of a supplied Excel time. The syntax of the HOUR function is: HOUR (serial_number)
  • 46. Contd… Microsoft Excel 2016 Functions Minute: The Excel Minute function returns an integer representing the minutes component of a supplied Excel time. The syntax of the Minute function is: MINUTE (serial_number )
  • 47. Contd… Microsoft Excel 2016 Functions Second: The Excel Second function returns an integer representing the seconds component of a supplied Excel time. The syntax of the Second function is: SECOND (serial_number)
  • 48. Contd… Microsoft Excel 2016 Functions Day: The Excel DAY function, when supplied with a date, returns an integer representing the day of the month (from 1-31). The format of the function is: DAY (date)
  • 49. Contd… Microsoft Excel 2016 Functions Month: The Excel MONTH function, when supplied with a date, returns an integer representing the month of the year (from 1-12). The format of the function is: MONTH (date)
  • 50. Contd… Microsoft Excel 2016 Functions Year: The Excel YEAR function, when supplied with a date, returns an integer representing the year. The format of the function is: YEAR (date)
  • 51. Contd… Microsoft Excel 2016 Functions Weekday: The Excel Weekday function returns an integer representing the day of the week that a supplied date falls on. The syntax of the function is: WEEKDAY ( serial_number, [return_type] )
  • 52. Contd… Microsoft Excel 2016 Functions Weeknum: The Excel WEEKNUM function returns an integer representing the week number (from 1 to 53) of the year. The syntax of the function is: WEEKNUM (serial_number, [return_type] )
  • 53. Contd… Microsoft Excel 2016 Functions Edate: The Excel Edate function returns a date that is a specified number of months before or after a supplied start date. The syntax of the function is: EDATE (start_date, months)
  • 54. Contd… Microsoft Excel 2016 Functions Eomonth: The Excel Eomonth function returns the last day of the month, that is a specified number of months before or after an initial supplied start date. The syntax of the function is: EMONTH (start_date, month)
  • 55. Contd… Microsoft Excel 2016 Functions Days360: The Excel Days360 function returns the number of days between 2 dates, based on a 360-day year (12 x 30 months). The format of the function is: DAYS360 (start_date, End_date, [Method] )
  • 56. Math Functions Microsoft Excel 2016 Functions GCD: The Excel GCD function returns the greatest common divisor of two or more supplied integers. The format of the function is: GCD (number1, number2, …)
  • 57. Contd… Microsoft Excel 2016 Functions LCM: The Excel LCM function returns the least common multiple of two or more supplied integers. The format of the function is: LCM (number1, number2, …)
  • 58. Contd… Microsoft Excel 2016 Functions Product: The Excel PRODUCT function returns the product (multiplication) of a supplied set of numerical values. The syntax of the function is: PRODUCT (number1, [number2], …)
  • 59. Contd… Microsoft Excel 2016 Functions Power: The Excel power function calculates a given number, raised to a supplied power. The syntax of the function is: POWER (number, power)
  • 60. Contd… Microsoft Excel 2016 Functions SQRT: The Excel Sqrt function calculates the positive square root of a supplied number. The syntax of the function is: SQRT (number)
  • 61. Contd… Microsoft Excel 2016 Functions Subtotal: The Excel SUBTOTAL function performs a specified calculation (eg. The sum, product, average, etc.) for a supplied set of values. The format of the function is: SUBTOTAL (function_num, ref1, [ref2], …) Function_num - A number theat denotes the calculation type (eg, sum, product, average, etc.) Ref1, [Ref2], … - One or more references to cells containing the values that the calculation is to be performed on.
  • 62. Contd… Microsoft Excel 2016 Functions Function_num (include hidden values) Function_num (ignore hidden values) Function 1 101 Average 2 102 Count 3 103 Counta 4 104 Max 5 105 Min 6 106 Product 7 107 STDEV 8 108 STDEVP 9 109 SUM 10 110 VAR 11 111 VARP
  • 64. Contd… Microsoft Excel 2016 Functions Round: The Excel ROUND function rounds a supplied number up or down, to a specified number of decimal places. The format of the function is: ROUND (number, num_digits)
  • 65. Contd… Microsoft Excel 2016 Functions Roundup: The Excel ROUNDUP function rounds a supplied number up, away from zero, to a specified number of decimal places. The format of the function is: ROUNDUP (number, num_digits) Rounddown: The Excel ROUNDDOWN function rounds a supplied number down, toward zero, to a specified number of decimal places. The format of the function is: ROUNDDOWN (number, num_digits)
  • 67. Contd… Microsoft Excel 2016 Functions Trunc: The Excel TRUNC function indicates a supplied number by removing the decimal part of the number. The format of the function is: TRUNC (number)
  • 68. Contd… Microsoft Excel 2016 Functions SUM: The Excel SUM functions adds together a supplied set of numbers and returns the sum of these values. The syntax of the function is: SUM (number1, {number2}, …)
  • 69. Contd… Microsoft Excel 2016 Functions Sumif: The Excel function finds values in a supplied array, that satisfy a given criteria, and returns the sum of the corresponding values in a second supplied array. The syntax of the function is: SUMIF (range, criteria, [sum_range]}
  • 70. Contd… Microsoft Excel 2016 Functions Sumifs: The Excel Sumifs function finds values in one or more supplied arrays, that satisfy a set of criteria, and returns the sum of the corresponding values in a further supplied array. The function is new in Excel 2007, and so is not available in earlier versions of Excel. The syntax of the function is: SUMIFS (sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)
  • 72. Contd… Microsoft Excel 2016 Functions Sumproduct: The Excel Sumproduct function returns the sum of the products of the corresponding values in two or more supplied arrays. The format of the function is: SUMPRODUCT (array1, array2, [array3], …)
  • 73. Contd… Microsoft Excel 2016 Functions Sumsq: The Excel Sumsq function returns the sum of squares of a supplied set of values. The format of the function is: SUMSQ (number1, [number2], …)
  • 77. Contd… Microsoft Excel 2016 Functions Degrees: The Excel Degrees function converts radians into degrees. The format of the function is: DEGREES (Angle)
  • 78. Contd… Microsoft Excel 2016 Functions Radians: The Excel Radians function converts degrees into radians. The format of the function is: RADIANS (Angle)
  • 79. Text Functions Microsoft Excel 2016 Functions Clean: The Excel Clean function removes all nonprintable characters from the text. The syntax of the function is: CLEAN (text)
  • 80. Contd… Microsoft Excel 2016 Functions Trim: The Excel TRIM function takes a supplied text string and removes any spaces, except for single spaces between words or characters. The syntax of the function is: TRIM (text)
  • 81. Contd… Microsoft Excel 2016 Functions Dollar: The Excel DOLLAR function rounds a supplied number to a specified number of decimal places and then converts this into text, using a currency format. The format of the function is: DOLLAR (number, [decimals])
  • 82. Contd… Microsoft Excel 2016 Functions Fixed: The Excel FIXED function rounds a supplied number to a specified number of decimal places and then converts this into text. The format of the function is: FIXED (number, [decimals], [no_commas])
  • 83. Contd… Microsoft Excel 2016 Functions Lower: The Excel LOWER function converts all characters in a supplied text string to lower case. The format of the function is: LOWER (text)
  • 84. Contd… Microsoft Excel 2016 Functions Text: The Excel TEXT function converts a supplied value into text, in a user-specified format. The format of the function is: TEXT (value, format_text)
  • 85. Contd… Microsoft Excel 2016 Functions Proper: The Excel PROPER function converts all characters in a supplied text string to proper case (ex. All letters that do not follow another letter are set to upper case and all other characters are lower case). The format of the function is: PROPER (text)
  • 86. Contd… Microsoft Excel 2016 Functions Upper: The Excel UPPER function converts all characters in a supplied text string to upper case. The format of the function is: UPPER (text)
  • 87. Contd… Microsoft Excel 2016 Functions Concatenate: The Excel CONCATENATE function joins together a series of supplied text strings or other values, into one combined text string. The format of the function is: CONCATENATE (text1, [text2], …)
  • 88. Contd… Microsoft Excel 2016 Functions Left: The Excel LEFT function returns a specified number of characters from the start of a supplied text string. The syntax of the function is: LEFT (text, [num_chars])
  • 89. Contd… Microsoft Excel 2016 Functions Mid: The Excel MID function returns a specified number of characters from the middle of a supplied text string. The format of the function is: MID (text, start_num, num_chars)
  • 90. Contd… Microsoft Excel 2016 Functions Right: The Excel RIGHT function returns a specified number of characters from the end of a supplied text string. The syntax of the function is: RIGHT (text, [num_chars])
  • 91. Contd… Microsoft Excel 2016 Functions Rept: The Excel REPT function returns a supplied text string, repeated a specified number of times. The format of the function is: REPT (text, number_times)
  • 92. Contd… Microsoft Excel 2016 Functions Len: The Excel LEN function returns the length of a supplied text string. The format of the function is: LEN (text)
  • 93. Contd… Microsoft Excel 2016 Functions Find: The Excel FIND function returns the position of a specified character or string within a supplied text string. The function is case-sensitive. If you want to perform a non-case-sensitive Search, use the Excel Search function instead. The syntax of the Find function is: FIND (find_text, within_text, [start_num])
  • 94. Contd… Microsoft Excel 2016 Functions Exact: The Excel EXACT function tests if two supplied text strings are exactly equal and if so, returns TRUE; Otherwise, the function returns FALSE, the function is case-sensitive. The format of the exact function is: EXACT (text1, text2)
  • 95. Contd… Microsoft Excel 2016 Functions T: The Excel T function texts if a supplied value is text and if so, returns the supplied text; Otherwise, the function returns an empty text string. The format of the function is: T (value)
  • 96. Database Functions Microsoft Excel 2016 Functions Daverage: The Excel DAVERAGE function calculates the average of values in a field (column) in a database for selected records that satisfy user-specified criteria. The function is very similar to the Excel Averageifs function, which is new to Excel 2007. The syntax of the Excel Daverage function is: DAVERAGE (database, field, criteria)
  • 98. Contd… Microsoft Excel 2016 Functions Dcount: The Excel DCOUNT function returns the number of cells containing numbers, in a field (column) of a database for selected records only. The records to be included in the count are those that satisfy a set of one or more user-specified criteria. The function is very similar to the Excel Countifs function, which is new to Excel 2007. The syntax of the Excel Dcount function is: DCOUNT (database, [field], criteria)
  • 100. Contd… Microsoft Excel 2016 Functions Dcounta: The Excel DCOUNTA function returns the number of non-blank cells, in a field (column) of a database for selected records only. The records to be included in the count are those that satisfy a set of one or more user-specified criteria. The function is very similar to the Excel Dcount function, the only difference being that the Dcounta function counts all non-blank cells where the Dcount function only counts cells containing numerical values. The syntax of the Excel Dcounta function is: DCOUNTA (database, [field], criteria)
  • 102. Contd… Microsoft Excel 2016 Functions Dget: The Excel DGET function returns the value contained in a field (column) of a single record in a database. The record is selected via a set of one or more user- specified criteria. The syntax of the function is: DGET (database, field, criteria)
  • 104. Contd… Microsoft Excel 2016 Functions Dmax: The Excel DMAX function finds the maximum value in a field (column) in a database for selected records only. The records to be included in the calculation are defined by a set of one or more user- specified criteria. The syntax of the function is: DMAX (database, field, criteria)
  • 106. Contd… Microsoft Excel 2016 Functions Dmin: The Excel DMIN function finds the minimum value in a field (column) in a database for selected records only. The records to be included in the calculation are defined by a set of one or more user-specified criteria. The syntax of the function is: DMIN (database, field, criteria)
  • 108. Contd… Microsoft Excel 2016 Functions Dproduct: The Excel DPRODUCT function calculates the product of a field (column) in a database for selected records, that satisfy user-specified criteria. The syntax of the function is: DPRODUCT (database, field, criteria)
  • 110. Contd… Microsoft Excel 2016 Functions Dsum: The Excel DSUM function calculates the sum of a field (column) in a database for selected records, that satisfy user-specified criteria. The function is very similar to the Excel Sumifs function, which is new to Excel 2007. The syntax of the Excel Dsum function is: DSUM (database, field, criteria)
  • 112. Logical Functions Microsoft Excel 2016 Functions AND: The Excel AND function tests a number of user- defined conditions and returns a result of: - TRUE: if ALL of the conditions evaluate to TRUE or - FALSE: otherwise (i.e. if ANY of the conditions evaluate to FALSE) The syntax of the function is: AND (logical_test1, [logical_test2], …)
  • 113. Contd… Microsoft Excel 2016 Functions OR: The Excel OR function tests a number of supplied conditions and returns either: - TRUE if ANY of the conditions evaluate to TRUE - FALSE otherwise (i.e. if ALL of the conditions evaluate to FALSE) The syntax of the function is: OR (logical-test1, [logical_test2], …)
  • 114. Contd… Microsoft Excel 2016 Functions NOT: The Excel NOT function receives a logical value and simply returns the opposite logical value. If supplied with the value TRUE, the NOT function returns FALSE and if supplied with the value FALSE, the function will return the value TRUE. The syntax of the function is: NOT (logical)
  • 115. Contd… Microsoft Excel 2016 Functions IF: The Excel IF function tests a user-defined condition and returns one result if the condition is true, and another result if the condition is false. The syntax of the function is: IF (logical_test, value_if_true, value_if_false) Where the arguments are as follows: logical_test: The user-defined condition that is to be tested and evaluated as either TRUE or FALSE value_if_true: The result that is to be returned from the function if the supplied logical_test evaluates to TRUE. value_if_false: The result that is to be returned from the function if the supplied logical_test evaluates to FALSE.
  • 116. Contd… Microsoft Excel 2016 Functions Nesting the Excel IF Function The IF function is frequently ‘nested’ in Excel. i.e. the value_if_true or the value_if_false argument is replaced with another call to the IF function (see Example 3 below). Excel 2003 allows up to 7 levels of nested IF functions, but Excel 2007 and Excel 2010 allow up to 64 levels of nesting. For Example, the following formula (which has 8 levels of nesting), will result in an error in Excel 2003 but will work correctly in Excel 2007 or Excel 2010.
  • 118. Lookup & Reference Functions Microsoft Excel 2016 Functions Lookup: The Excel LOOKUP function ‘looks up’ a supplied value within a data set and returns the corresponding value from a second data set. if the function fails to find an exact match to the supplied ‘lookup’ value, it uses the largest value that is less than or equal to the supplied ‘lookup’ value. The format of the function is: LOOKUP (lookup_value, lookup_vector, result_vector)
  • 119. Contd… Microsoft Excel 2016 Functions Hlookup: The Excel Hlookup function ‘looks up’ a given value in the top row of a data array (or table), and returns the corresponding value from another row of the array. The syntax of the function is: HLOOKUP (lookup_value, table_array, row_index_num, [range_lookup] ) Where the function arguments are as follows on next slide…
  • 121. Contd… Microsoft Excel 2016 Functions Vlookup: The Excel Vlookup function ‘looks up’ a given value in the left-hand column of a data array (or table), and returns the corresponding value from another column of the array. The format of the function is: VLOOKUP (lookup_value, table_array, col- index_num, [range_lookup] )
  • 123. Contd… Microsoft Excel 2016 Functions Index: The array format of the index function is the most basic form of the function, and is used when you want to look up a reference to a cell within a single range. The syntax of the function is: INDEX (array, row_num, col_num )
  • 125. Contd… Microsoft Excel 2016 Functions Areas: The Excel Areas function takes an Excel reference and returns the number of areas that make up the reference. The format of the function is: AREAS (Reference )
  • 126. Contd… Microsoft Excel 2016 Functions Choose: The Excel Choose function retrns a value from a list, that corresponds to a supplied index number. it may help to think of the Choose function as a function that returns the nth entry in a given list. The syntax of the function is: CHOOSE (index_num, value1, [value2], …) Where the arguments are as follows: index_num: An integer value, which specifies the index of the item to be returned. value1, [value2], … : A list of one or more values that you want to return a value from.
  • 127. Contd… Microsoft Excel 2016 Functions Transpose: The Excel Transpose function ‘transposes’ an array of cells (ie. The function copies a horizontal range of cells into a vertical range and vice versa). To input an array formula, you need to first highlight the range of cells for the function result. Type your function into the first cell of the range, and press CTRL+SHIFT+Enter. The format of the function is: TRANSPOSE (array)
  • 129. Contd… Microsoft Excel 2016 Functions Row: The Excel Row function returns the first row number within a supplied reference, or if no reference is supplied, the function returns the number of the current row in the currently active Excel spreadsheet. The syntax of the Row function is: ROW ( [reference] )
  • 130. Contd… Microsoft Excel 2016 Functions Rows: The Excel Rows function takes an Excel Range and returns the number of rows that are contained within the range. The syntax of the function is: ROWS (array)
  • 131. Contd… Microsoft Excel 2016 Functions Column: The Excel Column function returns the first column number within a supplied reference, or if no reference is supplied, the function returns the number of the current column in the currently active Excel Spreadsheet. The syntax of the Column function is: COLUMN ( [reference] )
  • 132. Contd… Microsoft Excel 2016 Functions Columns: The Excel Columns function receives an Excel range and returns the number of columns that are contained with the range. The syntax of the function is: COLUMNS ( array )
  • 133. Financial Functions Microsoft Excel 2016 Functions Terms • The Rate argument is a fixed percent value applied during the life of the loan. • The PresentValue is the current value of the loan or investment. It could be the marked value of the car, the current mortgage value of a house, or the cash amount that a bank is lending. • The FutureValue is the value the loan or investment will have when the loan is paid off. • The NPeriods is the number of periods that occur during the lifetime of the loan. For example, if a car is financed in 5 years, this value would be (5 years * 12 months each = 60 months). When passing this argument, you must remember to pass the right amount.
  • 134. Contd… Microsoft Excel 2016 Functions FV (Future Value): to calculate the future value of an investment, you can use the FV() function. The syntax of this function is: FV (Rate, Periods, Payment, PresentValue, PaymentType)
  • 135. Contd… Microsoft Excel 2016 Functions NPER (Number of Periods): To calculate the number of periods of an investment or a loan, you can use the NPER() function. Its syntax is: NPER (Rate, Payment, PresentValue, FutureValue, PaymentType)
  • 136. Contd… Microsoft Excel 2016 Functions PMT (Investment or Loan Payment): The PMT() function is used to calculate the regular payment of loan or an investment. its syntax is: PMT (Rate, NPeriods, PresentValue, FutureValue, PaymentType) In the following example, a custorer is applying for a car loan. The cost of the car will be entered in cell B3. It will be financed at a rate entered in cell B5 for a period set in cell B6.
  • 137. Contd… Microsoft Excel 2016 Functions Suppose that, during the evaluation, a customer decides that she doesn’t need a brand new car anymore. Also, she thinks that a 5-year car loan is too long. Furthermore, she wants to make a $4500.00 down payment to reduce the monthly payments. On the other side of the desk, the salesperson who wants to make a juicy commission on this loan has decided to increase the interest rate.
  • 138. Contd… Microsoft Excel 2016 Functions Change the new values of the worksheet as follows and see the result.
  • 139. Contd… Microsoft Excel 2016 Functions  The Amount Paid as Interest During a Period: When a customer is applying for a loan an investment company must be very interested to know how much money it would collect as interest. This allows the company to know whether the loan is worth giving. Because the interest earned is related to the interest rate, a company can play with the rate (and also the length) of the loan to get a fair (?) amount. - The IPMT() function is used to calculate the amount paid as interest on a loan during a period of the lifetime of a loan or an investment. It is important to understand what tis function calculates. Suppose a customer is applying for a car loan and the salesperson decide (or agrees with the customer) that the loan will be spread over 5 years (5 years * 12 months each = 60 months). The salesperson then applies a certain interest rate.
  • 140. Contd… Microsoft Excel 2016 Functions IPMT: The IPMT() function can help you calculate the amount of interest that the lending institution would earn during a certain period. In essence, you can use it to know how much money the company would earn in the 3rd year, or in the 4th year, or in the 1st year. Based on this, this function has an argument called Period, which specifies the year you want to find out the interest earned in. The syntax of the IPMT() function is: IPMT (Rate, Period, Nperiods, PresentValue, FutureValue, PaymentType)
  • 142. Contd… Microsoft Excel 2016 Functions The Amount Paid as Principal: While the IPMT() function calculates the amount paid as interest for a period of a loan or an investment, the PPMT() function calculates the actual amount that applies to the balance of the loan. This is referred to as the principal. Its syntax is: PPMT (Rate, Period, Nperiods, PresentValue, FutureValue, PaymentType)
  • 143. Contd… Microsoft Excel 2016 Functions The arguments are the same as described in the previous sections.
  • 144. Contd… Microsoft Excel 2016 Functions The Interest Rate: Suppose a customer comes to a car dealer and wants to buy a car. The salesperson would first present the available cars to the customer so the customer can decide what car he likes. After this process and during the evaluation, the sales person may tell the customer that the monthly payments would be $384.48. The customer may then say, “Wooooh, I can’t afford that, man”. Then the salesperson would ask, “What type of monthly payment suits you”. From now on, both would continue the discussion. Since the salesperson still wants to make some money but without losing the customer because of a high monthly payment, the salesperson would need to find a reasonable rate that can accommodate an affordable monthly payment for the customer.
  • 145. Contd… Microsoft Excel 2016 Functions The RATE() function is used to calculate the interest applied on a loan or an investment. Its syntaxis: RATE (NPeriods, Payment, PresentValue, FutureValue, PaymentType, Guess)
  • 146. Contd… Microsoft Excel 2016 Functions IRR (The Internal Rate of Return): The IRR() function is used to calculate an internal rate of return based on a series of investments. Its syntax is: IRR (Values, Guess)
  • 147. Contd… Microsoft Excel 2016 Functions The values argument is a series (also called an array or a collection) of cash amounts that a customer has made on an investment. For example, a customer could make monthly deposits in a savings or credit union account. Another customer could be running a business and receiving different amounts of money as the business is flowing (or losing money). The cash flows don’t have to be the same at different intervals but they should (or must) occur at regular intervals such as weekly (amount cut from a paycheck), bi-weekly (401k directly cut from paycheck monthly (regular investment), or yearly (income). The values argument must be passed as a collection of values, such as a range of selected cells, and not an amount. Otherwise you would receive an error. The Guess parameter is an estimate interest rate of return of the investment.
  • 148. Contd… Microsoft Excel 2016 Functions NPV Net Present Value: The NPV() function uses a series of cash flows to calculate the present value of an investment. Its syntax is: NPV (Rate, Value1, Value2, …)
  • 149. Contd… Microsoft Excel 2016 Functions The Rate parameter is the rate of discount during one period of the investment. As the NPV() function doesn’t take a fixed number of arguments, you can add a series of values as Value1, Value2, etc. These are regularly made payments for each period involved. Because this function uses a series of payments, any payment made in the past should have a positive value (because it was made already). Any future payment should have a negative value (because it has not been made yet).
  • 150. Convert Functions Microsoft Excel 2016 Functions Weight Convert: Converts a number from one measurement system to another. For example, CONVERT can translate a table of weight in gram to a table of weight in slug.
  • 151. Contd… Microsoft Excel 2016 Functions Distance Convert: Converts a number from one measurement system to another. For example, CONVERT can translate a table of distances in inch to a table of distances in foot.
  • 152. Contd… Microsoft Excel 2016 Functions Time Convert: Converts a number from one measurement system to another, For Example, CONVERT can translate a table of time in year to a table of time in hour.
  • 153. Contd… Microsoft Excel 2016 Functions Temperature Convert: Converts a number from one measurement system to another. For example, CONVERT can translate a table of temperature in Celsius to a table of temperature in Fahrenheit.
  • 154. Array Functions (Database) Microsoft Excel 2016 Functions An array formula is a formula that works with an array, or series, of data values rather than a single data value. SUMIF, COUNTIF AND AVERAGEIF
  • 155. Contd… Microsoft Excel 2016 Functions S# Staf's Full Name Position Salary Workplace _ Main Fsub 1 Fareed, Habibi Admin 25,000؋ Main Salary 108000 70000 2 Momin, Karimi Vice 10,000؋ Fsub # of Employees 11 7 3 Fawad, Atayee Coordinator 12,000؋ Main Salary Average 9818.182 10000 4 Aziz, Azizi ICT Teacher 11,000؋ Main 5 Haroon, Amiri ICT Teacher 8,000؋ Main 6 Ismail, Fanos English Teacher 12,000؋ Fsub 7 Asad, Sahei English Teacher 12,000؋ Fsub 8 Jawid Science Teacher 5,000؋ Fsub 9 Musawer Science Teacher 10,000؋ Fsub 10 Murad, Amani Science Teacher 11,000؋ Fsub 11 Feroz, Amiri Science Teacher 10,000؋ Fsub 12 Sanaullah Science Teacher 12,000؋ Main 13 Musawer, Sahil English Teacher 9,000؋ Main 14 Fazulrabi Art Teacher 8,000؋ Main 15 Shabnum English Teacher 8,000؋ Main 16 Bakht Beik Guard 7,000؋ Main 17 Sebghat Guard 3,000؋ Main 18 Ekram Controller 5,000؋ Main Asman Institute's Main Database _ Main Salary =SUMIF(E3:E20,H2,D3:D20) # of Employees =COUNTIF(E3:E20,H2) Salary Average =AVERAGEIF(E3:E20,H2,D3:D20)