![]()
f you 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.
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. | Or order via Google Checkout. |
| 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. | Or order via Google Checkout. |
| 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. | Or order via Google Checkout. |
To Order by Mail
Make your check payable to Chaco Canyon Consulting, for the amount indicated:
|
And send it to: Chaco Canyon Consulting 700 Huron Avenue, Suite 11J 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.
![]() |
Here are two examples of array function macros. The first returns the sum of two 3x3 arrays. The second returns an array that is the result of multiplying an arbitrary rectangular range by a constant. Both are unnecessary in the sense that Excel can already do these things.
To view this macro in Excel 2003 or 2004, click the Visual Basic Editor toolbar button. It looks like this:
. If you don't see this button
in the toolbar, perhaps your Visual Basic toolbar is hidden. To view it, choose the menu command
View>Toolbars>Visual Basic.
To view this macro in Excel 2007, use the ribbon command Developer>Visual Basic.
Once you've opened the Visual Basic editor, look for the Project Explorer window. If you don't see it, choose View>Project Explorer. In the Project Explorer, find the item "session14.xls". Open it by double-clicking (Mac) or right-clicking the plus sign(Windows). Then open its modules, and finally open the Example Module. You should then see the code for all macros in this demonstration. Scroll until you can see ArraySum.
To go back to the worksheet window, click the Excel icon at the left end of the VBA editor menu bar. Try some experiments of your own: add two 3x3 arrays.
Use the same technique as above to view the Multiply macro. Do some experiments with it too. Make a copy of the Multiply macro in the Examples module, and rename it to Exponent. Modify it so that instead of multiplying an array by a factor, it raises the array to a power. Test it.
This example is well explained in the class notes. In the worksheet, notice that we demonstrate that it works by comparing the result we get with VLineUp to a similar result obtained with index.
For more about my spreadsheet consulting and training services, visit SpreadsheetAce.com.
Last Modified: Wednesday, 22-Oct-2008 05:31:20 EDT