- SpreadJS Overview
- Getting Started
- JavaScript Frameworks
- Best Practices
- Features
- SpreadJS Designer
- SpreadJS Designer Component
- SpreadJS Collaboration Server
- Touch Support
-
Formula Reference
- Formula Overview
-
Formula Functions
- Barcode Functions
- Compatibility Functions
- Database Functions
- Date and Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Logical Functions
- Lookup and Reference Functions
- Math and Trigonometric Functions
- Statistical Functions
- Sparkline Functions
- Text Functions
- Web Functions
- RegEx Functions
- Other Functions
- Import and Export Reference
- Frequently Used Events
- API Documentation
- Release Notes
(Showing Draft Content)
AREAS
This function returns the number of areas in the specified reference.
Syntax
AREAS(reference)
Arguments
Specify the cell reference for the argument.
Remarks
In this function, single argument can refer to multiple areas. To do so, extra set of parentheses is used.
Data Types
Accepts cell reference for argument. Returns numeric data.
Examples
AREAS(B7:D9) gives the result 1
AREAS((B2:D4,E5,F6:I9)) gives the result 3