Saturday, August 13, 2016

How to use the SYD Function (WS,VBA)

Description

The Microsoft Excel SYD function returns the depreciation of an asset for a given time period based on the sum-of-years' digits depreciation method.

Syntax

The syntax for the SYD function in Microsoft Excel is:
SYD( cost, salvage, life, period )

Parameters or Arguments

cost
The original cost of the asset.
salvage
The salvage value after the asset has been fully depreciated.
life
The useful life of the asset or the number of periods that you will be depreciating the asset.
period
The period that you wish to calculate the depreciation for. Use the same units as for the life.

Applies To

  • Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)
  • VBA function (VBA)

Example (as Worksheet Function)

Let's look at some SYD examples and explore how to use the SYD function as a worksheet function in Microsoft Excel:
This first example returns the depreciation for an asset that costs $10,000, with a salvage value of $5,000. The useful life of the asset is 5 years. The depreciation is being calculated for the first year.
=SYD(10000, 5000, 5, 1)
Result: $1,666.67
This next example returns the depreciation for an asset that costs $10,000, with a salvage value of $5,000. The useful life of the asset is 5 years. The depreciation is being calculated for the second year.
=SYD(10000, 5000, 5, 2)
Result: $1,333.33
This next example returns the depreciation for an asset that costs $8,000, with a salvage value of $0. The useful life of the asset is 7 years. The depreciation is being calculated for the third year.
=SYD(8000, 0, 7, 3)
Result: $1,428.57

Example (as VBA Function)

The SYD function can also be used in VBA code in Microsoft Excel.
Let's look at some Excel SYD function examples and explore how to use the SYD function in Excel VBA code:
Dim LValue As Double

LValue = Syd(8000, 0, 7, 3)
In this example, the variable called LValue would now contain the value of 1428.571429.

No comments:

Post a Comment