Contact

ERRORTYPE in Zoho Sheet: Spreadsheet Error Codes and Diagnostics

Spreadsheet Intermediate Zoho Sheet

Learn Zoho Sheet ERRORTYPE syntax, eight error codes, expected output for valid cells, diagnostic examples and troubleshooting.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =ERRORTYPE(A2) returns a number identifying the spreadsheet error in A2, not the error’s text. Zoho documents 2 for #DIV/0!, 3 for #VALUE!, 4 for #REF!, and 7 for #N/A!. If the referenced cell does not contain an error, ERRORTYPE itself returns #N/A!. In Zoho’s own example workbook, ERRORTYPE(A4) returns 3 and ERRORTYPE(A8) returns 7. The demonstrations below distinguish vendor-documented mappings, independent reasoning and cases requiring native confirmation. Zoho ERRORTYPE, checked October 13, 2026.

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 ERRORTYPE reference. Documentation check; not a new native test.

When to use it

When an imported dataset or calculated report displays multiple errors, ERRORTYPE helps turn a known error in a specific cell into a numeric category. This can make it easier to classify a broken source reference separately from division by zero, an invalid name, a numeric calculation problem, or genuinely missing data. It does not fix the underlying formula or explain why the error occurred: use it to diagnose, then inspect the original formula and inputs.

The most important trap is that a normal cell does not produce “0” or “no error” as a numeric output. Zoho states that a no-error reference produces #N/A!. At the same time, an actual circular-reference error is explicitly code 0. Therefore a zero, if reported under Zoho’s mapping, is not a success indicator. Official Zoho mapping.

Exact documented syntax

=ERRORTYPE(reference)
Argument Required? Purpose Example
reference Yes A cell reference whose error status/code you want to inspect A2, C7, $D$12

Zoho shows a single required reference. It does not document an omitted-argument default, nor a special mode for a whole multi-cell selection. To diagnose a column, put one ERRORTYPE formula beside each source cell and fill it down; do not assume that supplying a multirow array to this function returns a vector of codes. Formula spelling is exactly ERRORTYPE (without a dot) in Zoho’s English Help, rather than Excel’s related ERROR.TYPE spelling. Zoho ERRORTYPE.

Zoho’s complete documented code table

Actual spreadsheet error ERRORTYPE code Interpretation
#CIRCULARREF! 0 A circular-reference problem.
#NULL 1 Null/intersection-type error category in Zoho’s table.
#DIV/0! 2 Division by zero.
#VALUE! 3 Invalid value or argument type.
#REF! 4 Invalid reference.
#NAME! 5 Unrecognized name or formula token.
#NUM 6 Numeric calculation category.
#N/A! 7 Unavailable value.
No error in the reference #N/A! error, not a numeric code ERRORTYPE cannot classify a nonexistent error.

The spellings are transcribed as Zoho documents them, including #NULL, #NUM, #N/A! and #CIRCULARREF!. Do not silently rewrite them into another application’s display conventions or assume all regions visually render them identically. Zoho does not list a separate return code for every imaginable plugin or application-specific failure. Official ERRORTYPE error-code table.

Reproducible practice: a small error-audit table

Create a worksheet called Error Audit. Enter the following formulas; these are ordinary illustrative sources, not a claim that Zoho’s live service has been tested here:

Source cell Enter Expected source state Evidence boundary
A2 =1/0 #DIV/0! Standard division-by-zero interpretation; not native-tested.
A3 =NA() #N/A! Zoho explicitly documents NA() as producing this error.
A4 =25 Numeric value 25, no error Simple literal-independent case.
A5 ="Ready" Text Ready, no error Simple literal-independent case.

Enter =ERRORTYPE(A2) into B2, similarly using A3, A4, A5 in the following cells. Based on Zoho’s documented mapping and the stated source conditions, the expected outputs are:

Destination Formula Independently reasoned expectation Interpretation
B2 =ERRORTYPE(A2) 2 The referenced cell has #DIV/0!.
B3 =ERRORTYPE(A3) 7 NA() produces #N/A!.
B4 =ERRORTYPE(A4) #N/A! A normal number is not an error code.
B5 =ERRORTYPE(A5) #N/A! A normal string is not an error code.

You can perform the documented vendor-reference checks separately: =ERRORTYPE(A4) → 3 only in Zoho’s own example workbook where A4 contains the error of that class; do not confuse that official A4 with the A4 cell in this new practice workbook. Context matters. Zoho example and code table; Zoho NA.

Demonstrating other errors without fragile recipes

For #REF!, #NAME!, and #VALUE!, prefer to paste a confirmed error value into a test workbook or inspect an existing genuinely failing formula, and then use a neighbouring ERRORTYPE reference. Deleting a source column or constructing a malformed formula can affect a workbook in ways that complicate reproducibility. The expected codes are 4, 5 and 3 conditional on the source cell truly containing those errors. A missing name may be rejected at input time rather than evaluate as a stored error on some interfaces; that behaviour is not established here.

For code 0, do not deliberately set up recursive calculations in a production sheet. Circular-reference detection or iterative-calculation settings can be account/workbook-specific. Zoho lists the code, but we have not observed that error in a signed-in workbook. Similarly, do not promise a direct formula recipe for #NULL or #NUM without native evidence.

Advanced use 1: classify versus suppress

ERRORTYPE classifies an error; ISERROR merely reports whether an error is present; ISNA narrows the question to missing values; ISERR detects errors except #N/A!. Zoho documents all three tests independently. Consider a product-price lookup:

  • Use ISNA(A3) when a genuinely missing product is an anticipated state that the report should treat differently.
  • Use ISERR(A3) when broken arithmetic, invalid names or bad references should be escalated as data-quality defects rather than hidden.
  • Use ISERROR(A3) to identify any error type; this may also be TRUE for intentionally missing data.
  • Use ERRORTYPE(A3) to attach the documented numeric code after confirming an error exists.

