Post on 21-Jun-2015
Advanced Functions
Unit 6
TODAY & Now
What does it do?o Use this to show the date
Syntaxo =today()
Formattingo The result will normally be displayed using the
DD-MMM-YY format
TODAY Example
TODAY
What does it do?o This function extracts the day of the month from
a date Syntax
o =day(value) (value can be a constant or a cell reference)
Formattingo Normally the result will be a number, but this can
be formatted to show the actual day of the week by using Formatting
DAY Example
MONTH
What does it do?o This function extracts the month from a complete
date Syntax
o =month(date) Formatting
o Normally the result will be a number, but this can be formatted to show the actual day of the week by using Formatting
MONTH Example
YEAR
What does it do?o This function extracts the year number from a
complete date Syntax
o =year(date) Formatting
o The result is shown as a number
YEAR Example
SUMIF
What does it do?o The function adds the value of items which match
criteria set by user Syntax
o =sumif(RangeOfThingsToBeExamined,Criteria,RangeOfValuesToTotal)
Formattingo No special formatting is needed
SUMIF Example
ROUND
What does it do?o This function rounds a number to a specified
amount of decimal places Syntax
o =round(NumberToRound,DecimalPlacesToUse) Formatting
o No special formatting is needed
ROUND Example
COUNT
What does it do?o This function counts the number of numeric
entries in a list. It will ignore blanks, text and errors Syntax
o =count(Range1,Range2,Range3……ThroughTo Range30)
Formattingo No special formatting is needed
COUNT Example
COUNTA
What does it do?o This function counts the number of numeric or
text entries in a list. It will ignore blanks Syntax
o =counta(Range1,Range2,Range3……ThroughTo Range30)
Formattingo No special formatting is needed
COUNTA Example
COUNTIF
What does it do?o This function counts the number of items which
match criteria set by the user Syntax
o =countif(RangeOfThingsToBeCounted,CriteriaToBeMatched)
Formattingo No special formatting is needed
COUNTIF Example
PROPER
What does it do?o This function converts the first letter of each
word to uppercase, and all subsequent letters are converted to lower case
Syntaxo =proper(TextToCovert)
Formattingo No special formatting is needed
PROPER Example
UPPER
What does it do?o This function converts all characters in a piece of
text to upper case Syntax
o =upper(TextToCovert) Formatting
o No special formatting is needed
UPPER Example
LOWER
What does it do?o This function converts all characters in a piece of
text to lower case Syntax
o =lower(TextToCovert) Formatting
o No special formatting is needed
LOWER Example
CONCATENATE
What does it do?o This function joins separate pieces of text into one item
Syntaxo =concatenate(Text1,Text2,Text3……Text30)
Formattingo No special formatting is needed, the result is
shown as normal text
CONCATENATE Example
FV
What does it do?o This function returns the future value of an
investment based on periodic, constant payment and a constant interest rate
Syntaxo =fv(Rate,NumberOfPayments,Payment,PV,Type)
Formattingo No special formatting is needed
FV Example
NPV
What does it do?o This function Calculates the net present value of
an investment by using a discount rate and a series of future payments (negative values) and income (positive values).
Syntaxo =npv(Rate,Value1,Value2,…………)
Formattingo No special formatting is needed
NPV Example
PMT
What does it do?o This function Calculates the payment for a loan
based on constant payments and a constant interest rate.
Syntaxo =pmt(Rate,NumberOfPayments,PresentValue,FutureValu
e,Type) Formatting
o No special formatting is needed
PMT Example
PV
What does it do?o This function Returns the present value of an
investment. The present value is the total amount that a series of future payments is worth now. For example, when you borrow money, the loan amount is the present value to the lender.
Syntaxo =pv(Rate,NumberOfPayments,Payment,FutureValue,Typ
e) Formatting
o No special formatting is needed
PV Example
RATE
What does it do?o This function Returns the interest rate per period
of an annuity. RATE is calculated by iteration and can have zero or more solutions. If the successive results of RATE do not converge to within 0.0000001 after 20 iterations, RATE returns the #NUM! error value.
Syntaxo =rate(NumberOfPayments,Payments,PresentValue,Futur
eValue,Type,Guess) Formatting
o No special formatting is needed
RATE Example
HLOOKUP
What does it do?o This function scans across the column headings
at the top of a table to find a specified item. When the item is found, it then scans down the column to pick a cell entry
Syntaxo =hlookup(ItemToFind,RangeToLookIn,RowToPickFrom,So
rtedOrUnsorted) Formatting
o No special formatting is needed
HLOOKUP Example
VLOOKUP
What does it do?o This function scans across the row headings at
the side of a table to find a specified item. When the item is found, it then scans across to pick a cell entry
Syntaxo =vlookup(ItemToFind,RangeToLookIn,ColumnToPickFro
m,SortedOrUnsorted) Formatting
o No special formatting is needed
VLOOKUP Example
IF
What does it do?o This function tests a conditiono If the condition is met it is considered to be TRUEo If the condition is not met it is considered as
FALSEo Depending upon the result, one of two actions
will be carried out Syntax
o =if(Condition,ActionIfTrue,ActionIfFalse) Formatting
o No special formatting is needed
IF Example
AND
What does it do?o This function tests two or more conditions to see
if they are all trueo It can be used to test that a series of numbers
meet certain conditionso It can be used to test that a number or a date
falls between an upper or lower limito Normally the AND() function would be used in
conjunction with a function such as =IF() Syntax
o =and(Test1,Test2……..Test30) Formatting
o When used by itself it will show TRUE of FALSE
AND Example
OR
What does it do?o This function tests two or more conditions to see
if any of them are trueo It can be used to test that at least one of a series
of numbers meets certain conditionso Normally the OR() function would be used in
conjunction with a function such as =IF() Syntax
o =or(Test1,Test2……..Test30) Formatting
o When used by itself it will show TRUE of FALSE
OR Example
ISERROR
What does it do?o This function tests a cell or calculation to
determine whether an error has been generated. It will show TRUE for any error and FALSE if no error is found
Syntaxo =iserror(CellToTest)
Formattingo When used by itself it will show TRUE of FALSE
ISERROR Example
DSUM
What does it do?o This function examines a list of information and
produces a total Syntax
o =dsum(DatabaseRange,FieldName,CriteriaRange) Formatting
o When used by itself it will show TRUE of FALSE
DSUM Example
DMIN
DMAX
DCOUNT
NESTED FUNCTIONS
NESTED FUNCTIONS