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

Session 14
Using Macros II
Summary of Pages

As we’ve seen, function macros are macros that return values. They correspond to Excel’s family of worksheet functions, and provide a way for you to add capability transparently to the user. In the previous session, we looked at function macros that return a single value — scalar function macros. In this session, we’ll examine array function macros — macros that return a rectangular array of values. Convolution is an example of such a macro.

To deal with array macros, we’ll have to learn about iteration and dynamic arrays — two techniques that are fundamental to manipulating arrays of data.

Array macros give you a means of handling blocks of data with a single macro, which, when combined with the array manipulation techniques we used early in the course, can dramatically simplify your spreadsheet models.

Below is a summary of pages for Session 14.

  1. Review of Last Time
  2. Array function macros
  3. Example 1: Add two 3x3 arrays
  4. Arraysum: how to build it
  5. Arraysum: create the answer array
  6. How to use iteration
  7. Now iterate through the argument array
  8. Example 2: Multiply an array by a constant
  9. Now build a macro to do this
  10. Dynamic arrays
  11. Create the answer array
  12. Iterating through the argument array
  13. Finally, return the value
  14. More useful example
  15. Hose coupling data
  16. Unwinding the brass content data
  17. Now build the macro
  18. Overall approach
  19. Planning the iteration
  20. Finally
  21. Limitations of Vlineup
  22. Dynamic unwinder
  23. Resize and offset
  24. A tip about arrays
  25. The main points
  26. Reference readings
  27. Preview of Next Time

Links to other materials for Session 14.

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.