A TRUE function is a logical function which returns the value TRUE. In excel while calculation or applying any condition, we want that output must return a true value. In these scenarios, we use a TRUE function which is the built-in function in Excel. It is a very useful function when you want to return the output as TRUE based on a condition. A TRUE function is the same like Boolean value TRUE. It’s also called a conditional function.
A TRUE function can be used with other logical functions like IF, ERROR etc.
This function doesn’t require any argument.
=TRUE without parentheses. This will also return the logical value TRUE.
=TRUE() which return the logical value TRUE.
How to Use the TRUE Function in Excel?
A TRUE function is a worksheet function. This TRUE function is very simple easy to use. Let us now see how to use a TRUE function with the help of some examples.
TRUE and TRUE() gives the same result and we can use both vice-versa.
Now we will see the use of a TRUE function with IF function. We want to check if the below values are greater than 30.
We can use a TRUE function with various logical conditions.
In above example, If condition met and return TRUE then the expression will return the second argument as output i.e. “PASS”.
If the condition doesn’t meet the criteria and return False, then the output will be the third argument which is “FAIL”.
Now we have to calculate the commission of sales employee based on target achieved by them. Here we will use IF function.
thus if condition returns TRUE then the employee will get 20% commission.
If condition False then they will get 10% commission.
A mostly TRUE function is used with other functions.
TRUE function without parentheses gives the same result as TRUE().
In the mathematical calculation, always TRUE is equal to 1 and False is equal to 0.
If we want to get the result as TRUE, we directly use TRUE formula and excel will return logical value TRUE as output.
Logical expressions automatically return Boolean values TRUE or False as output.
TRUE function helps us to understand whether a given condition is actually true or not.
Use of TRANSPOSE in MS Excel?