What is the AREAS function?
=AREAS(reference)AREAS counts how many separate areas (blocks of cells) a reference contains. It counts blocks, not cells.
Join several areas with commas and wrap the whole thing in parentheses. Watch each area highlighted on the sheet above.
Arguments
- reference
- A cell or range reference. Wrap several areas in parentheses, like (A2:A4,C2:C4).
AREAS examples
Example 1. Two areas
=AREAS((A2:A4,C2:C4))2.
Example 2. One range
=AREAS(B2:D9)Many cells, but one block, so 1.
Example 3. A named range
=AREAS(SalesRegions)Counts the areas the name refers to.
Common mistakes
Missing parentheses
=AREAS(A2:A4,C2:C4) is read as two arguments and gives a formula error. Add an extra pair of parentheses.
Thinking it counts cells
Count cells with ROWS×COLUMNS or COUNTA.
FAQ
- When is it used?
- To check how many areas a named range has, or when working with the area number of INDEX.
- What about the intersection (space operator)?
- An intersection joined with a space, like (B2:D4 C3:C9), is one area.