AREAS Function in Zoho Sheet: Count Separate Reference Areas
Use the Zoho Sheet AREAS function to count reference areas, including multiple tilde-separated ranges, with reproducible examples and error guidance.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: AREAS returns the number of separate areas in a reference, not the number of nonempty cells, rows or columns. A rectangular range is one area; a reference formed from several ranges can contain more than one. Zoho documents a tilde (~) between its separate range components. Thus =AREAS(A1:A8~C1:C8~E1:E8) returns 3 in Zoho’s own example. [Z1]
Verification scope, 13 October 2026: The function name, one-argument syntax, the tilde-separated convention and three vendor examples are taken from Zoho’s official Help. Newly created example expectations are independently reasoned by counting reference components. No native Zoho Sheet calculations were performed. Do not treat this guide as an assurance of engine behavior for overlapping references, external imported files, all named-range edge cases, or an unnamed software release.
Availability and version history
- Introduced: The original introduction version and date are not established by the checked sources.
- Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
- Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
- Checked: October 14, 2026, against the official AREAS reference. Documentation check; not a new native test.
Syntax and argument
=AREAS(cell_ref)
| Argument | Requirement | Explanation |
|---|---|---|
cell_ref |
Required | A cell reference, a contiguous range, or multiple separate references joined with ~. The argument should describe reference locations, not a text description of them. |
The function has no documented second argument, mode switch or optional flag. The logical unit counted is an area: one continuous rectangular region or one individual cell. A range as wide as A1:D500 still constitutes one area. Meanwhile the union-like reference A1:A8~C1:C8~E1:E8 consists of three areas even though the ranges belong to a single worksheet. Zoho explicitly gives that example and outcome. [Z1]
What the tilde means in this guide
The character ~ is not an instruction to count cells and is not an arithmetic operation. It is the range-joining delimiter in the reference syntax Zoho documents for this particular function. The formula
=AREAS(A2:A4~C2:C4~D2)
contains three written components: A2:A4, C2:C4 and D2. A separately written individual cell counts as one area, just like a rectangular range. Independently expected result: 3, consistent with the definition in [Z1]. Whether Zoho consolidates overlapping or adjacent areas in particular combinations is not specified in the cited Help and is deliberately not assumed here. To keep worksheet exercises reproducible, use disjoint ranges as supplied.
Make the demonstration reproducible
Use a new sheet and enter this ordinary stock record in A1:D4:
| Row | A: Item | B: Qty | C: Unit price | D: Total |
|---|---|---|---|---|
| 1 | Item | Qty | Unit price | Total |
| 2 | Pens | 12 | 1.5 | =B2*C2 → 18 |
| 3 | Notebooks | 6 | 4 | =B3*C3 → 24 |
| 4 | Clips | 20 | 0.75 | =B4*C4 → 15 |
Enter the shown values first, then enter the formulas in column D. Put AREAS examples in G2:G12 so you do not overwrite any sample data. In fact the resulting area counts do not depend on the values shown: you can clear some of the rows and still count the same reference areas. That makes AREAS suitable for examining the structure of a reference, not for measuring filled data.
Documented and reproducible examples
| Formula | Expected result | Why it is that result |
|---|---|---|
=AREAS(A1:A8~C1:C8~E1:E8) |
3 | Official Zoho example, three separate range components. [Z1] |
=AREAS(A1:A8~C1:C8~E1:E8~G1) |
4 | Official Zoho example, adding one cell adds another area. [Z1] |
=AREAS(A1:D4) |
1 | One connected rectangle, regardless of four columns and four rows. |
=AREAS(B2:B4) |
1 | Multiple adjacent rows still make a single range. |
=AREAS(D2) |
1 | One cell is one area. |
=AREAS(A2:A4~C2:C4) |
2 | Two disjoint vertical blocks. |
=AREAS(A2:A4~C2:C4~D2) |
3 | Two vertical blocks and one separate cell. |
=AREAS(A2:A4~C2:C4~D2~F2:F3) |
4 | Four explicit, disjoint reference components. |
All rows below the first two are independently derived applications of Zoho’s documented definition. The underlying assumptions are that the references exist in the sheet, the displayed ~ syntax is accepted as shown by Zoho, and none of the selected blocks overlaps. Do not call the count of 4 in the last example “four cells”: the four areas include more than four total cells.
Why the size and contents do not control the output
The formula =AREAS(A1:D4) returns a count of reference regions. The input contains 16 cells, but the expected area count is 1. Likewise, =AREAS(A1:A500) is expected to be 1, even if 499 cells are blank, because its argument is still a single connected range. For a count of numeric or filled cells, choose a counting function such as COUNT or COUNTA after checking its Zoho-specific documentation; AREAS does not examine the content of the ranges to answer that question.
Comparing =AREAS(A2:A4) against =AREAS(A2:A4~C2:C4) illustrates that the geometry of the argument matters. In the first formula, the A2:A4 block is one component. In the second, a separate C2:C4 component increases the count to two. Changing the quantity values in B2:B4 does not change either answer. This is useful when checking whether a reference was assembled as several disjoint blocks rather than one continuous selection.
The same distinction applies to a one-row reference. A1:D1 spans four columns but one area. A1~C1 explicitly separates two cells into two areas according to the documented representation. If the question is “how many columns wide is A1:D1?”, use COLUMNS instead: Zoho separately documents its width calculation and =COLUMNS(A1:C8) → 3. [Z2]
Advanced application 1: compare alternative reference designs
Imagine a report that stores several side-by-side monthly sections in A2:A4, C2:C4 and E2:E4. The data lives in three distinct vertical blocks. Write:
=AREAS(A2:A4~C2:C4~E2:E4)
The independently expected count is 3. This tells the report reviewer that the input argument names three separate areas. It does not assert there are three months of nonblank transactions, and it does not sum the amounts within the sections. If one section moves from E to G and the formula reference is updated to G2:G4, the expected count remains 3; the physical position changed, but the number of explicitly named disjoint parts did not.
For an audit, record the area count alongside a written list of the specific ranges. The number 3 alone is not enough to identify which three ranges were referenced, whether their cells contain valid data, or whether a source was silently shortened. A count is one structural signal, not a full data-quality check.
Advanced application 2: understand multi-area named ranges
Zoho’s official examples include:
=AREAS(Data)
The official result is 2. This example is not independently reproducible in a blank sheet until a defined name called Data is created with the same two-area reference. A blank workbook with no Data name may instead signal an invalid name. That is not evidence that the AREAS function is broken. Zoho lists invalid defined names among the general causes of #NAME!. [Z1]
If you want to test a named reference, first create or verify the name through your current Zoho Sheet interface. Check that its definition points at the intended range area(s), then write =AREAS(YourDefinedName). Do not assign any undocumented name-definition syntax or UI sequence to the vendor merely to reproduce the vendor’s example. Preserve the actual definition alongside screenshots if you conduct a later native test. A defined name can make a complex reference easier to read, but it also hides its components from a casual reviewer; documenting those components is important.
Zoho’s INDEX documentation separately shows a multi-area reference joined with ~, for example a first range followed by another range with an area-number argument. That is supporting context that Zoho recognizes multiple area concepts in several functions; it does not mean every function shares the same argument structure. AREAS takes only the one cell_ref argument. [Z3]
Troubleshooting: first isolate the reference syntax
| Observation | Practical investigation |
|---|---|
| The answer is 1 when you expected 4. | If the argument is A1:D4, you supplied one rectangle. AREAS is not COLUMNS and is not the number of columns in a range. [Z1][Z2] |
| The answer stays the same after clearing cells. | This is normal for a reference-counting function: reference geometry, not cell occupancy, determines the count. [Z1] |
| You wrote commas or a different multi-range expression. | Retest with Zoho’s tilde ~ pattern, exactly as in its examples. Other applications may use different syntax. [Z1] |
=AREAS(Data) does not produce 2. |
Check that Data exists in your workbook and represents two areas. The official example relies on its sample defined name. [Z1] |
You obtain #NAME!. |
Check spelling, undefined names and quote syntax; Zoho’s generic list cites these as common sources. [Z1] |
You obtain #REF!. |
Look for references that no longer exist after deleting or moving cells. Exact outcomes for overlaps and external references are not established. [Z1] |
You obtain #VALUE!. |
Check that the argument is a reference expression rather than unrelated text or an unsupported type. Zoho lists invalid argument types in its generic errors. [Z1] |
You see #N/A!. |
The Help page includes #N/A! in its general possible-error table; it does not establish that every invalid AREAS argument causes that error. Do not infer the precise mechanism without a native test. [Z1] |
| You need to count rows or columns. | Switch to ROWS or COLUMNS, which have independent, documented definitions and syntax. [Z2][Z4] |
Edge cases that remain unverified: overlapping components, duplicate or adjacent components that may merge, differences between multiple areas expressed through names versus ~, unqualified references across multiple sheets, and behavior when a referenced sheet is removed. No error code is guaranteed for those cases from the Help page alone. Similarly, the vendor page gives no first-supported version, tier or mobile compatibility matrix.
Function comparison: choose the question first
| Question you need to answer | Zoho function | Example and interpretation |
|---|---|---|
| How many separate reference regions? | AREAS |
=AREAS(A1:A3~C1:C3) → 2 areas (independent). |
| How many columns span the range? | COLUMNS |
=COLUMNS(A1:D4) → 4 columns (independent). |
| How many rows span the range? | ROWS |
=ROWS(A1:D4) → 4 rows (independent, as documented behavior). |
| What is the one-based column index of a cell? | COLUMN |
=COLUMN(C2) → 3 (independent, based on Zoho docs). |
| What is the one-based row index of a cell? | ROW |
=ROW(C2) → 2 (independent, based on Zoho docs). |
Zoho documents the other four functions separately; their references are checked below. The outputs are structurally different. Do not substitute AREAS because a formula happens to return the same numeric answer for a specially shaped example. [Z1][Z2][Z4][Z5][Z6]
Compatibility and environment
This guide is based on the English-language Zoho Sheet Help for the cloud spreadsheet product. It does not establish which release first included AREAS, whether a specific subscription tier is required, the details of off-line behavior, or bit-for-bit interchange with Excel, LibreOffice, Google Sheets or another application. The use of ~ for multiple references is a Zoho-specific documented rule in this source. A formula imported from elsewhere should not be assumed to preserve the exact reference delimiter or named-range semantics. [Z1]
Examples are intentionally written with no locale-sensitive decimal constants, and the only multi-area operator shown is Zoho’s official tilde. Function evaluation may still vary with interface and workbook configuration, which has not been tested natively. The official vendor page offers an interactive embedded example, but this review did not run its examples inside a signed-in editor. Expected independent outputs are recorded in the supporting evidence as structural checks, not vendor execution logs.
Related official help (links checked 2026-10-13)
Claim-level references and review provenance
- [Z1] Zoho Sheet Help, “AREAS”, checked 2026-10-13: one-argument syntax, area definition,
~delimiter,Dataexample and documented error categories. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/areas - [Z2] Zoho Sheet Help, “COLUMNS”, checked 2026-10-13: column-width calculation and vendor examples. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/columns
- [Z3] Zoho Sheet Help, “INDEX”, checked 2026-10-13: positional retrieval with multi-area reference syntax. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/index
- [Z4] Zoho Sheet Help, “ROWS”, checked 2026-10-13: range-height calculation. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/rows
- [Z5] Zoho Sheet Help, “COLUMN”, checked 2026-10-13: one-based column position. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/column
- [Z6] Zoho Sheet Help, “ROW”, checked 2026-10-13: one-based row position. https://help.zoho.com/portal/en/kb/sheet/functions/spreadsheet/articles/row