Difference between revisions of "Documentation/How Tos/Calc: AMORLINC function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
(revwording from the original Help) |
||
Line 2: | Line 2: | ||
== AMORLINC == | == AMORLINC == | ||
− | Returns depreciation for a | + | Returns depreciation for a period using linear depreciation (French system). |
This function is only available if the '''Analysis AddIn''' is installed. | This function is only available if the '''Analysis AddIn''' is installed. | ||
=== Syntax: === | === Syntax: === | ||
− | <tt>'''AMORLINC(cost; | + | <tt>'''AMORLINC(cost; purchase_date; first_period_end; salvage; period; rate; basis)'''</tt> |
− | + | : <tt>'''cost'''</tt>: the acquisition cost. | |
− | + | ||
− | : <tt>'''cost'''</tt>: the acquisition | + | |
: <tt>'''date_purchased'''</tt>: the date of acquisition. | : <tt>'''date_purchased'''</tt>: the date of acquisition. | ||
− | : <tt>''' | + | : <tt>'''first_period_end'''</tt>: the end date of the first depreciation period. |
− | : <tt>'''salvage'''</tt>: the salvage value | + | : <tt>'''salvage'''</tt>: the salvage value at the end of life. |
− | : <tt>'''period'''</tt>: the | + | : <tt>'''period'''</tt>: the period for which to calculate depreciation. 0 is the initial period (from <tt>'''purchase_date'''</tt> to <tt>'''first_period_end'''</tt>. |
: <tt>'''rate'''</tt>: the rate of depreciation. | : <tt>'''rate'''</tt>: the rate of depreciation. | ||
: <tt>'''basis'''</tt>: is chosen from a list of options and indicates how the year is to be calculated. Defaults to <tt>'''0'''</tt> if omitted. | : <tt>'''basis'''</tt>: is chosen from a list of options and indicates how the year is to be calculated. Defaults to <tt>'''0'''</tt> if omitted. | ||
Line 23: | Line 21: | ||
:: 3 - Exact number of days in month, year has 365 days | :: 3 - Exact number of days in month, year has 365 days | ||
:: 4 - European method, 12 months of 30 days each | :: 4 - European method, 12 months of 30 days each | ||
+ | |||
+ | : Calculates the amount of depreciation for a period, using linear depreciation. The depreciation for the (possibly partial) first period is calculated proportionately as in French accounting systems. | ||
+ | |||
+ | : The life time ''t'' of the asset is 1/<tt>'''rate'''</tt>. | ||
+ | |||
+ | : <tt>'''AMORLINC'''</tt> returns <tt>'''0'''</tt> outside the lifetime. | ||
=== Example: === | === Example: === |
Revision as of 12:11, 1 September 2008
AMORLINC
Returns depreciation for a period using linear depreciation (French system).
This function is only available if the Analysis AddIn is installed.
Syntax:
AMORLINC(cost; purchase_date; first_period_end; salvage; period; rate; basis)
- cost: the acquisition cost.
- date_purchased: the date of acquisition.
- first_period_end: the end date of the first depreciation period.
- salvage: the salvage value at the end of life.
- period: the period for which to calculate depreciation. 0 is the initial period (from purchase_date to first_period_end.
- rate: the rate of depreciation.
- basis: is chosen from a list of options and indicates how the year is to be calculated. Defaults to 0 if omitted.
- 0 - US method (NASD), 12 months of 30 days each
- 1 - Exact number of days in months, exact number of days in year
- 2 - Exact number of days in month, year has 360 days
- 3 - Exact number of days in month, year has 365 days
- 4 - European method, 12 months of 30 days each
- Calculates the amount of depreciation for a period, using linear depreciation. The depreciation for the (possibly partial) first period is calculated proportionately as in French accounting systems.
- The life time t of the asset is 1/rate.
- AMORLINC returns 0 outside the lifetime.
Example:
AMORLINC(1000; "2004-02-01"; "2004-12-31"; 10; 8; 0.1; 1)
- returns 100.