Conditional and Cross-Sheet Formulas William Klingelsmith.

Slides:



Advertisements
Similar presentations
Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
Advertisements

Intermediate Formulas & Functions Instructor: Rachel Baltus.
CIS100 Test 2 Review REACH CRC © 2011 REACH CRC. All Rights Reserved.Spring 2011.
CS&E 1111 Exfunctions Using Functions in Excel Objectives: Using Excel functions l SUM, MIN, MAX, AVERAGE, COUNT, COUNTA l ROUND l COUNTIF, SUMIF, AVERAGEIF.
8. Introduction to Spreadsheet CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
EXCEL.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
REACH CRC © 2011 REACH CRC. All Rights Reserved.Fall 2011.
BCIS IB (Test 2) Excel Lessons 4 – 8 Press space bar to Advance Frame.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
DID YOU KNOW: T RAFFIC DELAY INFORMATION IS CALCULATED USING B LUETOOTH DEVICE INFORMATION.
1. Write an Excel formula in cell Survey
Excel 2 Marco Pires IT Training and Empowerment. Formulas Writing Excel formulas is a little different than the way it is done in math class. Excel formulas.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES AutoSum Button Mathematical Operators Mathematical Operators Formula.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Spreadsheets in Decision Making: What If? Robert Grauer and Maryann Barber Exploring.
259 Lecture 4 Spring 2010 Logical Functions and Conditional Formatting in Excel.
Tutorial 8: Working with Advanced Functions
Spreadsheets Objective 6.02
1CP102_module 3: spreadsheet2 More features in Excel Selection: a cell, a range, multiple ranges Name a range: to give name to a selected range or multiple.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Mathematical OperatorsMathematical Operators Formula.
2 Explain advanced spreadsheet concepts and functions Advanced Calculations 1 Sabbir Saleh_Lecture_17_Computer Application_BBA.
Excel 2010 Formulas and Functions One of Excel's most useful features is that it allows users to create custom formulas to perform calculations on their.
Advanced Lesson 2: Advanced Data Analysis A PivotTable is a sophisticated tool that creates a concise report summarizing large amounts of data based on.
Last Week: Excel 101 with Prof. Bliley: Workbooks, worksheets, rows, columns Cells: Text, Value, Formulas Formulas, Ranges OK? Survive Alive? Questions?
Lesson 4 Cell Reference Formulas. Working with Cell References continued… Relative Cell Reference A relative cell reference means that the cell value.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
AGB 260: Agribusiness Information Technology Advanced Functions and Logic.
Introduction to Excel, Word and Powerpoint Developing Valuable Technology Skills! Shawn Koppenhoefer Training in Research in Reproductive Health/Sexual.
COMPREHENSIVE Excel Tutorial 7 Using Advanced Functions, Conditional Formatting, and Filtering.
CS&E 200 Exfunctions Using Functions in Excel Objectives: Using Excel functions l Sum, Min, Max, Average, Count l Large, Small, Rank l Round l Countif.
Sundara Ram Matta Jan 28 th, Sundara Ram Matta Jan 28 th, 2014
Prescriptive Analytics Appendix A EXCEL TOOLS FOR THE MANAGEMENT SCIENTIST Business Analytics with Management Science Models and Methods Arben Asllani.
Lesson 5: Working with Formulas and Functions Logical and 3D Formulas.
Microsoft ® Excel 2010 Core Skills Lesson 3 Using Formulas Courseware #: 3243 Microsoft ® Office Excel 2010.
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.
CIS 100 Test #2 Review 1. EXCEL Functions on Test  SUM, COUNT, COUNTA, MAX, MIN, MEDIAN, MODE, AVERAGE, ROUND, and IF  Possibly Others 
Introduction to Excel Lecture 3. Excel basics O Excel is a software program that can make number manipulation easy O It is also referred as a spreadsheet.
Hoi Le. COUNTIF Countif(, ) Return number of elements that meet the criteria Always put criteria in quotation marks Example 1: count number of employees.
Pages Appendix B: Review of ExcelChapter 3 Market Trends & Analysis IBM 320 CAL POLY POMONA IBM320 Market Trends and Analysis Maha Ghosn.
FUNCTIONS The parts of a function In order to work correctly, a function must be written a specific way, which is called the syntax. The basic syntax for.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 4 Review Lecture 3 Calculating simple or weighted averages Using Microsoft Excel.
CIS 100 Test #3 Review REACH Computer Resource Center.
EXCEL. PARTICIPATION PROJECT STEPS a, 4b
AGB 260: Agribusiness Information Technology Advanced Functions and Logic.
MS-EXCEL PART 3. Use data validation in Excel to make sure that users enter certain values into a cell. Data Validation Example In this example, we restrict.
CMSC201 Computer Science I for Majors Lecture 05 – Comparison Operators and Boolean (Logical) Operators Prof. Katherine Gibson Prof. Jeremy.
AGB 260: Agribusiness Data Literacy
Lesson 3: Using Formulas
MSAA PRESENTS: AN EXCEL TUTORIAL
CSE111 Introduction to Computer Applications
Contents Introduction Text functions Logical functions
Using Advanced Functions and Conditional Formatting
Excel IF Function.
Excel Functions.
CIS300 Test Review REACH - CRC Fall 2010
Analyzing Data Using Formulas
Managing Multiple Worksheets and Workbooks
Unit 42 : Spreadsheet Modelling
Working with Formulas and Functions
Microsoft Excel – Part I
Excel: Formulas & Functions II Participation Project
Spreadsheets 2 Explain advanced spreadsheet concepts and functions
REACH CRC Professor Manni
Spreadsheets Objective 6.02
REACH Computer Resource Center
Spreadsheets Objective 6.02
Working with Formulas and Functions
Introduction to Spreadsheet Terminology
Presentation transcript:

