More Spreadsheets Range Formulas & Empty Cells Logical Functions Lookup Functions.

Slides:



Advertisements
Similar presentations
Cell Referencing Absolute Reference: A reference that does not change when copied. It is specified with a dollar sign in front of both the row and column.
Advertisements

Excel Lesson 13 Using Powerful Excel Functions Microsoft Office 2010 Advanced Cable / Morrison 1.
E ngineering College of San Jose State University Engr.10 1 JKA & KY.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
Computer Science & Engineering 2111 CONDITIONAL STATISTICAL FUNCTIONS 1 CSE 2111 Lecture Conditional Statistical Functions.
MIS: Chapter 14 Cumulative concepts, features and functions, plus new functions COUNTIFS, SUMIFS, AVERAGEIFS (Separate ppt on REACH.louisville.edu) All.
Q UIZ Direction: Choose the correct answer from the given choices. Begin.
Pre-defined System Functions Simple IF & VLOOKUP.
Calling all Data Geeks! Corey McAfee October 24, 2014 Corey McAfee October 24, 2014.
Tutorial 7: Using Advanced Functions and Conditional Formatting
E ngineering College of San Jose State University Engr.10 1 JKA & KY.
259 Lecture 4 Spring 2010 Logical Functions and Conditional Formatting in Excel.
Tutorial 8: Working with Advanced Functions
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 Naming Ranges Functions COUNT, COUNTA, COUNTIF, COUNTIFS.
Chapter 6 Advanced Functions Copyright 2005 Radian Publishing Co.
CIS300 TEST REVIEW EXAM 1- PROF. ZURADA & PROF. GUAN REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
AGB 260: Agribusiness Information Technology Advanced Functions and Logic.
LOGO Chapter VI Advanced Functions 1. LOGO Overview  INTRODUCTION  NESTED FUNCTIONS  LOOKUP  VLOOKUP  COUNTIF  SUMIF  IF  ROUND  THE PMT, IPMT.
COMPREHENSIVE Excel Tutorial 7 Using Advanced Functions, Conditional Formatting, and Filtering.
Excel Projects 5 & 6 Notes Mr. Ursone. Excel Project 5: Sorting a List  Sorting: Arranging records in a specific sequence  The Sort command is on the.
1. Common Functions 2.
MS Excel Management Information Systems 1. Contents 2  Functions  IF Function and nested IF  Sorting Data.  Filtering Data.  Data Form.  Data Validation.
Revision Function in Spreadsheet. AVERAGE Returns the average (arithmetic mean) of the arguments. Syntax AVERAGE(number1,number2,...) Number1, number2,...
Chapter 11 Creating Formulas that Count and Sum Microsoft Excel 2003.
Powerpoint Templates Page 1 Powerpoint Templates MS Excel Functions.
Microsoft Office Excel 2013 ® ® Abdul Hameed Using Advanced Functions and Conditional Formatting.
CIS300 TEST REVIEW EXAM 2- PROFS. KENDRA, GOYAL & MCINTOSH REACH - CRC © 2014 REACH All Rights Reserved.
# 1# 1 Error Messages, VLookup, Practical Tips What use is VLookup? How do you error check in Excel? CS 105 Spring 2010.
Unit 4, Lesson 4 Using Function Formulas. Objectives Understand function formulas. Understand function formulas. Use the Average and Sum functions. Use.
REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
Computer Science & Engineering 2111 Lecture 4 COUNTIF(s)/SUMIF(s)/SUMPRODUCT/ AVERAGEIF(s)/LARGE/SMALL/RANK 1.
Excel 2007 Part (3) Dr. Susan Al Naqshbandi
Chapter 12 Creating Formulas that Look Up Values Microsoft Excel 2003.
Glade Manual – Chapter 6 1 “COUNTIF” function: - “COUNTIF” function counts the number of cells within a range that meet the given condition - In Excel:
Excel Review By Mr. Griffin Elmira Business Institute.
CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010.
DECISIONS AND FUNCTIONS Module 4.2. DECISIONS AND FUNCTIONS Module 4.2.
Intermediate Excel 2013 Gareth Johns IT Skills Development Advisor.
Homework Discussion Homework 6 (Glade Manual Chapter 6) Database functions in Excel.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
1 CSE 2337 Chapter 5 Retrieving Data with Lookups.
RevisionRevision Function in Spreadsheet DATE Returns the serial number of a particular date. Syntax –DATE(year,month,day) year is a number from 1900.
CIS 300- Professor Im Test #2. MICROSOFT ® EXCEL ® LOOKUP FUNCTIONS Syntax: =VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]) Arguments:
CIS 100 Test #2 Review 1. EXCEL Functions on Test  SUM, COUNT, COUNTA, MAX, MIN, MEDIAN, MODE, AVERAGE, ROUND, and IF  Possibly Others 
CIS300 Exam 4 Review Dale McIntosh © 2009 Dale McIntosh. All Rights Reserved.Spring 2009.
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.
EXCEL. PARTICIPATION PROJECT STEPS a, 4b
AGB 260: Agribusiness Information Technology Advanced Functions and Logic.
CIS 300- Professor McIntosh Test #3. MICROSOFT ® EXCEL ® MATHEMATICAL FUNCTIONS Syntax: =ROUND(number, num_digits) Arguments: number Required  The number.
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.
CIS300 Test Review REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
AGB 260: Agribusiness Data Literacy
Logical Functions and Conditional Formatting in Excel
MSAA PRESENTS: AN EXCEL TUTORIAL
Excel AVERAGEIF Function
Contents Introduction Text functions Logical functions
Using Advanced Functions and Conditional Formatting
TRACKER Contents Intro Excel 101 Math Operations Formulas 101.
Excel IF Function.
2007 MICROSOFT EXCEL INTERMEDIATE
VLOOKUP Finds an entry from a vertical array based on a criteria
CIS300 Test Review REACH - CRC Fall 2010
Adding Functionality to your Spreadsheet
How To Use VLOOKUP In Microsoft Excel
Excel Functions.
Excel Functions.
REACH CRC Professor Manni
Presentation transcript:

