Automatically Draw on a Revolver in Excel

I'm building a model and am trying to have it so the company automatically draws on their revolver if the cash balance dips negative. For example, if in Q4 their cash goes negative, I want the model to automatically draw on the revolver to get cash back to zero. However, this seems to cause a circular reference and the model just keeps iterating and won't give me an accurate projection...

Any thoughts?

Revolver Drawing with Negative Cash Balance

Many operating models will be built on the assumption that a company will draw on its revolver if it runs short on cash during a given period. If you need a review of the revolver concept, check out the WSO Dictionary.

MezzKet - Private Equity Associate:

CF From Ops
(-) Capex
(-) Mandatory Repayments (revolver isn’t mandatory, only Term Loan amortizations / maturities)
(-) Min cash balance (plug here or in your assumptions page)
(+) Cash on balance sheet
= Excess Cash Available for Debt Service

From here, if this is negative, you get your revolver to auto draw the shortfall. If it’s a surplus, you can sweep it or let it accumulate as a cash balance. This will ensure you have your minimum cash balance and the revolver draws and pays down around this balance. Try it and you'll see you cash balance will always equal that min cash balance plug.

You can also view a separate thread on this topic.

Circular Reference Error in Excel

If you are encountering circular references when building out your model - you should go to options and make sure that iterative calculations are turned on.

To get to the menu option: Alt + T + O then go to Formulas, check iterative calculations and set to 100

Looking to Become a Modeling Master?

Sign up for our financial modeling training course to learn all this and more. Check out our 15% off discount to Wall Street Prep's Financial Modeling Courses.

Financial Modeling Training Course

 

http://macabacus.com/lbo-model/interest-rates - download the full LBO model and see how the do the debt schedule

Basically, find your cash flow available for debt repayment

then find your mandatory debt repayment

Then figure out how much cash there is left - if its below the minimum cash balance, zero, or whatever you have as the revolver trigger at...

if your cash flow after mandatory repayment is negative, then you borrow that amount, or 0

 
Marcus_Halberstram:
You'll need to do a few things:

1- In your cash flow statement, have a separate line in CF from financing for Revolver drawdown (paydown)

