You are on page 1of 12

Sample Workbook to Excel ISTEXT and ISNONTEX

The workbook shows how to use the ISTEXT and ISNONTEXT functions in Excel to check if a cell contains a textual value o

Author
Last update
Tutorial URL

Examples:
• Check if a value is text
• Data Validation to allow text only
• If is text then
• Check cell's input
• Check if a range contains any text
• Check if a cell contains specific text
• Highlight cells that contain text
mple Workbook to Excel ISTEXT and ISNONTEXT function
rkbook shows how to use the ISTEXT and ISNONTEXT functions in Excel to check if a cell contains a textual value or not.

Ablebits.com
30-Mar-20
Excel ISTEXT and ISNONTEXT functions with formula examples

a value is text
lidation to allow text only
then
ell's input
a range contains any text
a cell contains specific text
ht cells that contain text
Value Data type Is text? Is not text?
100 number 0 TRUE
1/1/2019 date FALSE TRUE
8:20 AM time FALSE TRUE
Apples text TRUE FALSE
15-09A text TRUE FALSE
#N/A error FALSE TRUE
empty cell FALSE TRUE
Question Answer Only text values are allowed in cells B2 through B5. If you
1. Do you read a lot? Yes
2. What is your hobby? Tennis
3. Do you have a pet? Yes
cells B2 through B5. If you try to enter number or date, an error alert will appear.
Value Is Text?
100 No
1/1/2019 No
8:20 AM No
Apples Yes
15-09A Yes
#N/A No
Question Answer Validity
1. Do you read a lot? Yes Valid answer
2. What is your hobby?
3. Do you have a pet? 2 Invalid answer - please enter text.
Value 1 Value 2 Value 3 Row contains text?
F567 0123D 23451 Yes
8974 8734 6786 No
DF786 VB-68 1-PO98 Yes
98675 23569 12345 No
Item ID Contains text string? Text string to search
AA-01 No AB
AA-02 No
AB-01 Yes
AB-02 Yes
BB-01 No
BB-02 No
Value 1 Value 2 Value 3
F567 0123D 23451
8974 8734 6786
DF786 12368 1-PO98
98675 23569 12345

You might also like