Array Formulas in Excel 2
Array Formulas in Excel 2
ENGINEERING CALCULATIONS
Array formulas allow you to use multiple cell inputs rather than a
single cell input. There are two types of array formulas. One type of
array formula returns a single value from multiple inputs. A common
example is the SUM function:
The other type of array formula is one that returns multiple outputs. A
simple addition can be used as an array formula:
Creating the second type of array formula is a little different from what
you’ve done so far. The biggest difference is that you’ll use Ctrl-Shift-
Enter to finish the formula.
What’s the point of array formulas? We’ve already seen how to fill
formulas into other cells using the fill handle. There are three benefits
to using array formulas:
First, we’ll calculate the lift without using an array formula. Enter the
formula in as
=C5*C6*C7*F7^2/2
Double-click the fill handle in the lower right corner to fill the rest of the
column with this formula.
One problem with performing the calculation this way is that it’s
possible to mistakenly edit a single cell. For example, if you were to
delete the denominator from a single cell’s formula, that cell’s value
would be incorrect:
Excel flags the altered cell with a small green triangle to indicate that it
doesn’t match the surrounding cells, but those flags can be hidden or
even ignored altogether.
Using an array formula will minimize the potential for errors. There are
a few differences in how array formulas are entered compared to
standard formulas.
First, select all the cells that you want to return results to. Rather
than enter the formula into the cell itself, click within the formula
bar and enter it there.
=C5*C6*C7*F7:F16
=C5*C6*C7*F7:F16^2/2
If you try to edit any single cell in the array, Excel will give an
error message. To edit the formula, select all of the output cells in the
array, make your edit, then again type Ctrl-Shift-Enter.