if statements. gcse requirements you are required to be able to use spreadsheet software for ‘the...

8
If Statements

Upload: christal-simpson

Post on 17-Dec-2015

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

If Statements

Page 2: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

GCSE Requirements

You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

Page 3: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A business problem

A manager has the following employee list in a spreadsheet:

Employee Name Department

Jim baker Sales

Jack Down Marketing

Sam Craven Marketing

Sam Bibby Sales

Nick Powel Marketing

Paul Vowell Sales

Sam Link Marketing

Pete Small Sales

Jack Gillingham Marketing

Paul McGregor Sales

Lisa Drake Marketing

Janet Jones Sales

Gareth Hawes Marketing

Chris Haines Sales

Barbara Strawe Sales

Page 4: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A business problem

He would like to add a third column which says who their manager is:

Employee Name Department Manager

Jim baker Sales  

Jack Down Marketing  

Sam Craven Marketing  

Sam Bibby Sales  

Nick Powel Marketing  

Paul Vowell Sales  

Sam Link Marketing  

Pete Small Sales  

Jack Gillingham Marketing  

Paul McGregor Sales  

Lisa Drake Marketing  

Janet Jones Sales  

Gareth Hawes Marketing  

Chris Haines Sales  

Barbara Strawe Sales  

Page 5: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A Business Problem

He knows that if they work for Sales their manager is James Dean and if they work for Marketing their manager is Dale Sutton

Rather than type out the same thing in all the columns he would like to use an if statement

Page 6: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A Business Problem

The if statement in a spreadsheet helps answer a ‘what if?’ type of question

if they work for Sales their manager is James Dean and if they work for Marketing their manager is Dale Sutton

Page 7: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A Business Problem

The formula is built up in this way

If the department is sales then put James Dean otherwise put Dale Sutton

OR

=if(department=‘sales’,’James Dean’,’Dale Sutton’)

Page 8: If Statements. GCSE Requirements You are required to be able to use spreadsheet software for ‘the solution of 'what if'… problems’

A Business Problem

Now follow the on screen demonstration………..