How to Use T Formula in Excel (Video in Khmer)

Learn how to use T function in Excel step-by-step. Easy tutorial with video guides and useful tips.

Advertisement
Formula
=T(value)

Hello everyone! Today i will show you how to use T formula in Microsoft Excel. T formula in excel

T formula is one of the simplest Excel functions. Its job is very straightforward: return text if the cell contains text, otherwise return empty string "".

🛠️ Formula Syntax & How It Works

=T(value)
  • value: The cell or value you want to check. It can be a number, date, text, error, or empty cell.

How it works:

  • If value is text → Return that text.
  • If value is number/date → Return empty text "".
  • If value is error → Return that error (e.g., #N/A).

📊 Simple Examples

Let's assume you have data like this:

CellValue
A1"Khmer" (Text)
A2100 (Number)
A32024-10-26 (Date)
A4#N/A (Error)
A5"" (Empty)

Example 1: Check Text

=T(A1)

Result: "Khmer" (Because A1 is text)

Example 2: Check Number

=T(A2)

Result: "" (Because A2 is number)

Example 3: Check Date

=T(A3)

Result: "" (Because date is treated as number in Excel)

Example 4: Check Error

=T(A4)

Result: #N/A (Error value)

Example 5: Check Empty Cell

=T(A5)

Result: "" (Empty)

Advertisement

💡 Pro Tips for T Formula

  1. Clean Up Mixed Data: Use T together with IFERROR or IF to clean up mixed data. Example: =IF(T(A1)="", "", T(A1)) will return empty instead of error.
  2. Use ISBLANK or LEN instead? For checking empty cells, ISBLANK(A1) or LEN(A1)=0 are often clearer than =T(A1)="". But T works well for mixed data.
  3. Combine with CONCAT or &: You can use T to extract text from mixed range before joining: =CONCAT(T(A1), ", ", T(A2), ", ", T(A3)).

📚 Related Tutorials

Found this tutorial helpful? Share it with colleagues:
📚

Related Tutorials

Opens in new tab ↗
Advertisement