Corality Financial Group hosts seminar at the Frankfurt School of Finance & Management
This tutorial shows how in when modeling a project finance project the maximum debt limit can be solved based on a target Debt Service Cover Ratio (DSCR). This exercise indicates the maximum debt size that can be supported by a certain Cashflow Available for Debt Service (CFADS) profile.
To set up the financial model, principal repayments need to be set to a target DSCR like in Screenshot 1 which is also found in the attached model. This layout for calculating principal is also discussed in detail in a previous tutorial - “Debt Sculpting to Achieve Target DSCR without VBA”.
This earlier tutorial we sculpted the principal repayments in every period to achieve a uniform DSCR of 1.50x, where as in this tutorial we will use the CFADS to solve for a maximum debt limit.
Screenshot 1: Setting up Principal Repayment
In this tutorial we cover the following
In project finance it is common practice to solve for an indicative maximum debt limit that can be supported by a project.
There are several methods that can achieve that in a financial model. We can adjust the debt limit manually so that the closing debt balance at maturity is zero. Or we can use the Goal Seek function in Excel to perform the manual process quickly and efficiently.
Goal Seek is an in-built function in Excel and is used when you know the desired result of a single formula but not the input value the formula needs to achieve the result.
The Goal Seek function is simple to use because it only requires three inputs
However, the limitations are
In our attached file we have a project with irregular cashflows, which will be used to solve for the maximum debt limit to achieve the target DSCR of 1.50x in every repayment period.
Screenshot 2: Manually inserting Debt Limit in Inputs Sheet
Let’s say we start with a limit of $500m, the CFADS is not enough to repay the loan, thus there is still a Balance C/f @ Maturity (cell 18) of $178m. We will need to manually key in a lower limit until cell F18 is zero.
Alternatively we use the goal seek function to replicate the manual process of testing different debt limits (cell F20) that will reduce the debt balance to zero.
In Excel 2003: Tools --> Goal Seek
In Excel 2007: Data --> What - If Analysis --> Goal Seek
Screenshot 3: Goal Seek Window
Screenshot 4: Solution after running goal seek
To solve for a maximum debt limit in F20, we need to adjust downward from a starting number that we know will definitely be higher than the solution. Any amount smaller than $366.63m will result in a zero debt balance at maturity, thus causing goal seek not to run. As a result we assumed a starting guess (cell F23) of $435m.
We can automate the process by setting up a macro that runs the Goal Seek function with a click of the button in the model.
The record macro function allows users to perform commands and store the commands in Visual Basic for Application (VBA). Press ‘Stop’ when all commands are complete.
The steps to record a macro are
To ensure that the macro works when a new row/column has been inserted, all ranges in VBA should be name ranged.
The following name ranges should be created
Replace all cell references in the code with the new name ranges.
Screenshot 5: Macro code of performing the goal seek function
For the macro to be used with ease, a button is created to run the macro.
First, create an object in Excel
To label and assign a macro to the button
Clicking on the button now will run the goal seek macro that we have recorded in Step 2.
In a project finance project it is useful to know the maximum debt limit that can be supported by a DSCR to estimate the potential size of the debt funding that can be reasonably supported by the cashflows of a project. In this tutorial we have shown you by using VBA how to calculate the size of the maximum debt limit based on a target DSCR that is static. There is another useful article on on Fimodo about a similar topic.
See All Resources Get the latest Project Finance Tutorials and Blog Posts...
You will go into the draw to WIN a FREE training course.
Instantly unsubscribe at any time. We value your privacy.
We provide leading project finance professionals with in-house and public training in Asia, Australia, US, Canada, the Middle East and South Africa.

The new model is easy to navigate, analyse and present, Lynas has received positive feedback on the financial model from potential debt and equity participants. The professional presentation and functionality of the model has made our financing process smoother.Lynas Corporation