Explanation: the AND function returns TRUE if the first score is greater than or equal to 60 and the second score is greater than or equal to 90, else it returns FALSE. For example, take a look at the IF function in cell D2 below. In this example, the formula in F7 is saying IF(E7 = “Yes”, then calculate the Total Amount in F5 * 8. Use the IF function in combination with the AND function and the OR function and become an Excel expert. So the formula in E2 is saying IF(Actual is Greater than Budgeted, then Subtract the Budgeted amount from the Actual amount, otherwise return nothing). In the above illustration, instead of returning a text result, we are going to return a mathematical calculation. In the above example, the IF function in D2 is saying IF(C2 Is Greater Than B2, then return “Over Budget”, otherwise return “Within Budget”) You can also nest multiple IF functions together in order to perform multiple comparisons. You are not limited to only checking if one thing is equal to another and returning a single result, you can also use mathematical operators and perform additional calculations depending on your criteria. In this example, the formula in cell D2 says: IF(C2 = 1, then return Yes, otherwise return No)As you see, the IF function can be used to evaluate both text and values. In the above example, cell D2 says: IF(C2 = Yes, then return a 1, otherwise return a 2) This is how you may write the Excel IF Formula for. Else (for less than 60) the result is Fail. The value that you want returned if the result of logical_test is FALSE. Use Less Than or Equal To With the IF Function. If marks are greater than or equal to 60 then the Result is Pass. The value that you want returned if the result of logical_test is TRUE. Use the IF function, one of the logical functions, to return one value if a condition is true and another value if it's false.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |