1. Home
  2. Functions
  3. Lookup and reference
  4. AREAS

AREAS function

Returns the number of areas (separate ranges) in a reference.

Syntax

=AREAS(reference)

Arguments

ArgumentRequiredDescription
referenceRequiredA reference, or several in parentheses

How to use AREAS

AREAS takes 1 required argument. Type =AREAS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=AREAS(B2:D4)Result 1
=AREAS((B2:D4, E5, F6:I9))Result 3

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.