Bug 134367 - CALC new formulas: Written down value & written down depreciation
Summary: CALC new formulas: Written down value & written down depreciation
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Function
  Show dependency treegraph
 
Reported: 2020-06-28 15:37 UTC by johnks
Modified: 2023-06-02 05:04 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
calculation sheet for the proposed formula (9.82 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-06-28 15:37 UTC, johnks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnks 2020-06-28 15:37:21 UTC
Created attachment 162481 [details]
calculation sheet for the proposed formula

I have an idea about a new financial formula which i am not sure why no one has implemented yet, maybe it is in the pipeline but i am putting this out.
Libreoffice currently has a variety of depreciation formulae, db, ddb, amordegrc, amorlinc,sln, syd, vdb and there may be more but i have been unable to find a suitable formulae that gives me the depreciation amount as needed.
One of the accepted methods of calculating depreciation is on "reducing balance method" whereby, for the sake of simplicity and replicability, a predefined rate of depreciation is given. Say, building is to be depreciated at 10% WDV or written down value. Basically, an asset is taken at cost value and a rate of depreciation is reduced from this value during the year and the closing balance for that year becomes opening balance of next year and  the rate of depreciation is applied on that new opening balance and so on until either the asset is scrapped or its value is reduced to zero, in which case, the asset is said to be fully written off.
For example, i have set the cost of asset at 100,000 and applied a depreciation rate of 60% over the lifetime of the asset. As you can see, each line represents one year and opening balance of first year is reduced by 60% and that closing balance becomes opening of next year.




I propose that we have a formula, WDV (cost,rate of depreciation,period of calculation).

Also, a second WDVD formula to find the depreciation value for a given year WDVD (cost,rate of depreciation,period of calculation). 

Calculations are assumed to be at the end of period because that is the norm.

i have attached a sheet explaining with simple case values the need for this formula, if i wanted to find written down value of an asset, say 3 years in a line, i have to make a chart plotting each year and then going at it one by one. These formulas would be immensely helpful for users working with financial statements, etc.

For comparison, https://www.wallstreetmojo.com/written-down-value-method/
this is a link to a blogpost explaining how to calulate this WDV in excel. Note that it is to be calculated on a per year basis and you cannot just jump to year 7 in the example of the blog. you must calculate the values one after the other.

This formulae is different from existing depreciation functions because they all assume the user knows about the useful life of the asset. Here, all you need is rate of depreciation. Also, when i mentioned "cost" in the formula, it is assumed to be "cost-residual value" as is the norm so it need not be mentioned again in the formula.

This is mostly used for finance/ taxation purposes where a standard depreciation rate is given by the revenue departments to keep people from charging all the value of asset to profits, in hopes of reducing the tax liability.
Comment 1 Xisco Faulí 2020-07-13 14:32:48 UTC
@Eike, I thought you might be interested on this proposal
Comment 2 Eike Rathke 2020-07-14 09:16:37 UTC
If this isn't core functionality of one of the major spreadsheet implementations I'd rather say this is something for an Add-In extension that someone with a financial background could implement.
Comment 3 johnks 2020-07-14 12:58:19 UTC
(In reply to Eike Rathke from comment #2)
> If this isn't core functionality of one of the major spreadsheet
> implementations I'd rather say this is something for an Add-In extension
> that someone with a financial background could implement.

hey. this functionality is already built into excel and calc both. check 
https://help.libreoffice.org/6.2/en-US/text/scalc/01/04060103.html?DbPAR=CALC

and for excel 
https://www.excel-easy.com/examples/depreciation.html

these formula exist but the issue i have is they dont use the "%" method of calculating depreciation while in taxes and usually even, we are supposed to calculate depreciation based on opening values and the useful life is ignored.

https://ifrscommunity.com/knowledge-base/depreciation-and-amortisation/#link-diminishing-balance-method

this link for ifrs diminishing balance method 

https://www.sapling.com/5109836/calculate-accumulated-depreciation

for calculating depreciation as per indian laws.

this really isnt something new, just an improvement
Comment 4 Xisco Faulí 2021-11-23 10:46:20 UTC
This is an enhancement, Moving to NEW