# How To Use If Function In Excel

### Now that you are familiar with the IF functions syntax lets look at some formula examples and learn how to use it in real-life scenarios.

How to use if function in excel. The IF function runs a logical test and returns one value for a TRUE result and another for a FALSE result. IF C2 1 then return Yes otherwise return No As you see the IF function can be used to evaluate both text and values. Suppose we wish to do a very simple test.

IF function in Excel checks whether a condition is met and if its TRUE it returns a value and another value if the condition does not meets FALSE. How to use the Excel IF Function. Although the latest version of Excel can accommodate a lot of IF functions multiple IF statements are not the best solution try to avoid it as much as possible.

An IF statement is a useful operation to use in Excel. We want to test if the value in cell C2 is greater than or equal to the value in cell D2. Instead of manually counting how often a certain value or number appears let Excel do the work for you.

To apply the formula you have to follow the above process. The action to perform if the condition is not met or is false. Before Excel 2007 seven is the maximum number in one formula after Excel 2007 you can use up to 64 IF functions in one formula.

The IF function accepts 3 bits of information. Use COUNTIF function to make Excel count words or numbers in any range of cells. Use the IF function in combination with the AND function and the OR function and become an Excel expert.

Next select the Use a formula to determine which cells to format option enter your formula and apply the format of your choice. For example take a look at the IF function in cell D2 below. IF Function in Excel.

### Excel Vlookup Function Vlookup Excel Excel Conditioner

Source : pinterest.com