DDB Function [VBA]

Returns the depreciation of an asset for a specified period using the arithmetic-declining method.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Syntax:


DDB(Cost As Double, Salvage As Double, Life as Double, Period as Double, [Factor as Variant])

Return value:

Double

Parameters:

cost ཁུལ་དུ་ནང་འཇུག་བྱེད་པ་ནི་དཔལ་འབྱོར་ཐོན་རྫས་ཀྱི་ཉོ་བཅུག་རིན་ཡིན།

salvage ཚང་གནས་ནང་འཇུག་བྱེད་པའི་དཔལ་འབྱོར་ཐོན་རྫས་ནི་བེད་སྤྱད་དུས་བཀག་མཚམས་འཇོག་སྐབས་ཀྱི་རིན་ཐང་ལྷག་མ་དེ་ཡིན།

Life is the number of periods (for example, years or months) defining how long the asset is to be used.

period རྟེན་གྲངས་གཡར་ཏེ་རྩིས་རྒྱག་དང་ཪྙིང་འགྱུར་ཚབ་ལེན་གྱི་འཁོར་ཡུན་གྲངས་བཀོད་སྒྲིག་བྱེད།

factor (འདེམས་རུང་བ་)ནི་ཪྙིང་འགྱུར་ཚབ་ལེན་རྩིས་རྒྱག་གི་ལྷག་མ་རིམ་ཆག་རྐྱེན་གྲངས་གཅིག་སྤྱོད། གལ་སྲིད་རྟེན་གྲངས་འདི་བསྡུས་ན་བྱ་རིམ་ནི་ཁས་ལེན་བཀོད་སྒྲིག་སྤྱོད་ཆོག་ དེ་ནི་ factor = 2

གལ་སྲིད་ཐོབ་པ་ནི་ཐིག་གི་རང་བཞིན་ཪྙིང་འགྱུར་ཚབ་ལེན་ཐབས་ལས་མཐོ་ནི་ཐོག་མའི་ཪྙིང་འགྱུར་ཚབ་ལེན་འབོར་དང་སྡུར་བ་འདོད་ན་མ་རྩ་ཪྙིང་འགྱུར་ཚབ་ལེན་བྱེད་ཚུལ་འདི་བེད་སྤྱོད། ཪྙིང་འགྱུར་ཚབ་ལེན་འདི་སྤྱོད་སྐབས་ཪྙིང་འགྱུར་ཚབ་ལེན་དངུལ་འབོར་ནི་ཪྙིང་འགྱུར་ཚབ་ལེན་འཁོར་ཡུན་བཞིན་རིམ་བཞིན་རིམ་ཆག་བྱེད་ བྱེད་ཚུལ་འདི་འདྲ་ནི་རྟག་ཏུ་ཐོག་མའི་དུས་ཀྱི་རིན་ཐང་གྱོན་གུན་ཧ་ཅང་མགྱོགས་པའི་མ་རྩ་བེད་སྤྱོད་ལ་སྤྱོད་(དཔེར་ན་རླངས་འཁོར་ རྩིས་རྒྱག་) དོ་སྣང་བྱ་དགོས་པ་ནི་ ཪྙིང་འགྱུར་ཚབ་བྱེད་བྱེད་ཚུལ་འདི་འདྲ་སྤྱད་དེ་རྩིས་རྒྱག་པའི་རྩིས་ཐོའི་ངོས་ཀྱི་རིན་ཐང་ནི་ནམ་ཡང་ཀླད་ཀོར་ཡིན་མི་སྲིད།

Error codes:

5 ནུས་མེད་ཀྱི་བརྒྱུད་རིམ་འཁོར་སྤྱོད་

Example:


Sub ExampleDDB
 Dim ddb_yr1 As Double
 ddb_yr1 = DDB(75000,1,60,12,2)
 Print ddb_yr1 ' returns 1,721.81 currency units.
End Sub

Please support us!