These are different purposes. Suppressing every problem with a generic fallback can hide a broken workbook, so reserve global error fallbacks for contexts where loss of diagnostic visibility is acceptable. Zoho ISNA; ISERR; ISERROR.

Advanced use 2: two-step reporting that preserves valid values

A robust conceptual error-audit design uses one helper column for =ISERROR(A2) and another for =ERRORTYPE(A2) only in rows where the error flag is TRUE. This avoids pretending a normal cell should have a code. If you implement this with an IF wrapper, verify the target Zoho formula evaluator’s conditional evaluation; the vendor’s ERRORTYPE page does not explicitly guarantee short-circuit semantics for expressions it encloses.

A proposed formula using Zoho’s documented semicolon-style examples is:

=IF(ISERROR(A2);ERRORTYPE(A2);"No error")

Expected by independent boolean and conditional reasoning: for source =1/0, 2; for source =NA(), 7; for source =25, No error. The composition is useful, but has not been executed in Zoho Sheet; if evaluation of an unused branch differs in a given edition, use two simple helper columns to avoid relying on branch laziness. The official ERRORTYPE page documents its numeric codes, and Zoho documents ISERROR separately. Zoho ISERROR; Zoho IF.

Advanced use 3: missing versus broken references

If your file contains a planned missing-value marker from NA(), an ERRORTYPE result of 7 means the source cell is an actual unavailable-value error, not necessarily that a query to another system has failed. An IFNA wrapper can display a more legible message for #N/A specifically, without treating a broken reference as a normal missing value:

=IFNA(A3;"Missing product")

Under the source condition A3=NA(), the vendor-documented IFNA concept yields the text Missing product. Its specific syntax is validated by Zoho’s IFNA documentation; this guide is not a native execution report. For an actual #REF!, IFNA is not intended as an all-errors fallback. Diagnose the source instead. Zoho IFNA; Zoho ERRORTYPE.

Troubleshooting

Observation Explanation Action
ERRORTYPE gives #N/A! for a perfectly good number Expected behaviour: no error to classify Check the source; do not treat this result as an incorrect error type.
Output is 0 Zoho maps the circular-reference category to 0 Inspect the source for circular dependencies and workbook calculation settings.
Output is 7 Referenced cell contains #N/A! Investigate missing lookup keys, NA(), or other unavailable values.
Output is 2 Referenced cell contains #DIV/0! Check denominators, blank input assumptions and upstream calculations.
#NAME! appears instead of a numeric code Could be a typo in the function name, broken defined name, or invalid syntax Check spelling and source formula; do not assume every #NAME! is a classified result.
#REF! appears as the ERRORTYPE formula’s own result Its argument may itself refer to an invalid/deleted reference Repair formula reference before interpreting the classification.
#VALUE! appears Invalid argument type or construction may prevent classification Begin with ERRORTYPE(A2) using a valid single-cell reference.
" #N/A! " was typed as text Quoted text is not the spreadsheet’s actual error value Use an actual error result, e.g. =NA(), if an unavailable marker is intended.

Zoho lists #N/A!, #NAME!, #VALUE! and #REF! under possible errors for this function. The first two columns above distinguish a numeric code returned because of a source error from an error raised by the ERRORTYPE call itself; their appearance can look similar until you inspect where the formula actually failed. Official ERRORTYPE error list.

Compatibility, scope, and locale

Cross-program naming: Excel documentation calls a comparable function ERROR.TYPE; Zoho’s documented identifier is ERRORTYPE. Directly pasting formulas between spreadsheet programs may require a function-name rewrite. Do not assume their error codes, special error spellings, number of error categories, or error-propagation behavior are interchangeable. We did not import a workbook into Excel or Zoho, and this comparison is based on published vendor materials only. Zoho ERRORTYPE; Microsoft ERROR.TYPE.

Zoho’s current public English Help is a cloud-service documentation source; it does not provide a function-specific minimum version, old desktop edition matrix, full mobile parity table, or plan-tier availability guarantee. We therefore do not claim an invented date of introduction, guaranteed offline execution, or a regional difference. ERRORTYPE alone takes one argument, so argument separators are immaterial until you combine it with another function such as IF or IFNA; review the current editor’s locale settings and published formula examples for semicolon/comma usage. Zoho locale settings.

  • ISERROR — determine whether a value is any kind of error.
  • ISERR — errors except #N/A!.
  • ISNA — only #N/A!.
  • NA — deliberately generate an unavailable-value marker.
  • IFNA — supply a fallback only for the unavailable-value case.

These links point to the corresponding official vendor documentation.

Dated claim-level reference log

  • Syntax, one required reference, eight error-category mappings, no-error result, official A4/A8 examples and possible error descriptions: Zoho Help — ERRORTYPE, checked 2026-10-13.
  • Producing a true unavailable-value error: Zoho Help — NA, checked 2026-10-13.
  • Classifying any error / excluding unavailable / detecting unavailable: ISERROR, ISERR, and ISNA, all checked 2026-10-13.
  • Handling only #N/A: IFNA, checked 2026-10-13.
  • Cross-application spelling reference: Microsoft ERROR.TYPE documentation, consulted 2026-10-13 for comparison only.
  • Verification boundary: all sample outputs are derived from Zoho’s published mapping and basic independent reasoning. Zero native Zoho Sheet executions, no signed-in application screenshot, edition matrix, or supported-since-version test.