+ Reply to Thread
Results 1 to 2 of 2

Variable repayment, only when cash surplus is >$5000

  1. #1
    Registered User
    Join Date
    06-12-2007
    Posts
    12

    Variable repayment, only when cash surplus is >$5000

    I am taking a managerial accounting class, and our project has a few specific rules to follow. The class is not excel based, all the calcs we do are pencil and paper, this project was extra credit.

    The rule is, we have an open line of credit that we may borrow from, to maintain a minimum cash balance of at least $5000.

    Any time our cash balance is > $5000, we are to borrow as much as necessary to maintain our minimum of $5000.

    Our credit line is in $1000 increments, and interest is calculated at 18%, annual, but applied only at repayment, for the time the funds were borrowed.

    I wrote a formula to use to calculate the amount borrowed...
    =IF(B14<0,ROUNDUP(SUM((5000)+ABS(B14)),-3),0)

    B14 - our cash balance (shortage),
    ROUNDUP, so that if we are $1 short of our minimum, we borrow in increments of $1000
    5000 - our cash minimum
    ABS(B14) - cash value can be negative

    The opposite rule applies; if we have a balance on our credit line, we are to pay back as much as possible, above our minimum $5000 cash surplus, plus interest.

    I cannot figure out how to "backwards" the formula, so that we pay a portion on the outstanding principle if we have the funds, pay nothing if we do not have at least $5000 plus $1000 + interest in surplus, or pay all. The pay all part is not hard to figure out.

    This is just extra-credit, and I'm doing it for fun, but I'm sure there are real world applications.

    Any help would be appreciated.

  2. #2
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Variable repayment, only when cash surplus is >$5000

    Hi rockville9;

    Break down your formula into the smallest possible units.
    =IF(B14<0,ROUNDUP(SUM((5000)+ABS(B14)),-3),0)
    C14 : 5000
    D14 : =Abs(B14)
    E14 : =Sum((C14)+D14)
    F14 : =RoundUp(E14,-3)
    G14 : =B14<0
    H14 : =If(G14,F14,0)
    Then you can work backwards by plugging the answer into H15 and work each formula in Row 15 backwards till you arrive at C15 (or wherever).
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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