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


Tidak ada komentar:
Posting Komentar