Go Back

A Guide to the ISTEXT Function in Excel



Excel allows a user to check if a value is text, by using the ISTEXT function. This step by step tutorial will assist all levels of Excel users in checking if a value or a value of a cell is text.

Figure 1. The result of the ISTEXT function

Syntax of the ISTEXT Formula

The generic formula for the ISTEXT function is:

=ISTEXT(value)

The parameter of the ISTEXT function is:

  • value – a value or a cell which we want to check if it is text

If a selected value is text, the function will return TRUE as a result. Otherwise, it will return FALSE.

Check If Cells Value is Text by the ISTEXT function

In our example, we want to check if the value from the cell B3 is text. In B3, we put “Text” as the value.

The formula is:

=ISTEXT(B3)

The parameter value is the cell B3, while the result is in the cell C3.

To apply the ISTEXT function, we need to follow these steps:

  • Select cell C3 and click on it
  • Insert the formula: =ISTEXT(B3)
  • Press enter

Figure 2. Using the ISTEXT function to check if the value in the cell is text

The value in B3 is text, so the function returns Boolean TRUE as a result in the cell C3.

If we put a number in the cell B3, the function will return FALSE. If we put a number under double quotations, the function considers it as text and returns TRUE:

Figure 3. Using the ISTEXT function to check if the value in the cell is text

Notes

There is a specific case when using the ISTEXT function – checking numbers stored as text. If the number is stored as a text, the ISTEXT will return TRUE:

Figure 4. The ISTEXT checking the number stored as text

In the cell B3, we put 3, but the cell is formatted as text. Because of that, the ISTEXT returns TRUE as a result.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

I need to loop through records in a listobject table, if the value in column J is not text (IsText = False), then copy the value in J to column L.
Solved by F. H. in 12 mins
Need to create a nested IF formula =IF(ISTEXT($B$8),IF(AND(N12<=($B$7+$B$9),SUM(OFFSET(N13,0,-$B$6,1,$B$6))=0,$B$9,"0")))
Solved by M. Y. in 22 mins
why wont this formula work =IF(OR(B3="",C3="",D3="",E3=""),"",B3&IF(ISTEXT(FIND("?",B3)),"&","?")&"utm_source="&C3&"&utm_medium="&D3&"&utm_campaign="&E3&IF(F3<>"","&utm_siteid=&F3)&IF(G3<>"","&utm_adformat=&G3,)&IF(H3<>"","&utm_product=&H3,)&IF(I3<>"","&utm_audience=&I3,)&IF(J3<>"","&utm_term=&J3,"")&IF(K3<>"","&utm_content=&K3,""))
Solved by D. J. in 30 mins

Leave a Comment

avatar