If it is under 100, then the term "OK" is displayed. If the condition returns "true," then the text "Over" displays. In this example, the condition is set to evaluate if a cell value is over 100. This means that you only need to type a formula once, and then you can copy the same formula to several cells in the same column or row. When you copy cells with formulas and functions, Excel automatically changes the referenced cell values to the new row number. The IF statement is typed in the F4 cell and instead of typing the IF statement again in the F5 row, the original C4 calculation was copied and pasted to F5 and F6. If a payment is not over $100.00, then the text "OK" will display instead. In the "Expenses" example spreadsheet, the goal is to display the text "Over" if an Internet payment is over $100.00. You just need to type it once and copy and paste the original cell to each row that you want to evaluate. When you create complex IF statements, you don't need to retype the statement for every cell. Interested in learning more? Why not take an online Advanced Excel 2019 course? You can do this with an IF function to display results in adjacent cells. This will tell you if you've spent too much on Internet bills by overpaying for bandwidth. Using the "Expenses" spreadsheet example, you may want to flag any Internet payments over a certain threshold. IF statements can be complex and nested, or you can use them for simple conditions. The way you set up your IF statement depends on the purpose of the calculation and the results that you want to display. You can display nothing if a condition returns "false," or you can perform another calculation or display an alternative value. The second parameter only processes if the condition from the first parameter returns "true." You can display a value or text, or you can proceed to an additional calculation using this second parameter. The first parameter is required, because it's the condition that you want to evaluate against a cell's stored value. The IF statement in Excel 2019 has the following syntax: A value must only meet one condition with these statements to return true, and this can lead to accidental bugs in your Excel formulas. The most common mistake is using a greater to or equal to condition when you only want to return true if a value is greater than another value. Logical errors are common when creating IF formulas, because just a simple mistake of using the wrong inequality symbol can make the entire calculation incorrect. (not equal to): the value does not equal the comparison value. The value only needs to meet one condition (greater than or equal to) for the condition to return "true." >= (greater than or equal to): the value must be higher or equal to a comparison value. > (greater than): a value must be a higher value than the comparison value = (equal to): a value must match the condition exactly The following operators are used in Excel: There are several logical operators that are standard across all programming languages. IF statements use logical operators to evaluate conditions. You can have nested IF statements within each other, which can make Excel formulas very complex. In Excel, the second and third conditions are optional, but the first evaluation condition is required. What to do when the condition evaluates to false.What to do when the condition evaluates to true.An IF statement requires two parameters with an optional third parameter: The always have the same, basic structure. Every programming language has conditional statements.