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.