ISTEXT Function in ONLYOFFICE Spreadsheet Editor: Formula & Examples
Identify text cells and distinguish stored identifiers from numbers, blanks and Boolean values.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: The original introduction version and date are not established by the official sources checked.
- Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
- Scope: Docs and Desktop Editors release separately. This unversioned help does not establish availability in every older build, mobile client or deployment.
- Checked: October 14, 2026, against the official function reference. Documentation check; not a new native test.
Quick answer
Use =ISTEXT(value) to test whether a value is text, including text identifiers that contain digits. ISTEXT has one required argument, value, and no documented optional arguments. A TRUE or FALSE result describes the underlying value or reference—not how a formatted cell looks. This guide does not establish native-tested compatibility. See the official ISTEXT function reference.
What the function does
Returns TRUE for text values and FALSE for nontext values, helping validate IDs, labels and imported type mismatches. The ONLYOFFICE ISTEXT help article describes it as an Information function. Its value argument can be a blank cell, an error, a logical value, text, a number, a cell reference or a name referring to one of those. The vendor says TRUE for text content and FALSE for nontext content; one required argument named value. The article does not provide a separate version history for the function.
Exact official syntax and arguments
=ISTEXT(value)
| Argument | Required | Type / meaning | Default |
|---|---|---|---|
value |
Yes | The value or reference to test. Literal strings must be quoted in formulas; text-formatted IDs are treated as text only when stored as text. | None; this argument cannot be omitted. |
value is a parameter name, not literal text you should type without a defined name. For example =ISTEXT(A2) tests the value or reference at A2; =ISTEXT("007") tests a text literal. The official help does not document multiple-argument variants or optional default values. For a single cell test, pass one reference, not a large range whose array behaviour has not been verified.
Version, edition, and regional settings
Documentation checked: 2026-10-13 (UTC). The official ONLYOFFICE Spreadsheet Editor function catalogue and the function-specific help article document the current English-language formula, but neither identifies the first build to implement this function. ONLYOFFICE announced Docs 10.0 on October 10, 2026; that release announcement is not native execution evidence and does not establish that every older Docs, Desktop or mobile build behaves identically.
- ONLYOFFICE Docs (web/server): the English documentation includes this function. No installed web/server build was executed for this guide.
- Desktop Editors (Windows, macOS, Linux): Desktop changelog was checked separately. The available documentation does not establish a first-supported version or prove identical results on all desktop editions; test the installed build.
- Other integrations/mobile: not tested and no support matrix inferred.
- Formula language and locale: English examples use
=FUNCTION(value)and comma-separated arguments where multiple arguments occur, following function insertion help. Advanced Settings describes regional settings and Formula Language. Names, separators, date parsing, and number parsing may vary with the target editor’s language and locale. This single-argument function has no separator inside its own call; nestedIFexamples contain commas in English mode. Never assume that a semicolon is universally correct.
Validation label: the examples below show expected results checked against documented type rules and independent reasoning, not observed outputs from an ONLYOFFICE application. Where the official help omits an edge case, it is explicitly marked as requiring native verification.
Build the example worksheet (exact inputs)
In a fresh worksheet, set A1 to Source, B1 to ISTEXT result, and C1 to Notes. Populate the listed source cells deliberately; to preserve text that resembles a number, format the cell as Text before entry. A genuinely empty cell must be cleared rather than replaced by a single space or a formula.
| Source cell | Exact setup | Expected =ISTEXT(cell) |
Evidence/validation |
|---|---|---|---|
| A2 | Format Text first; type 007 | TRUE | Documentation/type reasoning |
| A3 | Enter numeric 7 | FALSE | Documentation/type reasoning |
| A4 | Type Open as ordinary text | TRUE | Documentation/type reasoning |
| A5 | Leave genuinely empty | FALSE | Documentation/type reasoning |
| A6 | Enter formula ="" | TRUE | Native test needed for formula-produced empty text |
| A7 | Enter logical TRUE | FALSE | Documentation/type reasoning |
| A8 | Format Text first; type 12.50 | TRUE | Documentation/type reasoning |
| A9 | Enter formula =UPPER(“ok”) | TRUE | Documentation/type reasoning |
In B2, enter =ISTEXT(A2) and copy it down to the last listed row. The expected outcomes are an independently reasoned test oracle using the input type and the vendor’s TRUE/FALSE definitions. They are not screenshots, screenshots OCR, or observed ONLYOFFICE results. In particular, empty-string formulas may vary by engine: confirm these rows on installed Docs and Desktop editors.
Step-by-step verification
- Create the inputs exactly, including the intentionally blank cell, and record which cells are explicitly formatted as Text.
- Enter the formula in
B2, then fill down. Check that the references advance fromA2to the correct row; do not edit the raw data. - Compare actual results from your own installed software with the expected table. Note any difference, including both editor build and formula language.
- Select any surprising cell and inspect its formula bar; do not infer its storage type from alignment or display alone.
- Retest with a fresh workbook if CSV import may have retyped values; keep import settings and sample data with your test report.
Working example: product codes and CSV import typing
Enter the test cases in A2:A9. Format A2 as Text before entering 007, otherwise a spreadsheet can convert the value to the number 7 and discard meaningful leading zeroes. To make the distinction visible, compare A2 (text 007) against numeric 7 in A3.
In B2, enter =ISTEXT(A2) and fill down through B9. Expected TRUE for A2, A4 and A8; expected FALSE for numeric A3, logical A7 and truly empty A5. The ="" and =UPPER("ok") cases are formula-produced text expectations and require native testing of the target build.
For a warehouse import, use =IF(ISTEXT(A2),"PRESERVE CODE","CHECK TYPE"). Expected: PRESERVE CODE. Changing the reference to A3 should yield CHECK TYPE. This labels stored data types—it does not by itself prove that the string is a valid stock-keeping unit. Add format-specific business rules separately.
A blank display can still be text
A formula ="" returns an empty string rather than placing nothing in the cell. The pinned ONLYOFFICE string-type check supports =ISTEXT(A6) as expected TRUE because its result is text, while =ISTEXT(A5) for a genuinely empty A5 is expected FALSE. The short help entry does not spell out this distinction, but the source-backed controls below distinguish string and empty-value objects. Native behavior in the installed web/Desktop build is still untested.
The direct literal =ISTEXT("") should also be tested separately: an explicit empty-text value and an empty cell reference are not the same input scenario.
Advanced case: keep validation separate from conversion
To label numeric-looking input as text versus numeric, place text 12.50 in A8 and enter =IF(ISTEXT(A8),"TEXT IMPORT","NUMERIC INPUT"). Expected: TEXT IMPORT. If the business process needs arithmetic, ONLYOFFICE’s VALUE(text) is the documented conversion function; e.g. =VALUE("12.50") is expected 12.5 in English decimal convention. Locale interpretation of decimal points must be tested. Preserve raw input rather than overwriting it.
The text formula =UPPER("ok") should return OK according to the UPPER reference. That makes =ISTEXT(A9) a useful candidate to distinguish formula-output type from formula presence, but no installed ONLYOFFICE execution was performed.
Not interchangeable with ISBLANK or ISNUMBER
- ISTEXT asks whether the tested value is text.
- ISNUMBER asks whether the tested value is numeric.
- ISBLANK asks whether the referenced cell contains no value.
A cell containing one space is text; a genuinely empty cell is not. The textual identifier 007 differs from numeric 7, even when both are part of a code field. Do not assume that a text-looking custom cell format proves a value was stored as text.
Real-world limitations
- Labels and IDs: ISTEXT does not check permitted characters, exact length, uniqueness or authenticity.
- Mixed-value columns: validate type row by row before joins or lookups; imported number/text mismatches can cause false negatives.
- Formula outputs: use the result for type checking, but verify empty-string and error-value cases in the installed build.
- Dates: a displayed date may be a numeric serial; ISTEXT is not a reliable date-validity test by itself.
- Logical values: TRUE/FALSE should not automatically be treated as strings merely because they are visibly spelled out.
Compatibility and transfer notes
Microsoft Excel’s official IS-functions documentation describes the same single-argument family and TRUE/FALSE value tests. That is useful as an Excel comparison, not proof of EXACT ONLYOFFICE equivalence. A simple numeric literal or stored text should be portable, but true blanks versus formula-generated empty strings, date serials, error cases and locale-dependent conversion need local validation. We have not tested LibreOffice Calc, Google Sheets, older ONLYOFFICE Docs versions, current Desktop builds, or mobile editions; no complete equivalence claim is made.
Related function references retained from the October 13 review: IF, VALUE, UPPER. These are external official help pages.
Source-checked scalar controls and a complete type fixture
The calculation routine tests whether the evaluated scalar is a string object. It does not inspect whether the characters look like a number, an error token or a Boolean. An empty string and a single-space string still have that type; a genuinely empty reference has a different type. This behavior is corroborated by the pinned ONLYOFFICE calculation source, inspected on October 15, 2026. The Help Center references elsewhere retain their original October 13–14 checking dates. Reading this fixed source revision does not establish which released Desktop or Docs build embeds it.
Create a separate worksheet named TypeControls so it does not overwrite the earlier examples. In A1 type Input and in B1 type ISTEXT. Enter the following inputs in A2:A11. Enter =ISTEXT(A2) in B2 and fill through B11. Formula strings use straight quotation marks. Do not type the word “blank” into the cleared cell.
| Row | Input type | Entry in A | Expected B |
|---|---|---|---|
| 2 | Numeric value | 125 |
FALSE |
| 3 | Numeric-looking text | ="125" |
TRUE |
| 4 | Logical TRUE | =TRUE() |
FALSE |
| 5 | Logical FALSE | =FALSE() |
FALSE |
| 6 | Empty text | ="" |
TRUE |
| 7 | One space | =" " |
TRUE |
| 8 | Cleared cell | Leave A8 completely empty |
FALSE |
| 9 | Unavailable error | =NA() |
FALSE |
| 10 | Division error | =1/0 |
FALSE |
| 11 | Error-looking text | ="#N/A" |
TRUE |
These are source-backed scalar expectations, not observed workbook cells. An isolated JavaScript check exercised the exact predicate body with synthetic numeric, string, Boolean, empty and error objects, both directly and through synthetic single-cell references. It did not load the editor, parser, workbook engine or graphical application. The formula inputs above still need to be entered and recalculated in the target installation if native confirmation is required.
A range is not an automatic whole-column audit
The source explicitly resolves single-cell references before the type check. Its range branch calls an intersection helper, so passing A2:A11 must not be described as checking every row or summarizing all values. This guide uses one cell at a time and fill-down. Array entry, spill behavior, invalid references and cross-sheet coercion remain outside the tested scope; the helper code alone is not a guarantee about the surrounding formula engine.
Advanced: an identifier type check is not a completeness check
On IdentifierAudit, enter ="007", =7, ="", =" ", and ="A-10" in A2:A6. In B2 use =ISTEXT(A2) and in C2 use =LEN(A2); fill both through row 6. The independently expected B results are TRUE, FALSE, TRUE, TRUE, TRUE and the lengths are 3, 1, 0, 1, 4. The length of numeric 7 here is a separate text-conversion expectation of LEN, not part of ISTEXT’s contract; use the text rows for the identifier check.
In D2 use =IF(ISTEXT(A2),IF(LEN(A2)>0,"Text supplied","Empty text"),"Wrong type"). Expected labels are Text supplied, Wrong type, Empty text, Text supplied, Text supplied. The space-only row demonstrates why even the combined type-and-length rule is insufficient for a real code policy. Decide separately which whitespace and characters are allowed; do not automatically strip meaningful leading zeroes. These composed formula expectations are independent checks, not native observations.
Troubleshooting
- Formula shown literally: confirm a leading
=, not a leading apostrophe, and inspect whether the destination cell is formatted as Text. - Unexpected TRUE/FALSE: inspect source cells in the formula bar. A space, invisible character, stored number, text-formatted number, or formula returning an empty string can change the type test.
- Unknown function or syntax warning: use Formula → More functions → Information or the function search dialog; compare the installed version with the current vendor syntax and your Formula Language choice.
- Copied references appear wrong: check the row/column coordinates and avoid moving the reference when a fixed cell was intended.
- Stale result: the ONLYOFFICE function insertion guide documents calculation/recalculation controls and the Show Formulas feature; confirm that formulas were recalculated.
- Still inconsistent: record a minimal workbook, raw cell contents, exact formula, screenshot of formula bar, output, editor build, operating system, formula language, region settings and a redacted error description. Escalate for controlled native testing rather than asserting a defect.
What was and was not verified
| Check | Result |
|---|---|
| Function name, one required argument, semantics | Official English ONLYOFFICE function help (documentation check) |
| Simple typed-number/text/blank fixtures | Independent type reasoning; expected, not observed |
| Formula-built empty text and error-valued cells | Source-backed scalar expectations below; native verification still required |
| Installed Docs web and Desktop versions | NOT EXECUTED |
| Localized spellings, separators and mixed-format CSV imports | NOT EXECUTED |
Official references and further reading
- ONLYOFFICE Spreadsheet Editor function catalogue — syntax entry points and insertion method; accessed 2026-10-13.
- ONLYOFFICE Advanced Settings — Formula Language and regional controls; accessed 2026-10-13.
- ONLYOFFICE Docs changelog and Desktop Editors changelog — separate release streams; neither supplies a per-function cross-platform runtime guarantee; accessed 2026-10-13.
- ONLYOFFICE Docs 10.0 release announcement — published 2026-10-10; only edition/release context, not formula test proof.
- Microsoft’s Excel IS-functions reference — cross-application comparison only, not authoritative for ONLYOFFICE behaviour; accessed 2026-10-13.