Conditional and Cross-Sheet Formulas William Klingelsmith

Announcements Homework 2 (Healthcare Expenditures Problem) due this Friday (2/15/13) by 11:59pm Homework 3 due 2/22/13 by 11:59pm

Homework 1 Review Grades overall were very good Submission rates were high Any questions about your grade? Ask after class or during open lab this week

Cheating Cases There was one instance of cheating in both sections Remember that cheating twice will automatically earn you an F for the class Protip: when copying files from your friends, remember to remove their name from the very first cell in the worksheet

Homework 1 Common Errors =RANK() function If you used the pointing method to construct your formula, you may ignore rant =RANK(B4,B$4:B$336) =RANK(B4,$B$4:$B$336) also acceptable Average duration formula =(D4-E4)/F4 Remember that the order of operations matters! Using AVERAGE in Miles Per Day and Passengers Per Day Unnecessary because the ‘averaging’ is done by the division Points were not taken off this time

Good job! One student had a unique solution to the two formulas on the Usage worksheet =IF(E4=0," ",B4/E4) Prevents the division by zero errors

Conditional Formulas Excel has a set of formulas which implement logical tests to narrow down results One you may have seen thus far is the =IF() statement

=IF() Statement The IF function lets you perform one calculation or another depending on a specific condition The =IF() function has three arguments Logical_test: the defined condition Value_if_true: what will happen if the logical test is true Value_if_false: what will happen if the logical test is false

=IF() Statement On the band worksheet, insert a new column called ‘SA Good/Bad’ to the right of Scholarship Amount In cell I2, enter the formula =IF(H2>=4500, "Good", "Bad") The above formula works as follows: Take the value (H2) and compare it to the logical condition If the logical test is true, do the second argument (Place the word “Good” in the cell) If the logical test is false, do the third argument(Place the word “Bad” in the cell)

=IF() Statement >4500“Good”“Bad”

=IF() Statement All of the familiar comparison operators from mathematics can be used in the logical test of an IF statement (=,, >=, <=) To construct a logical test using textual data, you will need to use quotation marks Example: =IF(B2=“M”, “Boy”, “Girl”) Create a new column called ‘Graduating Soon?’ If the student is a senior, have an IF statement output the word Yes, else output No

Multiple Conditions There will be instances where one logical test is insufficient Let’s say we wanted to highlight which band members were women who play the flute By embedding an AND() function in the logical test of our IF statement, we can test for multiple conditions

AND() Function The AND function is an aggregation of several logical tests All logical tests must be true for the AND function to return true Insert a column to the left of ‘Sex’ and name it ‘Female Flautist?’ In B2, enter the formula: =IF(AND(C2="F", G2="Flute"), "X", "")

Statistical Conditional Functions We have learned about basic stat. functions such as AVERAGE, SUM, MIN, MAX, etc. Excel has functions which combine the above functions with the power of an IF statement All of these functions have similar syntax: Range: the cell range which holds the criteria Criteria: the condition we’re trying to satisfy [function_range]: the cell range the function will execute on

Statistical Conditional Functions Let’s say we’re trying to find the average scholarship amount of women only In cell A67, type “F Amount” In cell B67, type the formula: =AVERAGEIF(C2:C65, “F”, I2:I65)

=COUNTIF() We’re now interested in counting up the number of students with a height of six feet or more In cell A68 enter the label “Tall Students” In cell B68 enter the formula: =COUNTIF(D2:D65, 6)

Plural Versions Each of these functions has a counterpart which allows multiple conditions to be used AVERAGEIFS SUMIFS COUNTIFS Etc.

Cross Sheet Formulas Excel has the capability of using data from one worksheet in functions on another worksheet The syntax takes the form of: =SUM(‘Sheet Name’! ) The easiest way to set up these formulas is to simply select them