How to Use the IF Function in Spreadsheets
Choose a cell., Enter an equal sign., Type IF. , Add open brackets., Select where the results will be displayed., Type the statement value followed by a comma., Type the condition if the statement is satisfied., Type the condition if the statement...
Step-by-Step Guide
-
Step 1: Choose a cell.
Select the cell where you want to enter the function (usually a blank cell), for example B2. -
Step 2: Enter an equal sign.
The first thing you need to do to type a function is type the equals sign (=). ,, For example =IF(. , As an example, click on cell A2. , For example =IF(A2>100, , Do this followed by a comma.
For example =IF(A2>100,"A is over 100"
. , For example =IF(A2>100,"A is over 100"
"A is less than or equal to 100". , For example =IF(A2>100,"A is over 100"
"A is less than or equal to 100"). , Press Return (or click the tick box) to complete the formula. -
Step 3: Type IF.
-
Step 4: Add open brackets.
-
Step 5: Select where the results will be displayed.
-
Step 6: Type the statement value followed by a comma.
-
Step 7: Type the condition if the statement is satisfied.
-
Step 8: Type the condition if the statement is unsatisfied.
-
Step 9: Close the brackets.
-
Step 10: Complete the formula.
Detailed Guide
Select the cell where you want to enter the function (usually a blank cell), for example B2.
The first thing you need to do to type a function is type the equals sign (=). ,, For example =IF(. , As an example, click on cell A2. , For example =IF(A2>100, , Do this followed by a comma.
For example =IF(A2>100,"A is over 100"
. , For example =IF(A2>100,"A is over 100"
"A is less than or equal to 100". , For example =IF(A2>100,"A is over 100"
"A is less than or equal to 100"). , Press Return (or click the tick box) to complete the formula.
About the Author
Sharon Davis
Experienced content creator specializing in cooking guides and tutorials.
Rate This Guide
How helpful was this guide? Click to rate: