Data Analysis: Spreadsheets ICT iGCSE. 14.1: Creating a data model.

Post on 20-Jan-2016

247 views 1 download

Tags:

Transcript of Data Analysis: Spreadsheets ICT iGCSE. 14.1: Creating a data model.

Data Analysis: SpreadsheetsICT iGCSE

14.1: Creating a data model

Absolute vs. Relative

• Excel tries to second guess what you want it to do.

Absolute referencing

• Sometimes, you don’t want one of the operands to change:

Named Cells and Ranges

• When you are going to use the contents of a cell several times in different formulae of a spreadsheet, it’s a good idea to give the cell a name.

• It’s easier to remember “Tax” than “Cell H2”…or was it H3….or G2….or….

Named ranges

• Named ranges make it easier to maintain accuracy when you are using a large table of data, for example in a LookUp.

Using Functions

• Functions are just formulae that are already defined: you just tell the function which cells to work with.

• Functions have pre-defined names that you can use: SUM or AVERAGE, for example.

Task 1

• Open Sales.csv. This is a spreadsheet used to calculate bonus payments to sales staff of a small company.

1. Name cell B1 ‘Unit’

2. Name cells A5 to C5 ‘Rate’

3. Name cells B11 to G18 ‘Sold’

Easy functions

• SUM – adds a range of numbers

• AVERAGE – finds the average in a range of numbers

• MIN – finds the lowest value in a range of numbers

• MAX - finds the highest value in a range of numbers

Other Functions: INT

• In maths, an integer is a whole number, with NO decimals or fractions.

• In Excel, the INT function takes the whole number part of a number and removes any digits after the decimal point.

Task 2

1. Open Pay.csv2. In cells B9 to B12,

enter appropriate functions

3. In cells C9 to C12, use the INT function to return the whole number from each of these results

Other Functions: ROUND

• ROUND is used to round the number to a required number of decimal places, to the nearest whole number.

Task 3:

• Try the exercise in cells H2 to L9.

Other Functions: COUNT

• This can be used to count the number of things in a list

• Task: Open ChristmasCharts.xls

• In cell B57, enter a COUNT function to count the number of entries in the list.

• Copy the formula across to cells C57 and D57.

• What do you notice?

Other Functions: COUNTA

• Counts non-blanks in a list

• Task: Open Project.csv. It contains a list of people who are working on a group project, and for each person lists the number of tasks they still have to complete.

Think carefully!

• In cells B21 and B23, use appropriate formulae (both COUNT and COUNTA) COUNTA counts

cells with anything in!Remember:

COUNT only counts cells with numbers in

Other Functions: COUNTIF

• Counts only cells which meet a given criteria.

• Open Staff.csv and enter formulae to count the number of different staff.

Other Functions: IF

Nested Formulae and Functions

• A nested formula is just a formula that has another one inside it.

Adding a secondary axis