Download presentation

Presentation is loading. Please wait.

Published byAriel Trumper Modified over 3 years ago

1
Week 1 Lab2 Dina A. Said dasaid@ucalgary.ca

2
What to be covered today? Wiki Custom calculations If statement Pivot tables Lookup table 1/21/2009CPSC203- Week1- Lab22

3
Wiki http://wiki.ucalgary.ca Computer science 203 /CPSC_203_Template /CPSC 203 Lab Manual for Winter 2009 \ /CPSC_203_Template /CPSC 203 Lab Manual for Winter 2009 Wiki tutorial Misconduct Assignments Lab material 1/21/2009CPSC203- Week1- Lab23

4
Custom Calculations Create your own Functions using “=“ 1/21/20094CPSC203- Week1- Lab2

5
1/21/2009CPSC203- Week1- Lab25

6
1/21/2009CPSC203- Week1- Lab26

7
1/21/2009CPSC203- Week1- Lab27

8
1/21/2009CPSC203- Week1- Lab28

9
1/21/2009CPSC203- Week1- Lab29

10
1/21/2009CPSC203- Week1- Lab210

11
1/21/2009CPSC203- Week1- Lab211 Now, calculate the average of each subject : * Using AVERGAE implied function * Using custom calculations (sum/count)

12
1/21/2009CPSC203- Week1- Lab212

13
1/21/2009CPSC203- Week1- Lab213

14
Order of Calculations Multiplication, Division Addition, Subtraction Example: 2+3*5 = 2+ (3*5) 2/3+5= (2/3)+5 Use brackets if you are confused 1/21/2009CPSC203- Week1- Lab214

15
If-Then Statement 3 parts: Logical test True statement False statement (optional) Example: *If Mary’s Mark in subject1 > 60 * Then, She passed * Else, She failed 1/21/2009CPSC203- Week1- Lab215

16
Formula =IF(,, ) Example: =IF(B4>60,"pass","fail") Note: If your result is string or you are testing string, you should use “” 1/21/2009CPSC203- Week1- Lab216

17
1/21/2009CPSC203- Week1- Lab217

18
1/21/2009CPSC203- Week1- Lab218

19
Think how to make if statement for subject 2 using Insert Function 1/21/2009CPSC203- Week1- Lab219

20
What is the best way to apply the function for subject 3 as well? What if we want the test to be Greater than or equal 1/21/2009CPSC203- Week1- Lab220

21
Nested If Statement If subject1 >= 90 Then, A Else If subject2 >=70 Then, B Else C =IF(B4>=90,"A", IF(B4>=70,"B", “C")) 1/21/2009CPSC203- Week1- Lab221

22
1/21/2009CPSC203- Week1- Lab222

23
Pivot tables To summarize data in understanding manner 1/21/2009CPSC203- Week1- Lab223

24
Pivot tables (cont.) Choose tab insert pivot table Choose the rang Choose where to put the table Select data of interest Drag which to be in rows and which to be in columns Select the calculation to be performed; Max, Average, etc.. 1/21/2009CPSC203- Week1- Lab224

25
Lookup tables Sometimes, we have a code that we want it to be replaced with a value 1/21/2009CPSC203- Week1- Lab225 =LOOKUP(B4,F3:G7)

26
VLookup Searching for a certain text, e.g. student ID 1/21/2009CPSC203- Week1- Lab226 We want to lookup student with Id 3000 =VLOOKUP(3000,A5:B9,2) Formula: VLOOKUP(Value, table, column Index)

Similar presentations

OK

11 Chapter 2: Formulas and Functions Chapter 02 Lecture Notes (CSIT 104) Exploring Microsoft Office Excel 2007.

11 Chapter 2: Formulas and Functions Chapter 02 Lecture Notes (CSIT 104) Exploring Microsoft Office Excel 2007.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on marketing class 12 Ppt on new zealand culture between men Ppt on teaching reading skills Ppt on business etiquette Ppt on computer graphics 3d transformation Ppt on electronic media in communication Ppt on beach tourism in india Ppt on soil pollution in india Ppt on quran and science Ppt on building information modeling construction