More Spreadsheets Range Formulas & Empty Cells Logical Functions Lookup Functions

Range Arguments Can all math functions be used with a range argument? –NO! May get error or may get one value, depending on where the formula is entered relative to the range. –Correct—Enter formula in terms of first cell in range, then copy/paste to “iterate” –(see emptys.xls in examples/solutions)

Ranges that include different types of cells How do mathematical functions such as sum, max, average, count treat cells that are empty or have text? What do the functions averageA, countA, maxA do instead?

Relational Operators <“less than” <=‘less than or equal to” >“greater than” >=“greater than or equal to” =“equal to” <>“not equal to”

Logical Combinations And(logical1,logical2,…) produces TRUE when all are true, otherwise FALSE OR(logical1,logical2,…) produces FALSE when all are false, otherwise TRUE (“inclusive or”) NOT(logical1) produces TRUE when logical1 is false, and produces FALSE when logical2 is true

The IF Function IF(logical expression, value_when_true, value_when_false) =If(B3>5,C2^2,”Carl”) put in cell D2 would cause D2 to display 64 Copy & paste to cell D1 would cause D1 to display ? ABCD

Information Functions ISBLANK(cell) is TRUE when cell is empty ISTEXT(cell) is TRUE when cell has text –Note the difference between ISTEXT(“1”) and ISTEXT(1) ISNA(value) is TRUE when value is the #N/A error value

COUNTIF COUNTIF(range, condition to be counted) –=Countif(a3:a12,5) returns the number of times 5 appears in the range –=countif(a3:a12,”Bob”) returns the number of times Bob appears in the range –=countif(a3:a12,D3) returns the number of times the value in D3 appears in the range –=countif(a3:a12,”>5”) returns the number of times a value greater than 5 appears in the range

COUNTIF –=countif(a3:a12,”=5”) returns the number of times 5 appears in the range –=countif(a3:a12,”=D3”) does NOT return the number of times the value in D3 appears in the range –=countif(a3:a12,”>D3”) does NOT return the number of times a value greater than the value in D3 appears in the range –=countif(a3:a12,”>”&D3) retuns the number of times a value greater than the value in D3 appears in the range

SUMIF SUMIF(range,criteria,sum_range) –Range is the cells to examine for meeting the criteria –Criteria is the condition to be met –Sum_range is the corresponding cells to add when criteria is met =sumif(a2:a5,”>0”,b2:b5) adds those cells in b2 thru b5 whose corresponding a2 thru a5 value is positive

SUMIF The same limitations as countif apply with regard to the criteria including relational operators and cell references =sumif(a2:a5,”>c3”,b2:b5) does NOT correctly add those cells in b2 thru b5 whose corresponding a2 thru a5 value is greater than the value in cell c3 (see countif.xls in examples)

Table Lookups & References Vlookup & HLookup—used to look for a “target” in first column or row of a table & return a “corresponding” value from another column or row of the table Lookup—used to look for a “target” in a “vector” (single row or column) & return a value in the corresponding position in another “vector” (single row or column) Match—used to find the relative position of a “target” in a vector Index—used to return the value in a specified relative position in a table

VLookup & Hlookup Specifics First argument is target (what you are looking for) Second argument is range in which you are looking (limited to leftmost column of range for vlookup, topmost row of range for hlookup) Third argument is relative column(for vlookup) or row (for hlookup) from which corresponding value is to be returned. Must have been included in range. Fourth argument is TRUE or FALSE, used as a “flag” & is optional— but if omitted assumes TRUE –FALSE—does not assume column/row being searched is already sorted, requires an exact match –TRUE—requires column/row being searched is already sorted in ascending order, & that you will accept the largest value <= target

VLookup Example What formula can we enter in E15 so that when we enter a name in D15, E15 will display that contestant’s score from the Canadian judge ?

VLookup Example =vlookup(d15,a8:h11,5,false) If we enter “Yvonne” in d15, E15 displays 5 =vlookup(d15,a8:h11,5) If we enter “Sonia” in d15, E15 displays 8.8—which is wrong! Why?

Match(target,vector,flag) Searches row or column for “target”, returning its relative position in the row or column Flag can be –1 which means vector is sorted in ascending order, in which case returns largest value <= target –0 which means exact match required, vector need not be sorted –-1 which means vector is sorted in descending order, in which case returns smallest value >=target

Match Example What formula can we enter in E17 so that it will display the relative row corresponding to the winner of the contest? =match(max(h8:h11),h8:h11,0) Produces 4

Index(table,row,column) Used to extract a value from a table based on its relative row & column position Index(b3:d5,2,3) would display value in cell d4 Index(b3:b5,2) would display value in cell b4 Index(b3:d3,2) would display value in cell c3 Can “nest” match inside index to locate a position & return a corresponding value

Index Example What formula can we enter in E17 so that it will display the name of the winner of the contest? =index(a8:a11, match( max(h8:h11),h8:h11,0) ) Produces Sonia