How to use TRUE function in Excel?

The `TRUE` function in Excel is quite straightforward but also relatively simple compared to other functions. It is primarily used to return the logical value `TRUE`. This can be useful in various scenarios, particularly in logical tests or comparisons. Here’s how you can use it:

Basic Usage

  • Direct Entry: You can directly use `TRUE` in a formula. For example, you can enter `=TRUE()` into a cell, and it will return the logical value `TRUE`.
  • Logical Tests: The `TRUE` function is often used in logical expressions. For example, if you have a logical condition such as `=A1 > 10`, it will return `TRUE` if the statement is correct or `FALSE` if it is not.
  • Combined with Other Functions: The `TRUE` function can be used in combination with other logical functions like `IF`, `AND`, `OR`, etc., to build more complex logical tests.
    • Example with IF: `=IF(A1 > 10, TRUE, FALSE)` – This formula checks if the value in cell A1 is greater than 10. If so, it returns `TRUE`; otherwise, it returns `FALSE`.
    • Example with AND: `=AND(A1 > 5, A2 < 10, TRUE)` – The use of `TRUE` here doesn’t change the essence of the `AND` function, but acts as a logical statement that remains constantly true.

A Few Notes:

  • Typically, you don’t need to use `=TRUE()` explicitly in most cases, since Excel recognizes the word `TRUE` as the logical value by default.
  • In Excel, `TRUE` is equivalent to the number `1` in numerical calculations, and `FALSE` is equivalent to `0`.

Practical Examples:

  • Conditional Formatting: You can use `TRUE` in criteria for conditional formatting. For instance, highlight cells if a condition is always `TRUE`.
  • Data Validation: In creating rules for what data can be entered into a cell, use `TRUE` to establish conditions.

Overall, while the `TRUE` function might seem basic, its utility shines through when combined with other functions to perform logical evaluations within your spreadsheets.

Unlock Your Potential

Excel

Basic - Advanced

Access

Access Basic - Advanced

Power BI

Power BI Basic - Advanced

Help us grow the project