This article describes the formula syntax and usage of the TRUE function in Microsoft Excel.

Note: The TRUE function is provided primarily for compatibility with other spreadsheet programs.

Description

Returns the logical value TRUE. You can use this function when you want to return the value TRUE based on a condition. For example:

=IF(A1=1,TRUE())

You can also enter the value TRUE directly into cells and formulas without using this function. For example:

=IF(A1=1,TRUE)

If the condition is met, Excel returns TRUE in both examples. If the condition is not met, Excel returns FALSE in both examples.

Syntax

TRUE()

The TRUE function syntax has no arguments.

See Also

IF function

Create conditional formulas

Logical functions (reference)

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.