+ Reply to Thread
Results 1 to 14 of 14

Need help building DDB from scratch

  1. #1
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Need help building DDB from scratch

    I have to build a double declining depreciation from scratch without using the built in functions. It has to be for 5 years. Cost in B4 is 60,000. EUL in B5 is 5 years, and salvage in B6 is 20,000. Cell reference must be used at all times. I can get year 1 and 2 but I can not get 3-5 to come out. I am not even sure I am writing the formula right. I am new at building from scratch so putting it all together is complicated especially when I really have nothing to go off of for a tutorial.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help building DDB from scratch

    Hi, welcome to the forum

    It might help if we could see what you have so far?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Re: Need help building DDB from scratch

    =($B$4/$B$5/$B$4*2)*$B$4
    =($B$4/$B$5/$B$4*2)*($B$4-$C$21)
    =($B$4/$B$5/$B$4*2)*($B$4-$C$22-$C$21)
    =($B$4/$B$5/$B$4*2)*($B$4-C21-C22-C23)
    =($B$4/$B$5/$B$4*2)*($B$4-C21-C22-C23-C24)

    Double Declining Balance
    yr 1 $20,000
    yr 2 $12,000
    yr 3 $7,200
    yr 4 $4,320 (should be $800)
    yr 5 $2,592 (should be 0)

    Like I said, I am not even sure these first 3 are the correct formulas. Right answers but may not be the proper way to do ddb.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help building DDB from scratch

    Well this...
    =($B$4/$B$5/$B$4*2)*($B$4-$C$21)
    =($B$4/$B$5/$B$4*2)*($B$4-$C$22-$C$21)
    =($B$4/$B$5/$B$4*2)*($B$4-C21-C22-C23)
    =($B$4/$B$5/$B$4*2)*($B$4-C21-C22-C23-C24)

    can be simplified to this (I think, you will need to test)...
    =($B$4/$B$5/$B$4*2)*($B$4-sum($C$21:C21))

  5. #5
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Re: Need help building DDB from scratch

    It doesn't work. It is still calculating yr 4 and year 5 the same. Some how have to make it say depreciate but do not go below the salvage in the 5 years. I apologize. The Cost is $50,000 and the Salvage is $10,000. It is still 5 years. Year 4 should calculate to $800 and year 5 $0. Because year 3 is 7200.00 the amount left of the $10,000 is $800. I can't figure how to write this formula. It is driving me crazy. I am sure it is something simple.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help building DDB from scratch

    I didnt say that would solve your problem, I just said it woumd simplify what you already had

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,389

    Re: Need help building DDB from scratch

    In addition to FDibbins simplification, B4/B4=1, so the part inside of the first parentheses can simplify to 2/B5. Simplifies the formula, but, if it is indeed wrong, it will still be wrong.

    The help file for the DDB() function mentions a MIN() function: https://support.office.com/en-us/art...rs=en-US&ad=US Other Double declining Balance tutorials (not Excel specific) mention that the DDB is a correction to the linear depreciation. Perhaps you need to calculate both the DDB and the linear depreciation so you will know when to switch over to the linear depreciation towards the end. http://www.calculatorsoup.com/calcul...ing-double.php
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  8. #8
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Re: Need help building DDB from scratch

    Oh sorry. The other thing to is that I can not use built in functions. So it all has to be from scratch.

  9. #9
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,389

    Re: Need help building DDB from scratch

    That may be true, but is the basic mathematical idea correct? Is that how you would calculate DDB with pencil and paper, or am I misunderstanding how it is calculated?

    If, when you say that cannot use any of Excel's built in functions (including SUM, IF, POWER, PRODUCT, etc.), then I think it will be essential for you to understand (and communicate to us, since you cannot assume that we know financial calculations such as this) the mathematical formulas that go into calculating DDB.

  10. #10
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Re: Need help building DDB from scratch

    Maybe I am in the wrong forum then. I thought I was asking for help in excel. The built in is =DDB(cost, salvage, life, period, [rate])

    So it has to be written along the lines of the built in formula.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help building DDB from scratch

    Why cant you use the built-in formula?

    MrShorty, good catch with the calc, I missed that

  12. #12
    Registered User
    Join Date
    05-02-2015
    Location
    New York, USA
    MS-Off Ver
    2010
    Posts
    6

    Re: Need help building DDB from scratch

    its the assignment. very frustrating. no tutorial just a "here you go, figure it out."

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Need help building DDB from scratch

    OK, so that is excel's built-in function, but what is the actual formula?

  14. #14
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Need help building DDB from scratch

    Help for the DDB function explains exactly how it's calculated.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best way to learn VBA from scratch
    By SubwAy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2015, 02:27 PM
  2. Learning Excel from scratch
    By hani85 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-20-2013, 07:10 AM
  3. Replies: 2
    Last Post: 10-08-2012, 12:49 PM
  4. Macros-self learning from scratch
    By gopalakrishnarao1 in forum Excel General
    Replies: 2
    Last Post: 09-28-2009, 03:31 AM
  5. Creating a bar chart from scratch
    By Brad32 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2007, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1