×
英语
很抱歉。本文没有你的语言版本。

TRUE function

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)

扩展你的 Office 技能
了解培训
抢先获得新功能
加入 Office 预览体验计划

此信息是否有帮助?

谢谢您的反馈!

谢谢你的反馈! 可能需要转接到 Office 支持专员。

×