Excel
AREAS function in Excel
Returns the number of areas in a reference
=AREAS(reference)AREAS syntax and parameters
One argument, one required.
- referencerangeRequired
A reference to a cell or range of cells and can refer to multiple areas. If you want to specify several references as a single argument, then you must include extra sets of parentheses so that Microsoft Excel will not interpret the comma as a field separator. See the following example.
AREAS examples
Formulas you'll actually reuse.
Count the blocks in a multi-area reference (note the extra parentheses):
=AREAS((A2:C50, E2:G50))Result
2How many separate ranges a named range covers:
=AREAS(SalesRegions)Result
3
AREAS in Google Sheets
No direct equivalent — here's the way around.
Try AREAS in the playground
Edit the example — nothing to install.
Preloaded with the AREAS formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ADDRESSReturns a reference as text to a single cell in a worksheetLookupGoogle Sheets
- CHOOSEChooses a value from a list of valuesLookupGoogle Sheets
- CHOOSECOLSReturns the specified columns from an arrayLookupGoogle Sheets
- CHOOSEROWSReturns the specified rows from an arrayLookupGoogle Sheets
- COLUMNReturns the column number of a referenceLookupGoogle Sheets
- COLUMNSReturns the number of columns in a referenceLookupGoogle Sheets