|  

» Array Formulas – the Technical Side

To perform complex calculations, use an Array Formula.

Example: In this example there are two ranges to multiply (each item multiplies Quantity by Price) and totals the results.
1. For Range 1, the Name defined for range B2:B10 is Quantity (see Tip #188).
2. For Range 2, the Name defined for range C2:C10 is Price.
3. In cell D16, enter the following Array Formula:
={SUM(Quantity*Price)}

The formula returns the result of the totals of the Quantity range, multiplied by the Price range.

To create an Array Formula, select the cell after manually entering the formula, press F2, and then press Ctrl+Shift+Enter.

The technical side of an array formula

An Array saves values or strings to temporary memory locations. The Array technique opens as many cells in memory as it needs to keep the multiplied numbers; the Array Formula returns the total (in this example) of these numbers from the temporary memory to the cell.
Screenshot // Array Formulas – the Technical Side
Array Formulas – the Technical Side
Rate This Tip
12 34 5
Rating: 2.81     Views: 85218
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments