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

The if statement 13/25
Session Links
  • The syntax of If is
If <test condition> Then
   <a sequence of statements>
Else
   <another sequence of statements>
End If
  • The “Else” and its sequence of statements are optional
  • You can chain them together to arbitrary length
If <test condition> Then
   <a sequence of statements>
ElseIf <another test condition> Then
   <another sequence of statements>
Else
   <yet another sequence of statements>
End If
  • Sometimes you need to “flip” the condition with “Not”
If Not <test condition> Then
   <a sequence of statements>
End If
  • You can write the whole thing on one line if the <sequences of statements> have only one item

If is a workhorse. Its basic form — sometimes called a “block” If — is at the top of this page. If there is only one statement in the Then clause or the Else clause, then you can also type it on a single line, but most people find the block form is easier to read. If you have a chain of tests you want to perform, the ElseIf construct of the second example is very convenient.

You do not need to use a continuation character to connect the lines of a block If. In fact, if you do, you’ll get an error if you have more than one statement in either of the Then, Else, or ElseIf clauses.

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

Function Macros

We focus on function macros in this course because they’re more likely than command macros to make a real difference in your facility with constructing models. For instance, when your customer wants to see result streams displayed as [Month1, Month2, Month3, Q1 Total, Month4, Month5, Month6, Q2 Total, …], you probably realize that such a layout makes copy/paste and fill very inconvenient. A macro can provide a simple means of producing the preferred layout from a more easily maintained pure month structure. It’s also easy to construct macros for running sums and running differences. Can you think of other applications for function macros that make your models easier to build and maintain?