Upcoming SlideShare
×

# Lisa Donaldson Notes

381 views

Published on

Lecturer: Lisa Donaldson

HETAC: Systems Analysis and Design

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
381
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
3
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Lisa Donaldson Notes

1. 1. BUSINESS APPLICATIONS Microsoft Excel
2. 2. IF STATEMENTS <ul><li>The IF function is an example of conditional logic – something we use every day! </li></ul><ul><li>For example: If I win the lottery, Then I will be happy! </li></ul><ul><li>In Excel, If Statements are used for more complex worksheet calculations but have the same structure. The function checks a condition, decides if it is either true or false and returns a value. </li></ul><ul><li>. </li></ul>
3. 3. <ul><li>The function has three arguments: </li></ul><ul><li>the condition you want to check </li></ul><ul><li>the value to return if the condition is true </li></ul><ul><li>the value to return if the condition is false. </li></ul>Logical Test Eg >100 Value if True Rich Value if False Poor
4. 4. HOW TO WRITE THE FORMULA <ul><li>=IF(logical test, value if true, value if false) </li></ul><ul><li>In a formula, the arguments are separated by commas. In the below example, if we were comparing the contents of cell A2 and B2, this is what it would look like: </li></ul><ul><li>=IF(A2>B2,&quot;yes&quot;,&quot;no&quot;) </li></ul>
5. 5. AN EXAMPLE! What do you think the results will be here?
6. 6. THE ANSWER <ul><li>Does the result in B5 surprise you? </li></ul><ul><li>That's because the IF function is very precise. You didn't tell Excel what to do if the number equalled 19000. We’ll fix this in the next example! </li></ul><ul><li>Finished Worksheet </li></ul><ul><li>Surprised? </li></ul>
7. 7. If the deposit in the bank is greater than or equal to 100,000 euros, then it deserves an interest rate of 4%, else it gets only an interest rate of 3%. This is a calculation made very simple with an If Statement. ANOTHER EXAMPLE!
8. 8. PERFORMING CALCULATIONS WITH IF <ul><li>Finally, we can do some maths with the IF Statement! </li></ul><ul><li>In this example, we have inventoried our stockroom. Due to inflation, we must put up the costs of any items that are over 100 euros by 10%. We will get the If Function to do the hard work! </li></ul>A reminder before we start……percentages in Excel are written in decimal. Eg. 10% is written .10, 25% is written .25
9. 10. ANY QUESTIONS?