FormulaCraft

TRUE

TRUE is a constant function that returns the logical value TRUE with no arguments. It is used when you need to supply a literal Boolean TRUE to another function — for example, as the range_lookup argument in VLOOKUP for approximate match, or to set a default flag value in an IF condition.

Excel
=IF(A2>100,TRUE(),FALSE())
Google Sheets
=IF(A2>100,TRUE(),FALSE())

Verified example

Computed by a real spreadsheet engine on the sample data below.

FlagIs True?
TRUE=IF(A2=TRUE(),"Yes","No")
FALSE=IF(A3=TRUE(),"Yes","No")
TRUE=IF(A4=TRUE(),"Yes","No")
FALSE=IF(A5=TRUE(),"Yes","No")

=IF(A2>100,TRUE(),FALSE())TRUE

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1Use TRUE() wherever a formula requires a literal Boolean TRUE — for instance, =AND(A2>0,TRUE()) always evaluates the AND condition as partially true.
  2. 2Supply TRUE() to a function that accepts a Boolean argument: =VLOOKUP(A2,C2:D5,2,TRUE()) enables approximate match.
  3. 3Compare cell values to TRUE() in an IF: =IF(A2=TRUE(),"Yes","No") to handle cells that store Boolean values.

Need a version for your data?

Try: “Use TRUE as a literal Boolean value in a formula that requires an explicit logical argument

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: