Array Formula

Why Trust Techopedia

What Does Array Formula Mean?

An array formula is a formula used in spreadsheets for performing multiple calculations on a series of items in an array rather than on a single data value. The results returned from an array formula can be of two types: a single result or multiple results.

Advertisements

Techopedia Explains Array Formula

An array formula can be used to calculate a column or row of subtotals by placing it in a row of cells or it can be used to calculate a single value in a single cell. For example, an array formula =ROW(A1:A5) returns a series of numbers, which are the row numbers in the first cell from the range A1:A5; in other words, it returns {1, 2, 3, 4, 5}.

In an Excel spreadsheet, an array formula is enclosed between braces {}. A container function such as SUM or COUNT is always used while working with array formulas so as to aggregate a series of data to a single number result. The formula =ROW(A1:A5) in normal mode returns a single number 1, and the container function SUM just performs the sum of that single number. If the formula is used as an array formula then =ROW(A1:A5) returns an array of row numbers and SUM function adds up the elements of the array, returning a result of 15(=1+ 2+3+4+5).

Array formulas have the following advantages:

  • Consistency: The array formula offers consistency, which helps to maintain data accuracy.
  • Data Safety: The multicell array formula cannot be overwritten. This property helps to reduce errors due to manipulation.
  • Single Array Formula: Single array formulas can be used rather than several intermediate formulas.

The problem with array formulas is that large formulas can slow down calculations. In addition, other users of the spreadsheet may not be able to understand the array formulas.

Advertisements

Related Terms

Margaret Rouse
Editor

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…