Presentation is loading. Please wait.

Presentation is loading. Please wait.

G042 - Lecture 14 Excel Functions and Formula Mr C Johnston ICT Teacher www.computechedu.co.uk.

Similar presentations


Presentation on theme: "G042 - Lecture 14 Excel Functions and Formula Mr C Johnston ICT Teacher www.computechedu.co.uk."— Presentation transcript:

1

2 G042 - Lecture 14 Excel Functions and Formula Mr C Johnston ICT Teacher www.computechedu.co.uk

3 Session Objectives Understand how to use a range of different functions in excel. Used a range of functions within your excel spreadsheet.

4 Sum Function ExampleCells to ADDAnswer =sum(A1:A3)A1, A2, A3150 =sum(A1+A4)A1, A4#VALUE! =sum(A1:A2, A5)A1, A2, A575 The syntax for sum function =Sum(first cell:last cell)

5 Max or Min Function ExampleCells look atAnswer =max(A1:A5)A1, A2, A3, A4, A513 =mix(A1:A5)A1, A2, A3, A4, A575 The syntax for max function =Max(first cell:last cell) The syntax for max function =Min(first cell:last cell)

6 Average (Mean) Function The syntax for average function =Average (first value, second value, etc.) ExampleCells to averageAnswer =average(A1:A4)A1, A2, A3, A462.5 =average(A1:A4, 300)A1, A2, A3, A4 and 300100 =average(A1:A5)A1, A2, A3, A4, A562.5 =average(A1:A2, A4)A1, A2, A458.3

7 Other Averages To work out the median =Median (first value, second value, etc.) To work out the mode =Mode (first value, second value, etc.) ExampleCells look atAnswer =mode(A1:A5)A1, A2, A3, A4, A536 =median(A1:A5)A1, A2, A3, A4, A536

8 Count Function Example of CountCells to look atAnswer =Count (A1:A3)A1, A2, A33 =Count (A1, A3)A1, A3,2 =Count (A1, A4)A1, A41 =Count (A1, A5)A1, A51 The syntax for sum function =Count(first cell:last cell) Blank entries are not counted. Text entries are NOT counted.

9 CountA Function Example of CountACells to look atAnswer =CountA (A1:A3)A1, A2, A33 =CountA (A1, A3)A1, A3,2 =CountA (A1, A4)A1, A42 =CountA (A1, A5)A1, A51 The syntax for sum function =CountA(first cell:last cell) Blank entries are not counted. Text entries are counted.

10 IF Function Example of IF typed into Column BCells to look atAnswer =IF (A2>1,"Yes","No")is (.95 > 1)No =IF (A3>1,"Yes","No")is ( 1.37 > 1)Yes =IF (A5>10000,.08,.05)is (14000 > 10000).08 =IF (A6>10000,.08,.05)is (8453 > 10000).05 The syntax is =IF (condition, value-if-true, value-if-false) value returned may be either a number or text if value returned is text, it must be in quotes

11 CountIf Function The syntax for sum function =CountIf(first cell:last cell, criteria) Example of CountAWhat looking forAnswer =COUNTIF(A2:A5,"apples")Number of cells with apples in the first column above2 =COUNTIF(A2:A5,A4)Number of cells with peaches in the first column above1 =COUNTIF(A2:A5,A3)+COUN TIF(A2:A5,A2) Number of cells with oranges or apples in the first column above 3 =COUNTIF(B2:B5,">55")Number of cells with a value greater than 55 in the second column above 2 =COUNTIF(B2:B5,"<>"&B4)Number of cells with a value not equal to 75 in the second column above 2 =COUNTIF(B2:B5,">=32")- COUNTIF(B2:B5,">85") Number of cells with a value greater than or equal to 32 and less than or equal to 85 in the second column above 3

12 Int Function ExampleDescriptionAnswer =Int(-8.9)Rounds down-9 =Int(8.9)Rounds down8 =Int(A2)Rounds down 19.519 =A2-Int(A2)Returns the decimal0.5 Int returns the nearest integer The syntax for Int function =Int(number)

13 LOOKUP Functions Returns a value from a list The syntax for VLOOKUP function =VLOOKUP(lookup_value, table_array, column where return data is, false) ExampleDescriptionAnswer = VLOOKUP("DI-328", A2:D6, 3, FALSE) Returns the cost price of diapers$21.45 = (VLOOKUP("WI-989", A2:D6, 3, FALSE) Returns the cost price of wipes$5.12 = VLOOKUP(“BI-567", A2:D6, 3, FALSE)* (1+(VLOOKUP(“BI- 567", A2:D6, 4, FALSE))) Returns the sale price of bib by finding the cost and multiplying by the mark up $4.98

14 Function Wizard In excel there is a help tool for functions called the function wizard. There are two ways to get the the function wizard. If you look at the standard toolbar, the function wizard icon look like the icon on the right. The other way to get to the function wizard is to go to the menu INSERT -- down to FUNCTION.

15 Next Steps Add a range of useful functions to your spreadsheet – think why you are going to include them – don’t just include for the sake of it.

16 Help Sources Online tutorials Help In Excel Vlookup tutorial on my site


Download ppt "G042 - Lecture 14 Excel Functions and Formula Mr C Johnston ICT Teacher www.computechedu.co.uk."

Similar presentations


Ads by Google