ISTEXT in WPS Spreadsheet: Text Types, Empty Strings and Identifier Validation
Classify WPS text values without converting numeric-looking strings, distinguish text type from meaningful content, and preserve leading-zero identifiers.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: ISTEXT(value) returns TRUE for a text value and FALSE otherwise. Numeric-looking text remains text for this test. An empty string is also a text result, so a TRUE result does not establish that a field contains meaningful visible content.
Availability and version history
- Introduced: documented by 2019-05-14 in official WPS material; original introduction is not established.
- Availability: The shared Windows Personal IS-function lesson names this function; the dedicated lesson’s edition field is blank.
- Scope: exact current supported builds remain unverified; this evidence does not establish equivalent behavior across every WPS client.
- Checked: October 14, 2026 against complete function-specific documentation. Examples are independently modeled; no native WPS test was performed.
Syntax and type preservation
=ISTEXT(value)
=ISTEXT("125")
=ISTEXT(125)
The final two formulas have expected results TRUE and FALSE. The shared WPS IS-function reference states that these tests do not convert the input before examining its type.
Examples use English function names and comma separators. Formula inputs such as ="125" create text explicitly, making the intended type independent of how an import happens to interpret an entry. These are documentation-based model outputs, not native WPS captures.
Example 1: classify a mixed input column
Enter this A2:A9 fixture and fill =ISTEXT(A2) down B2:B9:
| Input in A | Expected ISTEXT |
|---|---|
="Alpha" |
TRUE |
="125" |
TRUE |
="" |
TRUE |
=" " |
TRUE |
125 |
FALSE |
=TRUE() |
FALSE |
| Genuinely empty cell | FALSE |
=NA() |
FALSE |
The first four inputs are text, even though two are empty-looking. The cleared cell differs from the empty-text formula. A logical value and an actual error are also different types from text.
Convert the flags explicitly with =IF(B2,1,0) in C2 and fill down. The indicators total 4, which counts text values in this fixture, not meaningful descriptions.
Example 2: meaningful text is an additional check
For the four verified text controls Alpha, 125, empty text and one ordinary space, evaluate:
=LEN(TRIM(A2))>0
Expected results are TRUE, TRUE, FALSE and FALSE. After ordinary-space trimming, the corresponding lengths are 5, 3, 0 and 0. Only two of these four text values contain characters under this deliberately narrow policy.
TRIM does not establish removal of every possible Unicode separator, and LEN counts characters rather than judging their usefulness. A field full of punctuation could still pass this simple check.
Advanced example: preserve a leading-zero identifier
Compare three inputs:
| Input | ISTEXT | Meaning for this control |
|---|---|---|
="00125" |
TRUE | Five-character identifier retained |
125 |
FALSE | Numeric quantity 125 |
="125" |
TRUE | Three-character text |
If a code must contain exactly five characters, ISTEXT alone accepts both text rows, but the second text row is too short. On the two already verified text inputs, =LEN(A2)=5 returns TRUE for 00125 and FALSE for 125.
That still does not prove the five characters are all digits or that the code exists in an approved list. Each added requirement needs an explicit rule and controls. Converting an identifier to a number can irreversibly remove its leading zeros from the value.
Advanced distinction: formatting is not conversion evidence
A numeric 125 can be displayed with a custom format that includes leading zeros, while the stored value remains numeric. Conversely, text 125 can look like a normal number while ISTEXT remains TRUE.
Use the formula bar and type controls to investigate what is actually stored. Do not replace every text value with a numeric conversion merely because it looks numeric; it may be an account code, product key or label whose characters must be preserved.
Advanced check: compare complementary and narrower tests
For the first eight-cell fixture, ISNONTEXT gives FALSE, FALSE, FALSE, FALSE, TRUE, TRUE, TRUE and TRUE, the complementary classification. Its four TRUE results include a number, a Boolean, a blank reference and an error.
Only the numeric 125 passes ISNUMBER in that fixture. This shows why “not text” and “is a number” are not interchangeable validation rules.
Troubleshooting and limits
Quoted "#N/A" is text and passes ISTEXT; the actual error created by NA() does not. Keep these distinct when importing status strings or cleaning error displays.
These examples cover scalar references and explicitly constructed types. They do not certify every array context, imported special object, text-number parser or language-specific character convention. Use IF to label the result when useful, while retaining the original values for review.
References and verification
- WPS Academy: ISTEXT, 2019-06-10 (Chinese; edition scope as stated above).
- WPS Academy: shared IS-function syntax and nonconversion rule, May 14, 2019 (Windows Personal).
- Editorial testing standards.
The source establishes the cited product behavior and documented history, not a native-tested current release. Additional linked functions retain their own evidence scopes.