Spreadsheet Models for Managers


Getting Access to Spreadsheet Models for Managers


If Spreadsheet Models for Managersyou use Excel to model businesses, business processes, or business transactions, this course will change your life. You’ll learn how to create tools for yourself that will amaze even you. Unrestricted use of this material is available in two ways.

As a stand-alone Web site
It resides on your computer, and you can use it anywhere. No need for Internet access.
At this Web site
If you have access to the Internet whenever you want to view this material, you can purchase on-line access. Unlimited usage. I’m constantly making improvements and you’ll get them as soon as they’re available.

To Order On Line

Order "Spreadsheet Models for Managers, on-line edition, one month" by credit card, for USD 69.95 each, using our secure server, and receive download instructions by return email.
Order "Spreadsheet Models for Managers, on-line edition, three months" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.
Order "Spreadsheet Models for Managers, downloadable hyperbook edition" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.

To Order by Mail

Make your check payable to Chaco Canyon Consulting, for the amount indicated:
  • For the download: USD 199.00
  • For access online for three months: USD 199.00
  • For access online for one month: USD 69.95
And send it to:
Chaco Canyon Consulting
700 Huron Avenue, Suite 19C
Cambridge, MA 02138

To use the course software you’ll need some other applications, which you very probably already have. By placing your order, you’re confirming that you have the software you need, as described on this site.

Spreadsheet Models for Managers

How to use iteration 14/6
Session Links
  • Iteration is a repeat form
  • Many varieties of iteration in VBA; we use a simple one:
For <var> = <min> To <max>
    <sequence-of-statements>
Next <var>
  • Iteration can be nested; that’s how we handle two-dimensional arrays
For <varx> = <minx> To <maxx>
    For <vary> = <miny> To <maxy>
        <sequence-of-statements>
    Next <vary>
Next <varx>
  • You must include variable declarations for iteration variables

The top example gives a simple template for one of VBA’s iteration constructs. There are several more types of iteration, but this one is the most relevant to our work. “<Var>” stands for a variable name. Many people usually use “i”, “j”, etc., but you can use whatever you like. <var> starts at the value <min>. For each cycle through the iteration, VBA adds +1 to the iteration variable, until it reaches <max>. It performs the calculation for <max> and then the loop exits.

Last Modified: Wednesday, 27-Apr-2016 04:15:26 EDT

How to Measure the Value of a Function Macro

The value of a function macro increases with frequency of use, the complexity of the calculation it performs, and the area of the result it returns. As you examine the computations you perform routinely in your work, make note of those computations that meet these criteria. Before committing yourself to writing a macro to carry out one those computations, try various methods for implementing it using standard built-in worksheet functions. That effort might clarify for you the kernel of the computation that benefits most from a macro-based approach.