
=IF(A1>=100,”target achieved”,”target not achieved”) In practice, an Excel if-then statement can look like this: Otherwise, the else_value behaves in the same way as the then_value. If you don’t specify anything here, the function will return FALSE. Else_value (value_if_false): This final parameter is optional.Values, character strings, cell references, and other functions can all serve as results – these should be entered in quotation marks. Then_value (value_if_true): In this parameter, enter what should happen if the condition is true.


Like every function and formula in Excel, IF is based on a specific syntax:
