MODELLING. IF...THEN Function EXCEL 2007. Wherever you see this symbol, make sure you remember to save your work!



Similar documents
Excel 2003: Ringtones Task

Setting up a basic database in Access 2003

Setting up a basic database in Access 2007

NESTED IFS, IF(AND), IF(OR)

ROUND(cell or formula, 2)

Getting Started with Excel Table of Contents

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

Excel Spreadsheet Activity Redo #1

Advanced Excel 10/20/2011 1

Spreadsheet. Parts of a Spreadsheet. Entry Bar

MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11

DATA HANDLING: SETTING UP A DATABASE

Designed by Jason Wagner, Course Web Programmer, Office of e-learning ZPRELIMINARY INFORMATION... 1 LOADING THE INITIAL REPORT... 1 OUR EXAMPLE...

Excel Functions (fx) Click the Paste Function button. In the Function Category select All. Scroll down the Function Name list And select SUM.

Microsoft Excel Tutorial

Instructions for applying data validation(s) to data fields in Microsoft Excel

When To Work Scheduling Program

Pivot Tables & Pivot Charts

Creating a Distribution List from an Excel Spreadsheet

Microsoft Excel Tips & Tricks

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

How to Create a Data Table in Excel 2010

Microsoft Excel Basics

Excel Level Two. Introduction. Contents. Exploring Formulas. Entering Formulas

Analyzing Data Using Excel

PA Payroll Exercise for Intermediate Excel

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Formatting Formatting Tables

Formulas & Functions in Microsoft Excel

Creating A Grade Sheet With Microsoft Excel

EXCEL EXERCISE #8: Consolidating and Linking Spreadsheets

What is the difference between simple and compound interest and does it really matter?

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL.

Instructions for Using Excel as a Grade Book

Chapter 9 Creating Reports in Excel

Almost all spreadsheet programs are based on a simple concept: the malleable matrix.

How to Excel with CUFS Part 2 Excel 2010

MICROSOFT EXCEL STEP BY STEP GUIDE

Years after US Student to Teacher Ratio

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

STEP TWO: Highlight the data set, then select DATA PIVOT TABLE

Using the Advanced Tier Data Collection Tool. A Troubleshooting Guide

INTRODUCTION TO EXCEL

Microsoft Excel: Exercise 5

Microsoft Excel 2010 Part 3: Advanced Excel

Working with Data in Microsoft Excel 2003

Creating Basic Excel Formulas

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

Merit Tool User Instructions Table of Contents

Excel Database Management Microsoft Excel 2003

Departmental Reporting in Microsoft Excel for Sage 50 Accounts

Using Excel to find Perimeter, Area & Volume

1. Go to your programs menu and click on Microsoft Excel.

1. Linking among several worksheets in the same workbook 2. Linking data from one workbook to another

Creating a Gradebook in Excel

EXPORTING THE SCHOOL ROSTER INTO AN EXCEL SPREADSHEET

How To Use Excel To Compute Compound Interest

MBA Quantitative Methods PC-Exercises Introductory Examples

Microsoft Excel 2007 Level 2

Graphing Parabolas With Microsoft Excel

Downloading RIT Account Analysis Reports into Excel

Spreadsheet - Introduction

Making an online form in Serif WebPlus

Excel 2003 A Beginners Guide

Introduction to Microsoft Access 2003

Creating an Access Database. To start an Access Database, you should first go into Access and then select file, new.

Using Formulas, Functions, and Data Analysis Tools Excel 2010 Tutorial

Formulas & Functions in Microsoft Excel

Briefing document: How to create a Gantt chart using a spreadsheet

What is Microsoft Excel?

Analyzing Excel Data Using Pivot Tables

USING EXCEL 2010 TO SOLVE LINEAR PROGRAMMING PROBLEMS MTH 125 Chapter 4

Excel 2007 A Beginners Guide

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

How to make a line graph using Excel 2007

Essential Skills for Spreadsheets Microsoft Excel TR Leger Adult Literacy and Employment Preparation Program

Excel Math Project for 8th Grade Identifying Patterns

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

A Guide to Using Excel in Physics Lab

Lesson 6 - Managing Resources in a Project Plan

CREATING FORMAL REPORT. using MICROSOFT WORD. and EXCEL

EXCEL FINANCIAL USES

Creating Survey Forms from a Word Table

Using VLOOKUP to Combine Data in Microsoft Excel

Preface of Excel Guide

0 Introduction to Data Analysis Using an Excel Spreadsheet

Excel Database Management

Microsoft Office Excel 2013

RIT Installation Instructions

27 Spreadsheet. modelling. Learning outcomes. Credit value: 10

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

ECDL. European Computer Driving Licence. Spreadsheet Software BCS ITQ Level 2. Syllabus Version 5.0

Excel Project From the Start menu select New Office Document. If necessary, click the General tab and then double-click Blank workbook.

Instructions for Creating Silly Survey Database

Microsoft Excel v5.0 Database Functions

Microsoft Excel 2010

Transcription:

MODELLING IF THEN IF...THEN Function EXCEL 2007 Wherever you see this symbol, make sure you remember to save your work!

IF.Then Function Some functions do not calculate values but instead do logical tests using logical comparisons like = (equal to) < (less than) > (greater than) or the combinations <=, >=, <>. Such a test allows you to do one thing when the comparison is TRUE and something different when it is FALSE. The IF function has three arguments inside parentheses (brackets) which are separated by commas: the comparison statement the cell value to use when the comparison is true the cell value to use when the comparison is false. The general form of an IF function is =IF(logical comparison, value if TRUE, value if FALSE) A value can be a number, text within double quotes, a cell reference, a formula, or another logical test. This probably sounds horribly complicated it isn t really once you have had a go at a few. TASK 1 Open up a new worksheet. Set up the spreadsheet on the right We want to know whether the summer school students have passed or failed their examination. The pass mark is 70. If students have passed their exam, we want Pass to be placed into column C. If they have failed their exam, we want Fail to display. We are going to write an IF statement to find out. Click your mouse into cell C4.

We want to use the function wizard to help us write this formula. Click on the Formulas tab Click on Logical Select IF from the menu that appears This dialogue box will appear. There are three boxes that you need to complete. The first box, Logical test is where you need to put the cell reference that you are looking at and the condition that you are interested in. In this case, we want to know if cell B3 is greater than 70. To fill this section in, click into the logical test box Then click the blue and red button to the right hand side This will allow you to click into cell B4. Once you have clicked into cell B4, press the return or enter key. You will see that B4 has appeared in the box

Now that we have the cell we are interested in, we need to tell it what our condition is. In this case, we want to know if the result is over 70. We simply need to type >70 (greater than 70) next to B4 no spaces needed. Once we have our Logical test in place, we simply need to tell it what we want to display if this condition is met (True) and what we want to display if this condition is not met (False). In this case, if our condition is met (the exam mark is greater than 70), we want Pass to display, and if our condition is not met (the exam mark is less than 70), we want Fail to display. Fill in your box like the one shown here. You do not need to put the speech marks around the word Pass Excel will do that for you. When you have filled this in correctly, click OK and you will see that Pass has been displayed, because Dr Who did indeed get over 70 marks. Drag this formula down and check to see if the right pass/fail result has been displayed. TASK 2 Open a new worksheet Enter the data shown on the right. We have details here of five salespeople. They have a monthly sales target of 24,000. We need to know if they have met their sales target in cell B10. Because we want to include 24,000 in the test, we can t just put the symbol > or Joanna would be shown as not meeting her target. Thus this time, we need to use >= greater or equal to.

So, click your mouse into cell C4. Click on the Formulas tab Click on Logical Select IF from the menu that appears In the logical test box, use the blue and red button to allow you to select cell B4 after all, we are interested in whether David has met his sales target. Once you have B4 displayed in the logical test box, you need to write your condition. This condition needs to include >= and the cell reference which contains the sales target to be met. It should look something like this: In the value if true, type met In the value if false type not met and then click OK Drag your formula down. Your results should look something like this: Does that look right? Not really Matthew and Olivia clearly haven t met their targets, and yet it is displaying Met. What could have gone wrong? The issue is that an absolute cell reference is required within the IF formula.

In our IF formula we are accessing one cell B10 and then dragging the formula down. Excel is trying to be too helpful. We need to alter our formula so that when it is dragged down, it only looks at cell B10. Click into cell C4. Go to the formula bar and put dollar signs in front of the B and the 10 ($B$10). Your formula should look like this: =IF(B4>=$B$10,"Met","Not met") Use autofill to drag the formula down to cells C5:C8 Your results should now look like this: Check them closely are they right? They should be now. OK, now it s time for you to try some IF..Then functions on your own. TASK 3 Open a new worksheet Enter the data as shown on the right. If an athlete jumps 70m or more, they will qualify. Write a function that will display Qualify if they have met or exceeded the 70m requirement, or Not Qualify if they have jumped below this limit. TASK 4 Open a new worksheet Enter the data as shown on the right Make row 3 deeper as shown. Wrap the text in cells A3:D3 so that it looks similar to the example.

Write a formula in cell D4 to display Yes if the percentage attendance is below the average in cell C9. Remember to use an absolute cell reference! Drag your formula down to cells D5:D7. Check that the results are what you expect. TASK 5 Open a new worksheet Enter the data as shown on the right. In cells F4:F8 write a formula to calculate the total marks gained over the four week period. If a student gains over 45 total marks in a four week period, they will be given a merit slip. In cell G4, write a function that will display merit if the mark is 45 or more and display no if they have failed to earn a merit. You may: Guide teachers or students to access this resource from the teach-ict.com site Print out enough copies to use during the lesson You may not: Adapt or build on this work Save this resource to a school network or VLE Republish this resource on the internet A subscription will enable you to access an editable version, without the watermark and save it on your protected network or VLE