Skip to content

areas

Number of distinct ranges in a reference.

v = areas(reference)

Returns the count of disjoint regions in a multi-area reference. For a single contiguous range, returns 1.

areas((A1:B5, D1:E5, G1)) % 3
  • index — Element of an array by row and column position.