1 CSE 2337 Chapter 5 Retrieving Data with Lookups.

Slides:



Advertisements
Similar presentations
Microsoft Office Grade 10 A / B Cahaya Bangsa Classical School (C) 2010 Digital Media Production Facility 16 Microsoft Excel – 07.
Advertisements

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.
Excel Lesson 13 Using Powerful Excel Functions Microsoft Office 2010 Advanced Cable / Morrison 1.
REACH-CRC. Lookup Functions INDEX-MATCH LOOKUP Database Functions DSUM DMIN DMAX DCOUNT DAVERAGE.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
Q UIZ Direction: Choose the correct answer from the given choices. Begin.
Pre-defined System Functions Simple IF & VLOOKUP.
Lunch and Learn VLOOKUP & PivotTables IT User Services University of Delaware.
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
In Business Series © Prentice Hall Microsoft Office Excel 2007 In Business Core Chapter 4 Evaluating Data.
Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do.
Table LookUp. Data Table (File, List) A collection of records and each record contains fields. Lookup example: – Given EmpID, retrieve salary.
Computer Science & Engineering 2111 Vlookup and Hlookup Functions Syntax 1CSE 2111 Lecture Vlookup and Hlookup.
Turning Numbers Into Knowledge Nate Moore MBA, CPA, CMPE.
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.
Tutorial 8: Working with Advanced Functions
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)
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.
Highline Class, BI 348 Basic Business Analytics using Excel, Chapter 07 What-If Spreadsheet Models 1.
With Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive 1e Chapter.
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.
Unit 2 – Spreadsheets Spreadsheets Vlookups.
CS105 Fall CS105 Lab 3 – Excel: The IF Function Announcements MP 1 will be released on Monday 9/14, due Monday 9/28 by 9pm Midterm 1 on Tuesday 9/29.
Chapter 6 Creating, Sorting, and Querying a Table
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.
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:
DAY 6: MICROSOFT EXCEL – CHAPTER 2 CONTD. Aliya Farheen September 3, 2015.
Project 2 Completing a Three Dimensional Workspace Using Logical and Lookup Functions Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
Lookup Functions VLOOKUP and HLOOKUP. VLOOKUP  VLOOKUP(lookup_value,table_array,c ol_index_num,range_lookup)  Range_lookup argument If an exact match.
RevisionRevision Function in Spreadsheet DATE Returns the serial number of a particular date. Syntax –DATE(year,month,day) year is a number from 1900.
VLOOKUP/HLOOKUP Alex Kane. Have you thought? Lookup Functions ? Used to Look up values To preform calculations Display results.
CIS 300- Professor Im Test #2. MICROSOFT ® EXCEL ® LOOKUP FUNCTIONS Syntax: =VLOOKUP(lookup_value,table_array,col_index_num,[range_lookup]) Arguments:
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.
Pmt Function Vlookup Function Excel Database.  Naming a Range is very useful Makes copying more clear because formula or function contains a name rather.
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
Chapter 2 Analytics on Spreadsheets
2007 MICROSOFT EXCEL INTERMEDIATE
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
VLOOKUP functions Data Analysis.
ITI 305 MS Excel Level III 11/20/2018
MS Excel 2016 Level III 12/6/2018 Copyright © Carl M. Burnett.
Vlookup.
Excel: Formulas & Functions III Participation Project
VLookup and HLookup in Microsoft Excel
V- Look Up.
MS Excel 2016 Level III Montgomery County Government (MCG)
Topic 5 – Table Lookup Lesson 3 - Advanced Lookup
Lesson 5 Topic 1 – Table Lookup and Error Handling
Spreadsheets Vlookups.
Presentation transcript:

1 CSE 2337 Chapter 5 Retrieving Data with Lookups

2 Objectives VLOOKUP HLOOKUP LOOKUP INDEX

3 Lookup Tables in Excel Lookup Table – A data list that categorizes values that are needed elsewhere Better than nested ifs – extensibility Better than hard coding - redundancy

4 Vertical Lookups

5 Example Vertical Lookup Tables Goal: Given a quantity, what is the unit price?? Goal: Given a method, what is the cost per unit??

6 VLOOKUP VLOOKUP function –Most effective and flexible way to retrieve data organized in columns –Searches specified part of worksheet for data, starting with the first column –=VLOOKUP(lookup_value,table_array, col_index_num,range_lookup) –Must specify col_index_num

7 VLOOKUP Arguments

8 VLOOKUP Algorithm

9 Exact Match If using lookup type of FALSE, VLOOKUP only looks for an exact match Sorted ascending not required VLOOKUP function displays #N/A in cell if exact match is not found

10 Exact Match

11 Horizontal Lookups

12 Horizontal Lookup

13 HLOOKUP HLOOKUP function –Looks up a value by testing for a criterion across a row –HLOOKUP(lookup_value,table_array, row_index_num,range_lookup) –Must specify row_index_num Similar to VLOOKUP function, except that values are tested across the row First row of lookup table must be sorted in ascending order

14

15 HLOOKUP

16 Other Worksheets Use VLOOKUP and HLOOK for accessing data on other worksheets –Data may be placed on separate sheet when it is a long table

17 Separate Sheets

18 LOOKUP Use LOOKUP function –Looks up the greatest value that does not exceed a specified value anywhere in a table or range –Can retrieve data from a lookup table with a vertical or horizontal orientation –Uses only a TRUE lookup type; column or row containing lookup values must be in ascending order –LOOKUP(lookup_value,lookup_vector, result_vector)

19

20

21 Index Function Use INDEX function with two- or three- dimensional tables –Returns the value in a table based on row and column numbers that you specify –=INDEX(reference,row_num,column_num, area_num) –Has several guidelines – See p 305 of text…

22

23 Index