If 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.

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.

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.

 Planning the iteration
• Where will the (i, j) element of the input end up?
(j-1) * 3 + i
• This isn’t quite it, though: it’s a 9x1 array.
```Function VLineUp(argRange As Range) As Variant
Dim i As Integer, j As Integer
For j = 1 To 3
For i = 1 To 3
answerArray((j - 1) * 3 + i, 1) = _
argRange.Cells(i, j)
Next i
Next j
End Function```

Notice that we declare the size of the answerArray to be 9x1 (9 rows by one column). We could have combined both Dim statements into one, and we probably would in the Visual Basic Editor. But these Web pages are narrow.

The basic question is the first bullet above. We know that as we move across the columns of the input, we move down the rows of the output, but we move down in blocks of three. The first column of the input maps to the top three cells of the output. So the formula must look something like (j - 1)* 3. We add the i term because moving down one row in the input moves down one row in the output.