How to Use the TRUE Function in Excel

Today, we’ll explore the extremely helpful logical function in Excel and Google Sheets named TRUE.

Overview

The TRUE function straightforwardly returns the logical value TRUE. It requires no arguments, consistently providing the TRUE value.

Syntax

The syntax for the TRUE function is straightforward:

=TRUE()

Examples

Let’s delve into a few practical applications of the TRUE function:

Example 1: Using TRUE in a Formula

In this illustration, we incorporate the TRUE function into a basic formula. Consider a scenario where we need to verify if cell A1 is not empty and return TRUE if so:

Data Formula Result
42 =IF(A1<>"", TRUE(), FALSE()) TRUE

Example 2: Using TRUE in Conditional Formatting

The TRUE function can also be utilized in Conditional Formatting to emphasize cells that satisfy specific criteria. For instance, to highlight cells containing a value over 50:

  1. Select the desired range of cells for formatting.
  2. Navigate to Format then Conditional formatting.
  3. Set “Greater than” as the formatting condition.
  4. Input the formula =A1>50 and choose a formatting style.

These examples illustrate just a couple of ways the TRUE function can be utilized in Excel and Google Sheets to conduct logical operations and enhance the dynamism of your spreadsheets.

More information: https://support.microsoft.com/en-us/office/true-function-7652c6e3-8987-48d0-97cd-ef223246b3fb

Other functions
Returns TRUE if all of its arguments are TRUE
Returns the logical value FALSE
Specifies a logical test to perform
Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula
Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression
Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition
Reverses the logic of its argument
Returns TRUE if any argument is TRUE
Evaluates an expression against a list of values and returns the result corresponding to the first matching value If there is no match, an optional default value may be returned
Returns a logical exclusive OR of all arguments