Presentation is loading. Please wait.

Presentation is loading. Please wait.

The IF Function Learning Outcome formulate and use the IF and nested IF statements formulate and use the IF and nested IF statements.

Similar presentations


Presentation on theme: "The IF Function Learning Outcome formulate and use the IF and nested IF statements formulate and use the IF and nested IF statements."— Presentation transcript:

1 The IF Function Learning Outcome formulate and use the IF and nested IF statements formulate and use the IF and nested IF statements

2 IF Statements Some explanations

3 IF Statements =IF(logical_testvalue_if_truevalue_if_false,,) EXAMPLE: Cell A2 shows total sales of a salesperson If the total sales is under £1000 the salesperson does not get any commission. If it is £1000 or more the sales person should receive 2% commission. The following IF statements are both correct =IF(A2<1000, 0, A2*2%)=IF(A2>=1000, 0, A2*2%)

4 Use of Quotation Marks If entering a CELL REFERENCE or a NUMERIC VALUE there are NO Quotation marks =IF(A2<1000 NO Quotation Marks =IF(A2 =“TEXT” Quotation Marks If entering TEXT it MUST be contained within Quotation marks

5 Nested IF Statements (1) =IF(logical_test value_if_false),, =IF(logical_testvalue_if_true,

6 Nested IF Statements (2) =IF(logical_test, value_if_true, =IF(logical_testvalue_if_truevalue_if_false,, ))

7 IF with Nested AND =IF(logical_test_1 value_if_false,, ) AND (logical_test_2, ) value_if_true

8 IF with Nested OR =IF(logical_test_1 value_if_false,, ) OR(logical_test_2, ) value_if_true


Download ppt "The IF Function Learning Outcome formulate and use the IF and nested IF statements formulate and use the IF and nested IF statements."

Similar presentations


Ads by Google