Skip to main content
 

Excel AREAS function

Author: Sun Last Modified: 2019-07-09

doc areas function 1

Description

Syntax and Arguments

Usage and Examples


Description

The AREAS function takes Excel cell reference and returns the number of areas that make up the reference, the area is a range of contiguous cells or a single one. Multiple areas are separated by commas and surrounded by an extra set of parentheses. For example, the formula =AREAS(A1:A3) returns 1, then the formula v=AREAS((A1:A3,B3:E3)) returns 2.

Syntax and Arguments

Formula syntax

AREAS(reference)

Arguments

  • Reference: Necessary, a reference to a single cell or a range of cells, or multiple of ranges.

Return Value

The AREAS function returns a numeric value, which is the number of areas that make up the reference.

Usage and Examples

Here take a few examples for describing how to use the AREAS function in Excel.

Ex1: Basic usage

You can directly input or select the cell reference in to the AREAS function, remember using comma to separate areas and inserting extra a set of parentheses if there are more than one area reference in the formula.

Result Formula
1 =AREAS(A1)
1 =AREAS(A1:B3)
2 =AREAS((A1:C1,C2))
3 =AREAS((A1,B1,C1))
doc areas function 2

Ex2: Count the number of areas of a specific defined name range

If there is defined name which you want to count how many ranges it contains, you can use the AREAS function.

Supposing there is a defined name called “Sale”, now use the AREAS function to count the number of areas in “Sale”.
doc areas function 3

Formula:

=AREAS(Sale)

Reference: Sale is the range name you want to find the number of areas in.

The total number of areas:3
doc areas function 4


Sample File
doc sample file


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.