![]()
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.
![]() |
xcel can perform operations — including arithmetic — on arrays of cells. Using this
capability, you can perform complex computations with minimal
effort. But of course, to use it, you have to understand it.
An array in Excel is just a rectangular range of cells. You can perform any arithmetic operation on arrays, including addition, subtraction, multiplication and division. You can also exponentiate — raise one array to the power of another array. Referring to the complete list of Excel's operators, the table below shows the list of operators that support array computations.
In all of what follows, when an array (range) has 3 rows and 2 columns, we call it a "3x2 array" or "3x2 range". An array or range with m rows and n columns is said to be an m x n array (range).
|
Before looking at the more exotic of these operators, let's first understand how array arithmetic works.
Let's start by looking at addition.
Let's say that the array Aarray is in A1:B3, and that the array Barray is in D1:E3. The arrays are the same size and shape, 3x2, so the result will be 3x2. To compute the array sum of these two arrays, select a 3x2 range, say G1:H3. Then enter the formula
into the formula bar and press Ctrl+Shift+Enter (Windows or Mac) or Command+Enter (Mac). On the Mac, the commands Command+Return or Ctrl+Shift+Enter or Ctrl+Shift+Return also work. The result that appears in the selected range is the cell-by-cell sum of the two arrays.
To perform any other arithmetic operation, substitute that operator for + in the above formulas. Just as in ordinary arithmetic, you can use multiple operands if applicable. For example,
entered as an array formula produces the sum of the three operand arrays.
You can check the behavior of (2) and (3) using the formulas
and
As indicated above, the comparison operators also support array computations. For example,
entered as an array formula produces an array of Boolean values (TRUE, FALSE) depending on what are the results of cell-by-cell comparisons of the two arrays. If we enter the above array formula into the cells G1:H3, the cell G1 holds the value TRUE if A1>D1; otherwise it holds FALSE. (Try it!)
Similarly, string concatenation also works. If we enter as an array formula
the resulting values will be cell-by-cell concatenations of the values in the corresponding cells of the operand arrays.
For more about my spreadsheet consulting and training services, visit SpreadsheetAce.com.
Last Modified: Wednesday, 08-Feb-2012 04:40:26 EST