2- In your cash flow statement, but off the screen create a line item called "Cash surplus deficit before revolver drawdown (paydown)"; this should be: =Sum(CF from ops, CF from investing and CF from financing (excluding the "Revolver drawdown (paydown)" line you added in step #1, minimum cash balance - current beginning cash balance)

3- In your debt schedule, in your Revolver section, where you increase/decrease borrowings your formula should be the following: =MIN(-MIN(Cash_Surplus_Deficit_Before_Revolver_Paydown_Drawdown,Beginning_Revolver_Balance), Revolver_Limit-Beginning_Revolver_Balance)

http://www.wallstreetoasis.com/forums/model-help-0

 

I'm going to go and do what Marcus did

MezzKet:
This convo has turned waaaayyyy too complicated...

CF From Ops (-) Capex (-) Mandatory Repayments (revolver isnt mandatory, only Term Loan amortizatons / maturities) (-) min cash balance (plug here or in your assumptions page) (+) cash on balance sheet = Excess Cash Available for Debt Service

From here, if this is negative, you get your revolver to auto draw the shortfall. If its a surplus, you can sweep it or let it accumulate as a cash balance. This will ensure you have your minimum cash balance and the revolver draws and paysdown around this balance. Try it and you'll see you cash balance will always equal that min cash balance plug.

 
Best Response

If you are doing a simple operating model without a cash sweep, then under the cash balance line on the balance sheet, input =Max(ending cash flow from CFS, 0). Then, under short term liabilities, add a revolver/ST debt line, and that function should be =-Min(ending cash flow from CFS, 0); or you can do =Max(-ending cash flow from CFS, 0).

If doing a full cash sweep model, then you should have a line for 'cash flows available for debt repayment,' which should flow into the cash sweep tab. At that point, if you have negative cash available for debt repayment, you should input =-Min(cash flow available for debt repayment, beginning revolver balance) for the 'revolver issuance / (repayment)' line in the debt calculation tab, which will then flow down to the long term debt cash sweep as well, which will then flow into your balance sheet.

Hope that helps.

 

" Cash on the balance sheet" line.

I have a similar question,

I am working on a debt schedule and following a similar route: Cash available/(required) before debt+ beginning cash on the balance sheet - mandatory debt repayment - minimum cash balance=cash before discretionary (repayment) /borrowing. Then I calculate the revolver by -MIN(CASH AVAILABLE BEFORE DEBT, BEGINNING BALANCE OF THE REVOLVER).

The questions I have (and it may sound naive to some more advanced guys on here) refers to beginning cash from the balance sheet item that actually relies on debt schedule. I use the schedule to calculate that number, and when I put it back on the debt schedule, my numbers go crazy and so does everything else.

What do I do?

 
Beretta:
If your mandatory debt payments > available cash flow, you get money from the revolver. It's basically like a credit card.
Yeah, basically model out the rest of your debt first, and then save the revolver for last. You'll end up with a row for Revolver Issuance/(Repayment), and in this cell you want to compare your cash available for paying off debt with your revolver balance carried over from the previous period. Fill this cell with something like "=-MIN(Revolver balance, cash available for paying off debt)", and you should be good. You can also use logic tests here, like IF statements, if that's what you like.
 

It's not a matter of debt payments, you don't even need debt on a company other than a revolver to have a revolver. however, as stated above, the revolver is kinda like a credit card. typically you will have size of the revolver say 10 million, and you will pay a rate, say 1% on the undrawn potion of the revolver. then when ever you are not generating enough free cash flow, for whatever reason, you can draw down on the revolver and pay a rate, say 8% for the drawn down portion. then once you have excess cash you can pay it down again. there term revolver comes from the fact that it is a revolving line of credit.

 
ke18sb:
It's not a matter of debt payments, you don't even need debt on a company other than a revolver to have a revolver. however, as stated above, the revolver is kinda like a credit card. typically you will have size of the revolver say 10 million, and you will pay a rate, say 1% on the undrawn potion of the revolver. then when ever you are not generating enough free cash flow, for whatever reason, you can draw down on the revolver and pay a rate, say 8% for the drawn down portion. then once you have excess cash you can pay it down again. there term revolver comes from the fact that it is a revolving line of credit.

Lol 8% for a revolver? Hardly

 

Break it out into steps for your waterfall, and adjust the waterfall based on seniority based on your deal (you mention CWIP, etc):

Waterfall: Take your CFADS (however you get to it from Net income / EBITDA) Less: Mandatory Amortization of your TL, etc = Cash flow available for revolver Plus: Draws on Revolver Less: Revolver Repayments = Cash flow available for 1st lien sweep Less: 1st Lien Sweep = Cash flow available for 2nd lien sweep Less: 2nd lien Sweep = Cash flow available to equity

You can layer other/different steps in as needed obviously

Your revolver math should something along these lines: Beginning balance = prior period ending balance Plus: Draws = if(cash flow available for revolver)0, min(cash flow available for revolver,(beginning balance + draws) Ending Balance = Beginning balance + Draws - Repayments

More logic needed if you want to incorporate the max draw on the revolver, make sure the revolver doesn't draw after you pay off your 1st Lien, etc.

 
wookie102:
Break it out into steps for your waterfall, and adjust the waterfall based on seniority based on your deal (you mention CWIP, etc):

More logic needed if you want to incorporate the max draw on the revolver, make sure the revolver doesn't draw after you pay off your 1st Lien, etc.

Thanks for the reply Wookie. This is the part I am struggling with. As they draw down on the debt to build, they are actually beginning with a sub debt tranche (I realize this is unusual, but it's what the Boss thinks will work best for a unitranche raise). I want to model it as drawing the Sub Debt, then Revolver, then TL A, based on the structure of the transaction.

So, for instance, they are acquiring $13mm in Sub Debt in May '13, then I want to draw the Revolver (say $10mm estimate) all the way down, even though they only require around $2mm to meet the minimum cash balance. How I got it to work was to draw all of TL A, which is obviously a point or two more expensive.

Any thoughts now?

 

Why not have two revolver lines (one goes to construction account, other to borrowing account) and just show the sum as the true revolver balance, writing in that the sum cannot exceed the commitment.

This way your waterfall goes

sub debt excess revolver availability term loan

where excess revolver is amount on the revolver less the accumulated drawdown to finance operating cash shortfalls

in this case you would exclude your construction CF line item from the cash shortfall calculation for determining excess revolver

 
meabric:
Why not have two revolver lines (one goes to construction account, other to borrowing account) and just show the sum as the true revolver balance, writing in that the sum cannot exceed the commitment.

This way your waterfall goes

sub debt excess revolver availability term loan

where excess revolver is amount on the revolver less the accumulated drawdown to finance operating cash shortfalls

in this case you would exclude your construction CF line item from the cash shortfall calculation for determining excess revolver

This worked. Thanks for the help guys. I appreciate it.

 

The several things I noticed: biggest issue is the revolver which you have flip flopping between positive/negative values. Although this isn't actually affecting articulation because your BS and SCF agree on the revolver going down by $215M to -$107M. Then you have "Amortization of deferred costs" on the CF statement every year as if you are amortizing on a SL basis over 10-years, but the balance sheet items stay constant over the whole time period. Then with the capital leases I'm not sure how the $10,000 number under financing cash flows connects with what is going on on the balance sheet, seems like it doesn't. For unearned revenue, the item on the SCF is not considering the change in non-current unearned revenue.

Then this is actually your biggest issue (as to why things don't balance) I think: I don't know whats going on with the historical data, but something is up. You have total liabilities + equity = $959M in 2013, equal to total assets. But this is a hardcoded number; actually adding up your "total liabilities" and "total equity" accounts for 2013 gives $1,066,797 million. So your balance sheet doesn't balance for the historical period if you use the numbers you actually have there - so that is def causing problems going forward.

In general you need to get rid of anything hard coded, everything should be driven by formulas in the forecast years. Otherwise you will run into problems. If the statement of cash flows is driven entirely by formulas connecting it to the IS/BS, you will never have an issue where things don't balance.

I think it's also very helpful to have separate schedules for important items, such as for the revolver, for the retained earnings account, etc. I sent you a PM.

 

Extelleron is correct. Way too many hardcoded numbers in your "Model New" sheet (your computation sheet).

It is best to model out in detail the "collapsed" accounts like PPE (row 40) which have impacts on all 3 F/S. Refer back to your Accounting101 notes on what is the equation on the closing PPE balance.

In fact, think back to your debit/credit double entries when you are modelling ANY accounts. You have Dr. Financial expense 9,648 (cell E27) and what have you Cr. ?

 

Guys, thanks a lot. Very unselfish of you to give me this good feedback. Extelleron, model looks really good! Next time I will definitely be more elaborate.

I have listed all your points and will attend to them one by one. I might return later if I have any problems. Cheers

 

Thanks, Messagevik, that makes sense. Still, is this a "normal" issue or am I likely making a mistake somewhere? I'm stress-testing the model and worry when the b/s won't balance... The model works with realistic assumptions, but I thought that basic tests should be met at all times, no matter how ridiculous the inputs?

 

Error deleniti enim ut officia repellendus ea. Voluptates et ullam est ea quod autem.

Dicta iste aliquid repudiandae voluptatibus. Et corrupti odio eum at ea unde tempora tempora. Ex eos nihil quia corrupti. Temporibus excepturi ut et ut. Maiores non veniam quasi dicta. Ut vel impedit vel. Nesciunt dolorem ex qui voluptates repudiandae. Dolorem aut modi dignissimos quos ex.

 

Adipisci porro est aut odit vel et. Accusantium ipsa nobis aut quas iste. Qui perferendis deleniti autem. Numquam similique asperiores est harum molestiae est. Et dolorem quia corporis sit quo maxime.

Voluptatem quo nobis consectetur molestias. Ducimus quo assumenda voluptatem cum illo rerum omnis.

Ea et ea voluptates ipsum. Sunt repellendus id recusandae est quia consequatur debitis. Velit at enim esse est provident sit dolor tenetur.

Career Advancement Opportunities

April 2024 Investment Banking

  • Jefferies & Company 02 99.4%
  • Goldman Sachs 19 98.8%
  • Harris Williams & Co. New 98.3%
  • Lazard Freres 02 97.7%
  • JPMorgan Chase 03 97.1%

Overall Employee Satisfaction

April 2024 Investment Banking

  • Harris Williams & Co. 18 99.4%
  • JPMorgan Chase 10 98.8%
  • Lazard Freres 05 98.3%
  • Morgan Stanley 07 97.7%
  • William Blair 03 97.1%

Professional Growth Opportunities

April 2024 Investment Banking

  • Lazard Freres 01 99.4%
  • Jefferies & Company 02 98.8%
  • Goldman Sachs 17 98.3%
  • Moelis & Company 07 97.7%
  • JPMorgan Chase 05 97.1%

Total Avg Compensation

April 2024 Investment Banking

  • Director/MD (5) $648
  • Vice President (19) $385
  • Associates (87) $260
  • 3rd+ Year Analyst (14) $181
  • Intern/Summer Associate (33) $170
  • 2nd Year Analyst (66) $168
  • 1st Year Analyst (205) $159
  • Intern/Summer Analyst (146) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
Secyh62's picture
Secyh62
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Betsy Massar's picture
Betsy Massar
99.0
5
CompBanker's picture
CompBanker
98.9
6
GameTheory's picture
GameTheory
98.9
7
kanon's picture
kanon
98.9
8
dosk17's picture
dosk17
98.9
9
Linda Abraham's picture
Linda Abraham
98.8
10
DrApeman's picture
DrApeman
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”