The TRUE function in Google Sheets returns the logical value TRUE. It is one of the simplest functions in the entire spreadsheet program, but it is also one of the most useful when you need to make a cell explicitly hold a boolean value rather than just typing the word. You can type =TRUE() into any cell and it will display TRUE, and you can use that cell in logical tests, conditional formatting rules, data validation, and other formulas that expect a boolean. The function takes no arguments, so you never need to put anything between the parentheses. This guide walks through exactly how to use it, where it fits, and the mistakes people make when they try to treat it like a text value.

What You'll Need

  • A Google account with access to Google Sheets (the free web version or the mobile app).
  • A spreadsheet open in a browser or the Google Sheets mobile app. The steps below describe the desktop browser version; the mobile app works the same way but the formula bar is reached by tapping the cell and then the formula entry area.
  • Basic familiarity with typing formulas that start with an equals sign.

Step-by-Step

  1. Open your spreadsheet in Google Sheets. Click the cell where you want the TRUE value to appear. Any empty cell works, but it is often clearer to put it in its own cell rather than burying it inside a longer formula.
  2. Type an equals sign to start a formula: =. The cell enters edit mode and the formula bar at the top of the screen becomes active.
  3. Type TRUE followed by a pair of empty parentheses: =TRUE(). The parentheses are required for the function form. Do not put a space, a number, or any text inside them.
  4. Press Enter (or Return). The cell now displays the word TRUE, and the formula bar shows =TRUE() when the cell is selected. Google Sheets recognises this as a boolean value, not as text.
  5. To confirm it is a real boolean and not a text string, select the cell and look at the alignment. Boolean values are centred by default in Google Sheets, whereas text is left-aligned. You can also wrap the cell in a test formula in another cell, for example =ISLOGICAL(A1), which returns TRUE only if the referenced cell holds a logical value.
  6. Use the TRUE value in a logical test. For example, if cell A1 contains =TRUE(), then =IF(A1, "Yes", "No") in another cell returns Yes. You can also combine it with AND, OR, and NOT: =AND(A1, B1) returns TRUE only when both referenced cells are TRUE.
  7. To use TRUE directly inside another formula without a helper cell, type it inline: =IF(TRUE(), "Proceed", "Stop"). This always returns Proceed because the condition is hard-coded to TRUE. This pattern is useful when you are building a formula template and want to switch a branch on or off by editing one word.
  8. If you want the opposite value, use the FALSE function the same way: =FALSE(). The two functions are counterparts and take no arguments.
  9. To apply the value in conditional formatting, select the range you want to format, open Format > Conditional formatting, and set the format rules to use a custom formula. A formula such as =A1=TRUE() will highlight cells that contain the boolean TRUE. Note that menu labels can differ slightly by version, device, or region, but the conditional formatting entry is under the Format menu in the desktop browser version.
  10. Save your work. Google Sheets saves automatically, so there is no save button to press. The TRUE value persists in the cell and recalculates only if you edit the formula.

Common Mistakes

  • Typing TRUE without parentheses and expecting a function. Typing TRUE on its own still produces a boolean in Google Sheets, but it is a literal value rather than a function call. The function form is =TRUE(), and the parentheses are what make it a function. Both produce a boolean, but only the function form is consistent when you copy formulas between tools.
  • Putting an argument inside the parentheses. =TRUE(1) is not valid because TRUE takes no arguments. Google Sheets will return an error. Leave the parentheses empty.
  • Confusing the boolean TRUE with the text string "TRUE". If you type an apostrophe before the word, or format the cell as plain text before entering the formula, you get a text string that looks identical but fails logical tests. The ISLOGICAL check described above is the quickest way to tell them apart.
  • Using TRUE where a number is expected. In arithmetic, Google Sheets coerces TRUE to 1 and FALSE to 0, so =TRUE()+1 returns 2. That coercion is convenient but can hide errors if you expected a boolean result and got a number instead.
  • Forgetting that TRUE is case-insensitive in formulas. =true() and =TRUE() behave the same way. This is not an error, but it can look inconsistent in a shared sheet, so pick one style and stick to it.

Tips

  • Use =TRUE() as a placeholder when you are building a formula in stages and want a branch that always fires. Swap it for a real condition later.
  • Combine TRUE with data validation. You can set a checkbox cell and then reference it in formulas; a checked box returns TRUE, which is equivalent to the TRUE function's output.
  • When you need a boolean in an array formula, =ARRAYFORMULA(TRUE()) fills a range with TRUE values, which is handy for building helper columns.
  • Remember that TRUE and FALSE are the only two boolean values in Google Sheets. There is no third state, so any logical test resolves to one of them.
  • If you are sharing a sheet, add a note in a nearby cell explaining that the TRUE value is intentional and not a leftover from a formula edit. This prevents collaborators from deleting it.

Troubleshooting

If the cell shows #NAME?, the function name was likely misspelled or the parentheses were omitted in a way that made Sheets treat the entry as an unknown name. Check that the formula reads exactly =TRUE() with no extra characters.

If the cell shows the word TRUE but logical tests treat it as text, the cell may have been formatted as plain text before you entered the formula. Select the cell, open Format > Number and choose Automatic, then re-enter the formula. You can confirm the fix with =ISLOGICAL(A1) in a neighbouring cell.

If a formula that references the TRUE cell returns an unexpected result, check whether the referenced cell was moved or whether the formula uses a relative reference that shifted when you copied it. Absolute references (with dollar signs) prevent that shift.

If conditional formatting does not highlight the cell, confirm the custom formula uses the correct cell reference for the top-left cell of the selected range. A common error is writing the formula for a different cell than the range start.

Frequently Asked Questions

What does the TRUE function do in Google Sheets?

It returns the boolean value TRUE. It takes no arguments and is useful when you need an explicit logical value in a cell or inside another formula.

Do I need the parentheses after TRUE?

For the function form, yes. =TRUE() is the function call. Typing TRUE without an equals sign and parentheses also produces a boolean, but the function form is the one that behaves consistently across spreadsheet tools.

Can I use TRUE in an IF formula?

Yes. =IF(TRUE(), "Yes", "No") always returns Yes because the condition is hard-coded. More commonly you reference a cell that contains TRUE, such as =IF(A1, "Yes", "No").

How do I tell TRUE from the text "TRUE"?

Use =ISLOGICAL(cell). It returns TRUE only for a real boolean. You can also check alignment: booleans are centred by default, while text is left-aligned.

Is there a FALSE function too?

Yes. =FALSE() returns the boolean FALSE and works the same way, taking no arguments.

Why does TRUE behave like the number 1 in some formulas?

Google Sheets coerces booleans to numbers in arithmetic contexts: TRUE becomes 1 and FALSE becomes 0. This is standard behaviour and is useful for counting, but it means a formula can return a number where you expected a boolean.