Google Sheets T Function

This post will guide you how to use Google Sheets T function with syntax and examples.

Description


The Google Sheets T function returns the text referred to by value. You can use T function to remove values that are not text.

The T function can be used to return text when given a text value as numbers, dates or the logic values in google sheets.  The purpose of this function is to filter text values only. And its returned output is also a text.

The T function is a build-in function in Google Sheets and it is categorized as a Text Function.

Syntax


The syntax of the T function is as below:

= T (value)

Where the T function argument is:

  • value -This is a required argument. The value you want to be converted text.

Note:

  • The T function only takes one argument, value, which can be a cell reference, or a text value.
  • If the value does not refer to a text string, the T function will return an empty text.
  • If value is text, T function returns value.
  • If value is a cell reference that containing text value, T function returns the content of value.
  • If value is an error or a cell that containing an error, T function returns the error.

Google Sheets T Function Examples


The below examples will show you how to use google sheets T function to return the text string referred to by value.

#1 To return the text string value in B1, just using formula:

=T(B1) // it returns “learn google sheets free - google function”

google sheets t function1

#2 to return the text string value in cell B1 that containing a numreic value, using the following T function:

=T(B1)  //it returns “”

google sheets t function1

Note: The T function is unnecessary. As Google sheets will convert between most formats automatically. And it is provided for compatibility with formulas used in other spreadsheet programs.

 

 

Related Posts

Google Sheets TIMEVALUE Function
google sheets timevalue function1

This post will guide you how to use Google Sheets TIMEVALUE function with syntax and examples. Description The Google Sheets TIMEVALUE returns the decimal number of the time represented by a text string. It will convert a time represented by ...

Google Sheets TODAY Function
google sheets today function

This post will guide you how to use Google Sheets TODAY function with syntax and examples. Description The Google Sheets TODAY function get the current date as a date value. And it will be updated each time when your worksheet ...

Google Sheets TIME Function
google sheets time function1

This post will guide you how to use Google Sheets TIME function with syntax and examples. Description The Google Sheets TIME function converts an hour, minute and second into a time. The TIME function can be used to create a ...

Google Sheets SECOND Function
google sheets second function1

This post will guide you how to use Google Sheets SECOND function with syntax and examples. Description The Google Sheets SECOND function returns the seconds of a time value. Or returns an integer value that represent the second component of ...

Google Sheets NOW Function
google sheets now function1

This post will guide you how to use Google Sheets NOW function with syntax and examples. Description The Google Sheets NOW function returns the serial number of the current date and time. And it will be updated each time when ...

Google Sheets NETWORKDAYS.INTL Function
google sheets networkdays.intl function1

This post will guide you how to use Google Sheets NETWORKDAYS.INTL function with syntax and examples. Description The Google Sheets NETWORKDAYS.INTL function returns the number of net working days between tow given days excluding specified weekend days and holidays. The ...

Google Sheets NETWORKDAYS Function
google sheets networkdays function1

This post will guide you how to use Google Sheets NETWORKDAYS function with syntax and examples. Description The Google Sheets NETWORKDAYS function returns the number of net working days between tow given days. The NETWORKDAYS function can be used to ...

Google Sheets MONTH Function
google sheets month function1

This post will guide you how to use Google Sheets MONTH function with syntax and examples. Description The Google Sheets MONTH function returns the month of a date represented by a serial number. And the month is an integer number ...

Google Sheets MINUTE Function
google sheets minute function1

This post will guide you how to use Google Sheets MINUTE function with syntax and examples. Description The Google Sheets MINUTE returns the minutes of a time value. And the minutes is an integer number from 0 to 59. So ...

Google Sheets ISOWEEKNUM Function
google sheets isoweeknum function1

This post will guide you how to use Google Sheets ISOWEEKNUM function with syntax and examples. Description The Google Sheets ISOWEEKNUM returns the number of the ISO week of the year for a given date. ISO weeks begin on Monday ...

Sidebar