Presentation on theme: "The IF Function By Wanda Gibson, CI, MMI, SME. The Basic Worksheet Key the worksheet in Excel."— Presentation transcript:
The IF Function By Wanda Gibson, CI, MMI, SME
The Basic Worksheet Key the worksheet in Excel.
IF Function The function can be broken down into three specific parts. Logical Test or Condition What happens if the condition is True What happens if the condition is False
Add the following column headings to the worksheet in the specified columns: FRoyalty Bonus GSales Bonus HProfit
We are going to do three IF Functions together. Then you will be assigned 5 IF Functions to do as practice. Practice should include writing the IF Function out on the review sheet, keying the IF Functions directly into the cell AND using the Insert Function (fx) to open the Function Arguments dialog box to break the formula down.
The IF Functions we will be doing are based on the following fields: Royalty Net Sales Net Income
The IF Function In F4, create an IF function using the following scenario. If the Royalty is greater than or equal to $10,000 add $500 as Bonus. =if(c4>=10000,500,0) Logical Test True False
=if(C4>=10000,500,0) Logical Test – C4>=10000 True – 500 False -- 0 Formula is here
Function Arguments screen of the same formula.
If Net Sales is greater than or equal to $50,000 add $750 as Sales Bonus. There is no answer because the assumption is false
The Function Arguments screen of the IF Function B4 is not larger than 50,000, so logical test is false
If Net Income is less than $20,000, input “increase advertising” in the Advertising Need line otherwise input 0. Text is included in quotation marks in IF Function.
Function Argument of the formula
Add the following Additional Column Headings to the existing worksheet. C10Commission D10Production Cost Adjustment E10Royalty Adjustment Practical Exercises
Write the IF Functions on the handout for the following scenarios. After writing them out key the appropriate formula in the worksheet according to your instructions. In C11, use the following function: If Net Income is greater than or equal to $15,000, there is a 15% commission on the Net Income, if it is less than $15,000, there is only a 10% commission. In D11, use the following function: If Production Cost is less than $10,000, add $3,000 to Net Income, if not add nothing.
In E11 use the following function: If Royalty is greater than $10,000, subtract $3,000 from Net Income, if not, subtract nothing. In F11 and G11, create two additional IF Functions. Follow the same procedure as the three previous functions.
Permissions Microsoft product screen shots reprinted with permission from Microsoft Corporation.