Professional Documents
Culture Documents
Credit-Related Risks
Credit risk: Risk of losses if borrower fails to pay interest or principal
Credit-Related Risks
Spread risk: Risk of spread widening, primarily from
Market liquidity risk: Receive less than market value when selling
bond, increases required yield spread
Credit Analysis Model
Credit Ratings
Rating agencies: Moody’s, S&P, Fitch
Credit Ratings
Investment Grade Non-Investment Grade
Moody’s S&P, Fitch Moody’s S&P, Fitch Moody’s S&P, Fitch
Aaa AAA Ba1 BB+ Caa1 CCC+
Aa1 AA+ Ba2 BB Caa2 CCC
Aa2 AA Ba3 BB– Caa3 CCC–
Aa3 AA– B1 B+ Ca CC
A1 A+ B2 B C C
A2 A B3 B– C D
A3 A–
Baa1 BBB+
Baa2 BBB In default
Baa3 BBB–
Credit Analysis Model
Leverage Ratios
Leverage. Coverage ratios of operating earnings, EBITDA, or some
measure of free cash flow to interest expense or total debt make up
the most important part of the credit rating formula
Leverage Ratios
Off-balance-sheet finance
Leverage Ratios
Qualifying SPE (OSPE)—A Special Purpose Entity that is very limited in its activities
and in the types of assets it can hold. It is a passive entity and may not engage in
active decision making. QSPE status allows the seller to remove assets transferred to
the QSPE from its books, achieving sale accounting. QSPEs are not consolidated by
the seller or the investors in the QSPE.
Usually QSPEs primarily hold residential mortgage loans and they are Limited
Liability Companies.
SPEs are typically used by companies to isolate the firm from financial risk.
They are also commonly used to hide debt (inflating profits), hide ownership,
and obscure relationships between different entities which are in fact related to
each other.
Credit Analysis Model
Coverage Ratios
Measure earnings relative to interest obligations
EBITDA-to-interest expense
Now what does the banker think if the investor required the loan for any of
these purposes?
Credit Analysis Model
All for Cash Purposes The investor should get a Revolving Loan
An overdraft is a type of a revolving loan
Credit Analysis Model
Apply your Credit Analysis Concepts in a Fully Revolving Model
As a banker, you order audited financial statements from your client (the one
asking for a loan). The financial statements should be of the past two years
(Most recent year, and the year before) i.e., if you are in the beginning of year
2016, you will require the financial statements of December 2015 and
December 2014.
The answer should be, “Assessing if your client will be able to pay his/her loan
including its incurred interest”.
Actually, you will forecast for your client a new Balance Sheet updated for the
loan.
The balance sheet should be extremely dynamic (in a way if the investor would
like to take a loan to Finance a Sale and then he changes his/her mind and
would like to purchase PPE with this loan It should automatically balance
the accounting equation, update the financial ratios, and calculate the new
cash conversion cycle for the company)
The fully revolving model will dynamically be able to test the impact of this
“Loan” on the financials of the client’s company (i.e., Leverage ratios,
Profitability, Liquidity, Cash Conversion Cycle, Coverage ratios…etc)
Finally, the model should automatically write a brief report to be read by the
management . This report should be dynamically generated and linked to the
inputs of the investor (i.e., Loan amount, Company’s previous Net
Income…etc) in which the management will analyze to decide upon granting
the loan to the investor!
Credit Analysis Model
Balance Sheet
Balance Sheet of Year 0 (Provided by your Client)
in 000's of $
2013/12/31
ASSETS
Cash and equivalents $34.60
Accounts Receivable $74.80
Inventories $132.60
Total Current Assets $242.00 All figures in this balance sheet are given. What
PP&E $212.70 you should do is to link the cells with each other
Intangibles
Deferred Taxes
$34.20
$12.60
(i.e., the “Total Assets” = Sum (Cash, A/R, Inv,
Other Long Term Assets $123.90 PPE, Intangibles, DT, OLTA)
Total Assets $625.40
LIABILITIES
Accounts payable $120.50 The same applies for Total Current Assets,
Notes payable
Current portion of LTD
$23.50
$49.60
Current Liabilities, Total Liabilities, and Total
Current Liabilities $193.60 Liabilities & Stockholders Equity
Long-term debt $214.00
Deferred taxes $43.50
Total Liabilities $451.10 Retained Earnings =TA-TL-PS-CS-APIC- (-TS)
Shareholder's equity
Preferred Stock $12.40
Common Stock par value $5.60
Additional paid-in-capital $146.40
Treasury Stock -$112.30
Retained Earnings $122.20
Total liabilities and SE $625.40
Credit Analysis Model
Now, remember what are the accounts that concern you the most?
They are:
Only, for those accounts take the number manually from the provided
balance sheet (Hard coding) and input them aside on your activated
spreadsheet (the one you are using for modeling the credit analysis model)
Credit Analysis Model
Here is our “Model” Sheet. The issue here is that the banker would like his model
to be user friendly with some easily created List Drop Down Boxes.
1. To create this List do the following: Go to cells “T6”, “T7”, “T8”, “T9”, & “T10” and write the following
respectively: “All Cash”, “Finance A/P”, “Purchase Inventory”, “Finance a Sale”, and “Purchase PPE”
2. Go to “Data Tab” , In
the “Data Tools”,
you will find “Data
Validation”.
Note:
Don’t forget before
pressing on “Data
Validation” to select
cell “C5”. This cell is
the cell where the
drop down box will
appear in.
Credit Analysis Model
For example, cell “C6” is the cell that corresponds for the “Operating Debt Required”
or “Over Draft Required “ or the “Loan Amount”. In my credit analysis model, I will
frequently use this cell for my formulas. Instead of going to cell “C6” each time to
select it from the sheet named “Model”, I can easily call this cell after I NAME it
anywhere in the worksheets.
Now, Press “CTRL + F3”, you will be
directed to the “Name Manager”.
In the model given to you, you can see that the cells are already named as
“Model” for cell ($C$5), “Odreq” for cell “$C$6”, and “PerinCPLTD” for cell $C$7”.
Credit Analysis Model
1- Create the Indirect Cash Flow Statement. All cells should be linked to the
B/S and I/S It should not embed any manual input!
A/R in year 2014 is: =If the named cell “Model” stated or the banker selected
from the Drop Down List Box to “Finance a Sale”, then [A/R initial Amount in
2014 + Odreq/(COGS Margin)], or If model didn’t state to “Finance a Sale”,
then do nothing and just leave the A/R account as is (i.e., equals the “A/R
initial Amount in 2014”).
Of course you cannot write in Excel the above. However, the above is the
explanation of what we will mention now.
Now do you realize why we wrote manually the initial amount of the important
accounts that concerns us.
$H$27 Initial Amount of A/R (The one we wrote mannually in previous slides)
Odreq is the Over Draft required that we named it before as cell ($C$6) in the
“Model” Sheet (Here it’s usually equal to the cost of inventory sold).
$H$37/$H$36 is the COGS/Sales (i.e., COGS Margin). It’s used to calculate sales
assuming that the overdraft is equal to the COGS.
New Balance of Account Receivables Credit Analysis Model
Consequently, Net income will increase by the after-tax effect of the sale profit
[(i.e., Selling Price – Cost of the Good) x ( 1 – Marginal Tax Rate)]
New Balance of Account Receivables Credit Analysis Model
Actually, your accounts receivable will increase by the sale amount (typically
the change in the sales account in the income statement).
Current portion of long term debt will increase by: perinCPLTD x Odreq
Long term portion will increase by: ( 1 – perinCPLTD) x Odreq
Retained Earnings will increase by the after-tax effect of the sale profit.
Consider this example by applying the following on your credit analysis model:
If “Finance a Sale” is equal to 100 and the perinCPLTD is 100%, then the effect
on the balance sheet is the following:
Assets: Liabilities:
•A/R will increase by $199 •CPLTD will increase by $100
•Inventory will decrease by $(100) •R.E. will increase by $64.35
•Cash will increase by $65.35
Of course you cannot write in Excel the above. However, the above is the
explanation of what we will mention now.
$H$28 Initial Amount of Inventory (The one we wrote mannually in previous slides)
Odreq is the Over Draft required that we named it before as cell ($C$6) in the “Model”
Sheet
PerinCPLTD is the percent of overdraft that will be allocated as a current portion of
Long Term Debt (We named it before as cell ($C$7)
Credit Analysis Model
PP&E in year 2014 is: =If the named cell “Model” stated or the banker
selected from the Drop Down List Box to “Purchase PP&E”, then [PPE initial
Amount in 2014 + (ODreq × (1-PerinCPLTD))], or If model didn’t state to
“Purchase PP&E”, then do nothing and just leave the PP& E account as is (i.e.,
equals the “PP&E initial Amount in 2014”).
Of course you cannot write in Excel the above. However, the above is the
explanation of what we will mention now.
=IF(Model="Purchase PPE",$H$31+ODreq*(1-perinCPLTD),$H$31)
$H$31 Initial Amount of PPE (The one we wrote mannually in previous slides)
Odreq is the Over Draft required that we named it before as cell ($C$6) in the “Model”
Sheet
PerinCPLTD is the percent of overdraft that will be allocated as a current portion of
Long Term Debt (We named it before as cell ($C$7)
Now you are thinking, why is it (1-perinCPLTD) and not only as we did before : × perinCPLTD?
New Balance of Property, Plant, & Equipment Credit Analysis Model
The answer is a logical concept. Property, Plant & Equipment are non-current assets and
consequently, they should be funded with a long-term debt (Matching the Duration of the Loan
with the Depreciable life of the PPE).
It is usually the case, that when the banker is being approached by a client to accept a loan that
satisfies the purpose of purchasing PP&E, the banker will allocate 20% of this loan to the “Current
Portion of Long Term Debt-CPLTD” and the remaining portion will be allocated to the Long-Term
Debt under Liabilities.
Now, you are adding another question! If the Assets part will increase by
Then, how will the accounting equation (Assets = Liabilities + Equity) be balanced?
New Balance of Property, Plant, & Equipment Credit Analysis Model
Actually, here comes the work of the Cash Flow Statement. The Cash flow
statement will have CFF (Cash Flow from Financing) that is higher than CFI
(Cash flow from investing). Consequently, the cash balance in the cash flow
statement will increase by that difference and it will show in the cash
balance of the balance sheet.
For illustration, let’s try to input ($1,000,000) as Over draft required by the
client to purchase PP&E. In the model, you should input (1,000) since the
numbers are in 000, $. Moreover, input 20% in the cell that is related for
CPLTD-Current Portion of Long Term Debt.
Assets: Liabilities:
•PPE will increase by $800 •CPLTD will increase by $200
≠ •LTD will increase by $800
Total Increase in Liab. $1,000
Accounting Equation is NOT Balanced
New Balance of Property, Plant, & Equipment Credit Analysis Model
•The Cash flow from Financing (CPLTD + LTD) had increased by +$1,000
•The Cash flow from Investing (CapEx) had showed a Cash out flow of $-800
(The amount allocated to purchase PPE)
The net effect will be : The “Change in Cash Balance is $+200 (+1,000 – 800)
This positive increase in cash balance will show in the cash balance of the
balance sheet. Now here how it looks like:
Assets: Liabilities:
•PPE will increase by $800 •CPLTD will increase by $200
•Cash will increase by $200 •LTD will increase by $800
Total Increase in Assets $1,000 = Total Increase in Liab. $1,000
Accounting Equation is Balanced
Credit Analysis Model
Goodwill and Intangibles Those numbers are taken from the investor but
we can use this number to calculate “New Purchases” of intangibles using this
method:
Intangibles (BOP)
Less: Amortization
Add: New Purchases
Intangibles (EOP) The new Balance Sheet account of GW & Intangibles
Deferred Tax Assets (DTAs) This number is taken as is from your client
Important:
Other Long Term Assets This number is taken as is from your client
Liabilities Credit Analysis Model
When working with Liabilities and if the client would like to get a loan to payoff some
of his/her accounts payables, then the logic here is that the new amount the client
took to payoff the A/P should be eliminated from the initial amount of the accounts
payables.
New Accounts Payables: A/P in year 2014 is: =If the named cell “Model” stated or
the banker selected from the Drop Down List Box to “Finance A/P” then [A/P initial
Amount in 2014 – (ODreq × PerinCPLTD)]
or If model didn’t state to “Finance A/P”, then do nothing and just leave the A/P
account as is (i.e., equals the “A/P initial Amount in 2014”).
=IF(Model="Finance A/P",$H$29-(ODreq*perinCPLTD),$H$29)
$H$29 Initial Amount of Accounts Payables (The one we wrote mannually in previous slides)
Odreq is the Over Draft required that we named it before as cell ($C$6) in the “Model” Sheet
PerinCPLTD is the percent of overdraft that will be allocated as a current portion of Long
Term Debt (We named it before as cell ($C$7)
Liabilities Credit Analysis Model
New Current Portion of LTD: It is the already available CPLTD + the added CPLTD
that resulted from taking a loan or an overdraft.
=$H$30+(perinCPLTD*ODreq)
$H$30 Is the already available CPLTD before taking the new loan.
Odreq is the Over Draft required that we named it before as cell ($C$6) in the “Model” Sheet
PerinCPLTD is the percent of overdraft that will be allocated as a current portion of Long
Term Debt (We named it before as cell ($C$7)
Liabilities Credit Analysis Model
New Long Term Debt: It is the already available LTD + the added LTD that
resulted from taking a loan or an overdraft.
=$H$32+ODreq*(1-perinCPLTD)
$H$32 Is the already available LTD before taking the new loan.
Odreq is the Over Draft required that we named it before as cell ($C$6) in the “Model” Sheet
PerinCPLTD is the percent of overdraft that will be allocated as a current portion of Long
Term Debt (We named it before as cell ($C$7)
New Deferred Tax Liabilities This number is taken as is from your client.
Credit Analysis Model
Model: “ALL CASH”
If Model chosen to be “All Cash” Then the amount of loan taken for cash purposes
should show exactly as an additional amount above the old cash balance. Why? And how
will the model adjust for this?
Assume you want a $1,000,000 an overdraft for cash purposes. Try it and see what will
happen.
• If PerinCPLTD is left 0% Then the loan amount will show in cash balance (TA will
increase by $1,000) and the LTD will increase by $1,000 too (TL will increase by
$1,000) The accounting equation is balanced.
• If PerinCPLTD is 60% Then the loan amount will show in cash balance (TA will
increase by $1,000), the CPLTD will increase by $600 (1,000* 0.60), and the LTD will
increase by $400 (TL will increase by $1,000) The accounting equation is balanced.
Actually, the CFF increased in general by +$1,000 in the cash flow statement and
automatically this increase in CFF is reflected in an increase in the ending cash
balance in the balance sheet Accounting Equation will be always Balanced
Stockholder’s Equity Credit Analysis Model
New Additional Paid in Capital This number is taken as is from your client.
New Treasury Stock (Negative Account) This number is taken as is from your client.
• One of the important analysis that you should do as a credit analyst is to show
how the “Extra Interest from Overdraft” is affecting the financial statements of
your client.
• All other ratios should be dynamically linked to the output of the credit analysis
model.
• The ratios should reflect a trend analysis (for years 2013 and 2014)
Credit Analysis Model
The 1st row states: “The % increase in TA is higher than Total Liabilities”If this is
true, then the 1st column will return a “1”, however, if this is false, then the 1 st
column will return a 0.
As you can see in the Balance sheet each account has a %Change form year to
year in Column “D”.
How does the 1st row in the table above return 1s or 0s?
Automatic & Dynamic Report Writing Credit Analysis Model
1- The % change in Total assets (i.e., (TA in 2014-TA in 2013)/ TA in 2013) increased
2- The % change in Total liabilities (i.e., (TL in 2014-TL in 2013)/ TL in 2013) increased
3- The % increase in Total Assets is GREATER than the % increase in TL
If all the conditions are true (Using the “IF” and “AND” function), then this will return a
“1”, which means that all conditions are true and satisfied. If any condition of the
above is not satisfied, then this will return a “0”, which means that one or two or all
the conditions are false.
=IF(AND(D17>0,D27>0,D17>D27),1,0)
=IF(AND(D17>0,D27<0),1,0)
There is a decrease in Total liabilities given that Total Assets has sustained its
value
=IF(AND(D17=0,D27<0),1,0)
The percentage decrease in Total Liabilities by that year was higher than the
opposing percentage decrease in Total Assets
=IF(AND(D17<0,D27<0,ABS(D27)>ABS(D17)),1,0)
“ABS” Function Returns the absolute value of number (i.e., A number without a sign)
Automatic & Dynamic Report Writing Credit Analysis Model
Example:
Compared to year 2013, Debt Ratio has decreased from 72% to 66%
This is due to a percentage increase in total assets higher than that of total liabilities
Compared to year 2013, Debt Ratio has decreased from 72% to 66%. This is due to a
percentage increase in total assets higher than that of total liabilities
Public Functions in VBA Credit Analysis Model
This part is another interesting part of the CAFM® certificate. It will equip the
candidates with the tools to create functions that do not exist in Excel according to
their preferences. For example, you can create a function, name it STDEVP, that
can calculate the Standard Deviation of the portfolio. This function doesn’t exist in
Excel.
Excel only provides you with a function that calculates the standard deviation of a
security and not the standard deviation of the portfolio.
When we mention a “Public Function”, this function, when created in VBA, can be
called in Excel and it will automatically appear in the functions wizard (similar to
PMT, IF, AND, OR functions…etc).
When we mention a “Private Function”, this function, when created in VBA, cannot
be called in Excel and it will NOT automatically appear in the functions wizard
(similar to PMT, IF, AND, OR functions…etc). This function, when created, can be
used in Subs generated (“Subs” or “procedures” or “programs” are technical terms
that are used interchangeably).
Introducing VBA and VBE Credit Analysis Model
VBA is a programming language that is built into Excel and other Microsoft
Office applications.
It is important for you to remember that VBA is a language, and you should
try to learn it the same way you learned your mother tongue language-by
imitating how others use it to say different things instead of memorizing the
rules of grammar, studying vocabulary lists, and so on.
You will learn more about this language and you will definitely be a
professional advanced programmer after the completion of the last week of
this course.
Introducing VBA and VBE Credit Analysis Model
Most individuals use these different names interchangeably, and this is what
we will do throughout this day.
In VBA, you will write only two kinds of programs: Sub procedures and
Function procedures.
The names program, code, and macro are not generally used in this context,
that is, Sub procedures are not called Sub codes, Sub macros, and so on.
Introducing VBA and VBE Credit Analysis Model
At the moment, we only need to make sure that the code window and the
project explorer are open.
The Code window is the large window that takes up most of the right-hand
side of the VBE window.
Introducing VBA and VBE Credit Analysis Model
The Project Explorer window is a narrow long window along the left side
of your screen. The box title is “Project” in its title bar.
Creating a New NPV function that calculates the Net Present Value of an
investment by including the initial investment between the cash flows.
Creating a function that calculates the price of a security using Gordon Growth
Model (One stage Model that assumes a constant perpetual growth rate)
D1 = D0 * (1 + Gm)
GGM = D1 / (k - Gm)
End Function
Creating a function that calculates the price of a security using the Dividend
Discount Model (Two stage Model that assumes a certain growth rate in the first
stage of the model and another constant perpetual growth rate that will sustain till
perpetuity)
Public Function Twostage(n, g1, Gm, D0, k)
For t = 1 To n The
S1DV = ((D0 * ((1 + g1) ^ t)) / ((1 + k) ^ t)) + S1DV For ___ to ___
Next Next
Creating a function that calculates the price of a security using the Dividend
Discount Model (Three stage Model that assumes a certain growth rate in the first
stage of the model, different supernormal growth rate in the 2nd stage, and another
constant perpetual growth rate that will sustain till perpetuity)
Public Function Threestage(n1, g1, n2, g2, Gm, D0, k) You can call this function now
in Excel using : =Threestage
For t = 1 To n1
The inputs of this function are:
S1DV = ((D0 * ((1 + g1) ^ t)) / ((1 + k) ^ t)) + S1DV
The number of years in the 1st
stage, the Growth rate in the 1st
Next stage, the number of years in the
2nd stage, the Growth rate in the
For p = 1 To n2 2nd stage, the constant growth rate
assumed thereafter, Last
S2DV = ((D0 * ((1 + g1) ^ n1) * ((1 + g2) ^ p))) / ((1 + k) ^ (n1 + p)) + S2DV Dividend Paid, and Cost of Equity.
The
Next
TV = ((D0 * (1 + g1) ^ n1) * ((1 + g2) ^ n2) * (1 + Gm)) / (k - Gm) For ___ to ___
End Function
Creating a function that corrects the weakness of the embedded Vlookup function
that Microsoft created in Excel.
For n = 1 To count
The
If A(n) = lookup Then
Newlookup = B(n) For ___ to ___
n = count + 1
End If Next
End Function
EffA = "EFF"
'"EFF" stands for "Efficient“
The
For n = 1 To count
For ___ to ___
If Kasset < k(n) Then
End If
End If
Next
End Function
This code looks simple but it’s a tough code due to the nested IF used and
combined with a looping structure.
Whenever the function is called at anytime without any inputs, EFFA will return an
“EFF”. The memory of this function, whenever it commences, it will store initially
“EFF”. If this memory is overridden by “Not EFF” by the last test, then the public
function will return “Not EFF”.
For example Take Asset “C” Kasset = 12% and its Standard Deviation is 15%.
When you call the function to inspect if Asset C is Efficient or Not, you should
write in Excel:
=effa($B$6:$B$11,$C$6:$C$11,COUNT($B$6:$B$11),B8,C8)
$B$6:$B$11 The range of Returns that should be always fixed by ($) so as when we drag the function
downwards, this range will remain fixed.
$B$6:$B$11 The range of Standard Deviations that should be always fixed by ($) so as when we drag
the function downwards, this range will remain fixed.
COUNT($B$6:$B$11) Counts the number of Assets in the range.
B8 The Return of Asset C.
C8The Standard Deviation of Asset C.
Creating Public Functions Credit Analysis Model
NOTE: At that point, don’t get lost at all or else you will never get the point
behind using VBA in public functions!
• At n=1
K(1) = 13%Return of Asset A. Is the Return of Asset C lower than the Return of
Asset A?
The answer is: True! Why?
Because Asset C has a return of 12% which is lower than the return of asset C!
Since the answer is “True”, it will move to the second IF Statement that tests the
following:
Since the second test is True, it will move to a state that till now asset C is “Not EFF”
Now NEXT will change the value of “n” from “1” to become “2”
Creating Public Functions Credit Analysis Model
• At n=2
Since the answer is “True”, it will move to the second IF Statement that tests
the following:
Since the second test is False, no changes will overwrite the memory of
Asset A, and EFFA Function is still “Not EFF”.
Creating Public Functions Credit Analysis Model
• At n=3
Since the 1st answer is “False”, it will not test for the second IF. It will directly
jump to the END IF and it will loop. In our case, the previous value of EFFA
was “NOT EFF”, so nothing will change and till now EFFA is still “Not EFF”!
Creating Public Functions Credit Analysis Model
• At n=4
Since the answer is “True”, it will move to the second IF Statement that tests
the following:
Since the second test is False, no changes will overwrite the memory of
Asset A, and EFFA Function is still “Not EFF”.
Creating Public Functions Credit Analysis Model
• At n=5
Since the 1st answer is “False”, it will not test for the second IF. It will directly
jump to the END IF and it will loop. In our case, the previous value of EFFA
was “NOT EFF”, so nothing will change and till now EFFA is still “Not EFF”!
Creating Public Functions Credit Analysis Model
• At n=6
K(6) = 8%Return of Asset F. Is the Return of Asset C lower that the Return
of Asset F?
The answer is: False! Why?
Because Asset C has a return of 12% which is NOT Less than the return of
asset F!
Since the 1st answer is “False”, it will not test for the second IF. It will directly
jump to the END IF and it will loop. In our case, the previous value of EFFA
was “NOT EFF”, so nothing will change and till now EFFA is still “Not EFF”!
This time, the NEXT will turn the n value to 7 which is higher than the count
value which was decided initially by the count function and that is 6! In this
case, the loop will break and stop.
Now what was the last thing in the memory of the EFFA function?
The answer is : “Not EFF” So the output of the function is “Not EFF”.
Creating Public Functions Credit Analysis Model