Latihan 7 MExcel
Latihan 7 MExcel
Syntax
ACCRINT(issue,first_interest,settlement,rate,par,frequency,basis,calc_method)
IMPORTANT Dates should be entered by using the DATE function, or as results of other formulas or
functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if
dates are entered as text.
Settlement is the security's settlement date. The security settlement date is the date after the issue
date when the security is traded to the buyer.
Par is the security's par value. If you omit par, ACCRINT uses $1,000.
Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for
semiannual, frequency = 2; for quarterly, frequency = 4.
1 Actual/actual
2 Actual/360
3 Actual/365
4 European 30/360
Calc_method Calc_method is a logical value that specifies the way to calculate the total accrued
interest when the date of settlement is later than the date of first_interest. A value of TRUE (1) returns
the total accrued interest from issue to settlement. A value of FALSE (0) returns the accrued interest
from first_interest to settlement. If you do not enter the argument, it defaults to TRUE.
Remarks
Microsoft Office Excel stores dates as sequential serial numbers so they can be used in
calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial
number 39448 because it is 39,448 days after January 1, 1900. Microsoft Office Excel for
the Macintosh uses a different date system as its default.
Issue, first_interest, settlement, frequency, and basis are truncated to integers.
If issue, first_interest, or settlement is not a valid date, ACCRINT returns the #VALUE! error
value.
If frequency is any number other than 1, 2, or 4, ACCRINT returns the #NUM! error value.
If basis < 0 or if basis > 4, ACCRINT returns the #NUM! error value.
where:
Ai = number of accrued days for the ith quasi-coupon period within odd period.
NC = number of quasi-coupon periods that fit in odd period. If this number contains a
fraction, raise it to the next whole number.
NLi = normal length in days of the ith quasi-coupon period within odd period.
Example
A B
1 Data Description
7 2 Frequency is semiannual
(see above)
8
0 30/360 basis (see above)
AMORDEGRC
Show All
Returns the depreciation for each accounting period. This function is provided for the French
accounting system. If an asset is purchased in the middle of the accounting period, the prorated
depreciation is taken into account. The function is similar to AMORLINC, except that a depreciation
coefficient is applied in the calculation depending on the life of the assets.
Syntax
AMORDEGRC(cost,date_purchased,first_period,salvage,period,rate,basis)
IMPORTANT Dates should be entered by using the DATE function, or as results of other formulas or
functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if
dates are entered as text.
Salvage is the salvage value at the end of the life of the asset.
1 Actual
Remarks
Microsoft Excel stores dates as sequential serial numbers so they can be used in
calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial
number 39448 because it is 39,448 days after January 1, 1900. Microsoft Excel for the
Macintosh uses a different date system as its default.
This function will return the depreciation until the last period of the life of the assets or until
the cumulated value of depreciation is greater than the cost of the assets minus the salvage
value.
The depreciation rate will grow to 50 percent for the period preceding the last period and will
grow to 100 percent for the last period.
If the life of assets is between 0 (zero) and 1, 1 and 2, 2 and 3, or 4 and 5, the #NUM! error
value is returned.
Example
A B
1 Data Description
2 2400 Cost
6 1 Period
7 15% Depreciation rate
AND
Returns TRUE if all its arguments are TRUE; returns FALSE if one or more argument is FALSE.
Syntax
AND(logical1,logical2, ...)
Logical1, logical2, ... are 1 to 255 conditions you want to test that can be either TRUE or FALSE.
Remarks
The arguments must evaluate to logical values such as TRUE or FALSE, or the arguments
must be arrays or references that contain logical values.
If an array or reference argument contains text or empty cells, those values are ignored.
If the specified range contains no logical values, AND returns the #VALUE! error value.
Example 1
A B
Example 2
1 Data
2 50
3 104