totn Excel Functions

MS Excel: How to use the AREAS Function (WS)

This Excel tutorial explains how to use the Excel AREAS function with syntax and examples.

Description

The Microsoft Excel AREAS function returns the number of ranges in a reference.

The AREAS function is a built-in function in Excel that is categorized as a Lookup/Reference Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the AREAS function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the AREAS function in Microsoft Excel is:

AREAS( reference )

Parameters or Arguments

reference
A range of cells. If you specify more than one range, you must enclose your ranges in parentheses.

Returns

The AREAS function returns a numeric value.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel AREAS function examples and explore how to use the AREAS function as a worksheet function in Microsoft Excel:

=AREAS(A1)
Result: 1

=AREAS(A1:C3)
Result: 1

=AREAS((A1:C3,B4:B5))
Result: 2

=AREAS((A1:C3,B4:B5,G8))
Result: 3

=AREAS(suppliers)
Result: 3   'We defined a named range called suppliers that refers to the range A1:C3,B4:B5,G8