Advanced functions unit 5
-
Upload
khurram-hayat -
Category
Technology
-
view
215 -
download
1
Transcript of Advanced functions unit 5
![Page 1: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/1.jpg)
Advanced Functions
Unit 6
![Page 2: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/2.jpg)
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
![Page 3: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/3.jpg)
TODAY Example
![Page 4: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/4.jpg)
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
![Page 5: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/5.jpg)
DAY Example
![Page 6: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/6.jpg)
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
![Page 7: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/7.jpg)
MONTH Example
![Page 8: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/8.jpg)
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
![Page 9: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/9.jpg)
YEAR Example
![Page 10: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/10.jpg)
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
![Page 11: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/11.jpg)
SUMIF Example
![Page 12: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/12.jpg)
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
![Page 13: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/13.jpg)
ROUND Example
![Page 14: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/14.jpg)
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
![Page 15: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/15.jpg)
COUNT Example
![Page 16: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/16.jpg)
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
![Page 17: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/17.jpg)
COUNTA Example
![Page 18: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/18.jpg)
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
![Page 19: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/19.jpg)
COUNTIF Example
![Page 20: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/20.jpg)
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
![Page 21: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/21.jpg)
PROPER Example
![Page 22: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/22.jpg)
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
![Page 23: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/23.jpg)
UPPER Example
![Page 24: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/24.jpg)
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
![Page 25: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/25.jpg)
LOWER Example
![Page 26: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/26.jpg)
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
![Page 27: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/27.jpg)
CONCATENATE Example
![Page 28: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/28.jpg)
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
![Page 29: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/29.jpg)
FV Example
![Page 30: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/30.jpg)
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
![Page 31: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/31.jpg)
NPV Example
![Page 32: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/32.jpg)
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
![Page 33: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/33.jpg)
PMT Example
![Page 34: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/34.jpg)
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
![Page 35: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/35.jpg)
PV Example
![Page 36: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/36.jpg)
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
![Page 37: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/37.jpg)
RATE Example
![Page 38: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/38.jpg)
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
![Page 39: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/39.jpg)
HLOOKUP Example
![Page 40: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/40.jpg)
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
![Page 41: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/41.jpg)
VLOOKUP Example
![Page 42: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/42.jpg)
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
![Page 43: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/43.jpg)
IF Example
![Page 44: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/44.jpg)
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
![Page 45: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/45.jpg)
AND Example
![Page 46: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/46.jpg)
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
![Page 47: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/47.jpg)
OR Example
![Page 48: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/48.jpg)
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
![Page 49: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/49.jpg)
ISERROR Example
![Page 50: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/50.jpg)
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
![Page 51: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/51.jpg)
DSUM Example
![Page 52: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/52.jpg)
DMIN
![Page 53: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/53.jpg)
DMAX
![Page 54: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/54.jpg)
DCOUNT
![Page 55: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/55.jpg)
NESTED FUNCTIONS
![Page 56: Advanced functions unit 5](https://reader037.fdocuments.in/reader037/viewer/2022102621/5586609bd8b42aed468b4647/html5/thumbnails/56.jpg)
NESTED FUNCTIONS