## Excel TRUE function

The TRUE function is one of the logical functions in Excel, it returns the logical value TRUE. It is as the same as to entering the Boolean value TRUE directly in a formula. It is a compatibility function, always be used with other logical functions such as IF, ERROR, etc.

#### Syntax:

The syntax for the TRUE function in Excel is:

=TRUE()

Notes:

• 1. There are no parameters or arguments at the TRUE function. The function returns a value of TRUE.
• 2. It can be applied at Excel 2000 and later version.
• 3. For calculation purpose, TRUE is a number 1 and False is a number 0, they can be used for calculating, such as:
•  TRUE+TRUE=2 FASE+TRUE=1 FALSE+FALSE=0

#### Return:

Return the logical value TRUE.

#### Examples:

##### Example 1: Check if cell value is greater or less than a specific value

For example, I have a list of actual sales table of the products, now, I want to check if the actual sales exceed the target sales or not, see screenshot:

Please apply this formula, and then you will get TRUE if met the condition, if the condition is not met, a FALSE is returned, see screenshot:

=IF(B2>300,TRUE())

Note: You can also enter the value TRUE directly into the formula as this: =IF(B2>300,TRUE).

##### Example 2: Compare if values in two adjacent cells are equal

To compare two adjacent cells if they are equal or not, the TRUE function can do this operation.

Please use the following formula, and you will get the result as below screenshot shown:

=IF(A2=B2,TRUE())

Note: You can also enter the value TRUE directly into the formula as this: =IF(A2=B2,TRUE).

### The Best Office Productivity Tools

#### Kutools for Excel - Helps You To Stand Out From Crowd

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ... Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup... Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Columns to Select Same & Different Cells ... Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

#### Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

• One second to switch between dozens of open documents!
• Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
• Increases your productivity by 50% when viewing and editing multiple documents.
• Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.