TRUE Function

Returns the logical value TRUE.

Category

Logical

Available in

All versions, Microsoft 365

Returns

The logical value TRUE

Want to practice TRUE in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

=TRUE() simply returns TRUE. You'll rarely need the function form — typing TRUE straight into a cell or formula does the same thing.

What's worth understanding is how TRUE behaves: every comparison returns it, and in arithmetic it counts as 1.

Syntax

=TRUE() Explain

This function takes no arguments — the brackets stay empty.

Examples

Example 1 — Counting with TRUE = 1

How many reps reached 500? Each comparison gives TRUE or FALSE; -- turns them into 1s and 0s to add up.

D2fx=SUMPRODUCT(--(B2:B5>=500))
ABCD
1RepSalesHit target
2Ana6202
3Ben480
4Cara500
5Dev350
=SUMPRODUCT(--(B2:B5>=500)) Explain
  1. B2:B5>=500 gives TRUE, FALSE, TRUE, FALSE.
  2. The double minus turns those into 1, 0, 1, 0.
  3. SUMPRODUCT adds them: 2.

Example 2 — A catch-all in IFS and SWITCH

TRUE as the final test always passes, so it works as “everything else”.

=IFS(B2>=90, "A", B2>=80, "B", TRUE, "Below B") Explain

Common mistakes

  • SUM ignores TRUE in ranges. =SUM(D2:D10) skips TRUE/FALSE cells. Convert first with -- or N(), or use COUNTIF(D2:D10, TRUE).

Notes

  • =TRUE+TRUE returns 2; typed directly into a formula, logical values do count in arithmetic.
  • Related functions: FALSE, IF, AND, OR.
Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.