If a cell contains text

Cell Reference:
Value if cell contains text:
if the value that you want returned is a text value, you will need to include the quotation marks around the value. However, if you want to return a numeric value or referencing to a cell then there is no need to include the quotation marks.
Value if cell does not contain text:
if the value that you want returned is a text value, you will need to include the quotation marks around the value. However, if you want to return a numeric value or referencing to a cell then there is no need to include the quotation marks.
Formula:

=IF(ISTEXT(B5)=TRUE,"Contains Text","No Text")
=IF(ISTEXT(B5)=TRUE,"Contains Text","No Text")