vdb()的实际MS Excel公式

2024-09-28 22:20:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要用Python重写vdb()函数,在网上找不到实际的数学公式。下面是对函数的描述。在

VDB function

This article describes the formula syntax and usage of the VDB function in Microsoft Excel.

Description Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify. VDB stands for variable declining balance.

Syntax

VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])

The VDB function syntax has the following arguments:

Cost Required. The initial cost of the asset.

Salvage Required. The value at the end of the depreciation (sometimes called the salvage value of the asset). This value can be 0.

Life Required. The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).

Start_period Required. The starting period for which you want to calculate the depreciation. Start_period must use the same units as life.

End_period Required. The ending period for which you want to calculate the depreciation. End_period must use the same units as life.

Factor Optional. The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method). Change factor if you do not want to use the double-declining balance method. For a description of the double-declining balance method, see DDB.

No_switch Optional. A logical value specifying whether to switch to straight-line depreciation when depreciation is greater than the declining balance calculation. If no_switch is TRUE, Microsoft Excel does not switch to straight-line depreciation even when the depreciation is greater than the declining balance calculation. If no_switch is FALSE or omitted, Excel switches to straight-line depreciation when depreciation is greater than the declining balance calculation.


Tags: ofthetoyouisrequiredassetmethod
2条回答

可变余额递减法(vdb)是余额递减法和直线折旧法的组合方法,前提是{}为假或省略。否则,即使折旧大于余额递减计算,也使用标准折旧法。下面假设no_switch为FALSE或省略。在

The depreciation calculation starts with the declining method. At the period in the life of the asset where the depreciation calculated by the straight line method on the remaining depreciable amount will be greater than the amount calculated by the declining method, you switch to the straight line method for the remainder of the life of the asset.

公式如下:

Declining Balance:

  1. Straight-Line Depreciation Percent = 100% / Useful Life
  2. Depreciation Rate = Depreciation Factor x Straight-Line Depreciation Percent
  3. Depreciation for a Period = Depreciation Rate x Book Value at Beginning of the Period

Switching to Straight Line Method:

  1. Depreciation in Any Remaining Period = ((Cost - Accumulated Depreciation) / Remaining Life)

Source&online calculatorhere,在这里您可以找到有关余额递减折旧法和直线折旧法的信息链接。在

相关问题 更多 >