Topic 5 – Table Lookup Lesson 3 - Advanced Lookup

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.
Pre-defined System Functions Simple IF & VLOOKUP.
Calling all Data Geeks! Corey McAfee October 24, 2014 Corey McAfee October 24, 2014.
 Identify the Parts  Create scratch sheets as needed  No penalty for extra sheets  [Over time, you’ll do more at one time naturally. Don’t rush it!]
Tutorial 7: Using Advanced Functions and Conditional Formatting
Turning Numbers Into Knowledge Nate Moore MBA, CPA, CMPE.
Helpful Excel functions/features for using the SigTerms software Chad Creighton April 29, 2008.
MICROSOFT EXCEL – TRAINING FOR QC DIETETIC INTERNS Stephanie Brooks – Fall 2014.
CS1100: Computer Science and Its Applications Table Lookup and Error Processing Martin Schedlbauer, Ph.D.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010.
REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
Chapter 6 Advanced Functions Copyright 2005 Radian Publishing Co.
ADVANCED EXCEL FORMULAS 1 Lesson 8. Named Ranges Name a cell or a range of cells Can make formulas easy to understand =SUM(Sales) instead of =SUM(A2:A16)
REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
LOGO Chapter VI Advanced Functions 1. LOGO Overview  INTRODUCTION  NESTED FUNCTIONS  LOOKUP  VLOOKUP  COUNTIF  SUMIF  IF  ROUND  THE PMT, IPMT.
Highline Class, BI 348 Basic Business Analytics using Excel, Chapter 07 What-If Spreadsheet Models 1.
1 Use a cell value as a KEY to a table to find and return a specific element to another cell or use in a calculation.
REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
DAY 10: EXCEL CHAPTER 7-8 RAHUL KAVI September 19,
Mark Brady 11/19/2012 Southwest Florida Water Management District Data Analyst Interview.
REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
CS&E 1111 Exreference Microsoft Excel Reference Functions Objectives: l Understanding and using Reference Functions l The computer’s algorithm l Syntax.
Excel 2007 Part (3) Dr. Susan Al Naqshbandi
More Spreadsheets Range Formulas & Empty Cells Logical Functions Lookup Functions.
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:
Project 2 Completing a Three Dimensional Workspace Using Logical and Lookup Functions Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
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.
CIS300 Exam 4 Review Dale McIntosh © 2009 Dale McIntosh. All Rights Reserved.Spring 2009.
LOOKUP FUNCTIONS Excel Lesson 10. LOOKUP FUNCTIONS Allow the user to find data in other cells in the spreadsheet and place them in the current cell VLOOKUP:
Excel Tips and Tricks Leda Voigt Green River College.
OV Copyright © 2011 Element K Content LLC. All rights reserved. Calculating Data with Advanced Formulas  Apply Cell and Range Names  Calculate.
VLOOKUP Function Tech Tuesday January 5, What is VLOOKUP? A Function in Excel (and also in Google Sheets) for finding specific information in.
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 3 Review Reinhardt. © 2009 Dale McIntosh. All Rights Reserved. Slides are Available at: uter/cistestreviews.html.
V- Look Up. Lookup Tables Often, we need to retrieve data that is stored in a table For example, consider these metals and their properties: Metal Modulus.
Chapter 2 Analytics on Spreadsheets
VLOOKUP HLOOKUP INDEX + MATCH
Contents Introduction Text functions Logical functions
Chapter 2 Analytics on Spreadsheets
TRACKER Contents Intro Excel 101 Math Operations Formulas 101.
Excel IF Function.
VLOOKUP Finds an entry from a vertical array based on a criteria
CS1100: Computer Science and Its Applications
Adding Functionality to your Spreadsheet
VLOOKUP Finds an entry from a vertical array based on a criteria
How To Use VLOOKUP In Microsoft Excel
ITI 091 MS Excel Level III 9/18/2018
VLOOKUP functions Data Analysis.
Advanced Microsoft Excel
ITI 305 MS Excel Level III 11/20/2018
Excel Formulas, Macros & More
MS Excel 2016 Level III 12/6/2018 Copyright © Carl M. Burnett.
Vlookup.
Given value and sorted array, find index.
VLookup and HLookup in Microsoft Excel
V- Look Up.
MS Excel 2016 Level III Montgomery County Government (MCG)
Lesson 2 - Multi-Dimensional References
Excel Tips and Tricks Presented by: Tracee Baker, Business Analyst, TD Ameritrade July 21, /3/2019.
ITI 091 MS Excel Level III 4/9/2019
Excel lookups and PivotTables
Table Lookup and Error Handling
Lesson 5 Topic 1 – Table Lookup and Error Handling
Excel Training FGFOA Annual Conference – January 16, 2019
REACH Computer Resource Center
Presentation transcript:

Topic 5 – Table Lookup Lesson 3 - Advanced Lookup Advance Table Lookup Topic 5 – Table Lookup Lesson 3 - Advanced Lookup

Learning Objectives Upon completion of this lesson, you will be able to: List the limitations of VLOOKUP Use the INDEX function in combination with the MATCH function to perform more versatile table lookups

Limitations of VLOOKUP While VLOOKUP (and HLOOKUP) is the most commonly used search function in Excel, it has its limitations: the data must be sorted for approximate (interval) lookups to work as it performs a binary search the lookup value can only be in the first column of the lookup table The more powerful search function is INDEX used in conjunction with MATCH.

Simple Example of VLOOKUP =IFERROR(VLOOKUP(B2,ClimateData,4,FALSE),"") Named Range: ClimateData

Some Thoughts... The search key must be in the first column of the lookup table. How would you adjust this so that you can search by Zip Code? VLOOKUP is too limited for a search like this where you might want to search by City or Zip Code.

The MATCH Function The MATCH function finds the row in which a lookup value is found in an array of cells. Use 0 as the third parameter if the lookup values are not ordered. =MATCH(lookup_value, lookup_array, match_type) lookup_value — the value to match in lookup_array. lookup_array — a range of cells with data. match_type — specifies how Excel matches the lookup_value with values in the lookup_array. For exact matches, always use 0 for this argument.

The INDEX Function The INDEX function returns the value in the specified cell from a range of cells. =INDEX(reference, row_num, [column_num]) reference — a range of cells row_num — the row in reference from which to return data. column_num — optionally the column in reference from which to return data.

Examples of MATCH and INDEX =MATCH(A7,A1:A5) =INDEX(A1:A5,B7) =INDEX(A1:B5,B7,1)

Example Revisited Here's a solution to the problem we originally posed: how do you look up cities by zip codes if zip code is not the first column as required by VLOOKUP? =MATCH(B8,Cities!B2:B6,0) =INDEX(Cities!A$2:E$6,$C$10,5)

Common Errors VLOOKUP returns a #N/A error: #N/A means that lookup can't find what you are looking for. This could be because 1) your lookup value is incorrect (in your case it was a negative number) 2) your lookup value is not in the table because you set up the table incorrectly 3) you mispelled the key values when you entered them into the lookup table 4) you have an extra space after the value in the table 5) your named range does not include all of the columns in the lookup table

Summary If you need to only lookup based on the first column of the lookup table, then VLOOKUP will work. If you need the ability to look up based on a key that's not in the first column, then INDEX-MATCH is required.

Questions?