Note: The other languages of the website are Google-translated. Back to English

Excel T Function

The T function returns the text referred to by a value. When the value is a text or an error value, T function returns the exact text or error value. Otherwise, the function returns an empty text string. T function can be used to remove values that are not text.

t function 1


Syntax

=T (value)


Arguments

  • Value (required): The value we want to test.

Return value

The T function returns a text or an empty text string.


Function notes

  1. In Excel, dates are stored as sequential serial numbers and logical value True or False is viewed as 1 or 0 respectively. So, like other numbers, they will be converted to empty text strings by the T function.
  2. In most cases, it is unnecessary to use the T function, because Excel automatically converts values when needed. The T function is provided for compatibility with other spreadsheet programs.
  3. The T function removes values that are not text. The N function removes values that are text.

Example

To remove the numeric values from the data provided in the table below, please do as follows.

1. Please copy the formula below into cell D4, then press the Enter key to get the result.

=T (B4)

2.Select this result cell and drag its autofill handle down to get the rest of the results.

t function 2

Notes:

  1. We can also directly input a value in the formula. For example, the formula in cell D4 can be changed to:

    =T ("Laptop")

Relative Functions:

  • Excel EVEN Function
    The EVEN function rounds numbers away from zero to the nearest even integer.

  • Excel EXP Function
    The EXP function returns the result of the constant e raised to the nth power.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - www.extendoffice.com. | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL