
In this article
TRUE() returns the logical value TRUE. You can also just type TRUE; the function form exists for compatibility.
Advertisement
Syntax
=TRUE()
Examples
Example 1
=TRUE()
Result: TRUE. See the worked example table below for more cases.
TRUE in practice
Where you will use it
- Default arguments (e.g. exact match flags)
- Testing logic
- Compatibility with other spreadsheets
Worked example
| Check | Formula | Result |
|---|---|---|
| Value | =TRUE() | TRUE |
| As a number | =TRUE()*1 | 1 |
| Count TRUEs | =SUM(--({TRUE,FALSE,TRUE})) | 2 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Typing "TRUE" in quotes | That's text, not logical |
| Summing logicals | Wrap with -- or *1 |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Advertisement
✨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong