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...

10 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Choose a cell.

    Select the cell where you want to enter the function (usually a blank cell), for example B2.
  2. 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.
  3. Step 3: Type IF.

  4. Step 4: Add open brackets.

  5. Step 5: Select where the results will be displayed.

  6. Step 6: Type the statement value followed by a comma.

  7. Step 7: Type the condition if the statement is satisfied.

  8. Step 8: Type the condition if the statement is unsatisfied.

  9. Step 9: Close the brackets.

  10. 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

S

Sharon Davis

Experienced content creator specializing in cooking guides and tutorials.

82 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: