Lesson 4.3: Using the VLOOKUP Function



Similar documents
EXCEL 2007 VLOOKUP FOR BUDGET EXAMPLE

Performing Simple Calculations Using the Status Bar

Microsoft Excel 2010

Excel Database Management Microsoft Excel 2003

Sample- for evaluation only. Advanced Excel. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

Commission Formula. Value If True Parameter Value If False Parameter. Logical Test Parameter

Microsoft Excel 2007 Critical Data Analysis Using Functions

MICROSOFT EXCEL STEP BY STEP GUIDE

MS Excel as a Database

VLOOKUP Functions How do I?

Construction Administrators Work Smart with Excel Programming and Functions. OTEC 2014 Session 78 Robert Henry

Commonly Used Excel Formulas

How to Excel with CUFS Part 2 Excel 2010

Excel 2007 Data Validation Create Dependent Lists Create Named Lists

Designed by Jason Wagner, Course Web Programmer, Office of e-learning ZPRELIMINARY INFORMATION... 1 LOADING THE INITIAL REPORT... 1 OUR EXAMPLE...

Computer Training Centre University College Cork. Excel 2013 The Quick Analysis Tool

Loading Data into salesforce.com

Microsoft Excel 2010 Part 3: Advanced Excel

Advanced Microsoft Excel 2013

Excel Intermediate. Table of Contents UPPER, LOWER, PROPER AND TRIM...28

MICROSOFT EXCEL FORMULAS

How To Use Excel On A Computer Or A Computer With A Cell Phone Or Cell Phone

To add a data form to excel - you need to have the insert form table active - to make it active and add it to excel do the following:

Getting Started with Excel Table of Contents

Chapter 9 Creating Reports in Excel

Tips and Tricks for Printing an Excel Spreadsheet

Estimating with Microsoft Excel

Introduction to Pivot Tables in Excel 2007

How To Use Excel With A Calculator

Commonly Used Excel Functions. Supplement to Excel for Budget Analysts

Introduction to Pivot Tables in Excel 2003

University of Southern California Marshall Information Services

Optimization: Optimal Pricing with Elasticity

Microsoft Excel: Formulas, Formulas...

Gantt Chart/Diagram Excel Template User Guide

ECDL. European Computer Driving Licence. Spreadsheet Software BCS ITQ Level 2. Syllabus Version 5.0

Financial Statements. Chapter 19 Study Guide

Introduction to Microsoft Excel 1 Part I

Drawing a histogram using Excel

CGS2531 Problem Solving Using Computer Software Sample Exam 3. Select the most appropriate answer(s).

Creating Basic Excel Formulas

Microsoft Excel Introduction to Microsoft Excel 2007

Using VLOOKUP to Combine Data in Microsoft Excel

Introduction to Microsoft Excel 2010

Monte Carlo Simulation. SMG ITS Advanced Excel Workshop

MODELLING. IF...THEN Function EXCEL Wherever you see this symbol, make sure you remember to save your work!

Excel Level Two. Introduction. Contents. Exploring Formulas. Entering Formulas

Formulas & Functions in Microsoft Excel

Task Force on Technology / EXCEL

Spreadsheet - Introduction

The Center for Teaching, Learning, & Technology

Excel Integrated Reporting

Excel IF Statements, LOOKUPS & INDEX/MATCH. When to choose which one?

How To Use Excel To Compute Compound Interest

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Excel 2003 PivotTables Summarizing, Analyzing, and Presenting Your Data

Appendix 2.1 Tabular and Graphical Methods Using Excel

Introduction to Microsoft Excel 2007/2010

Excel 2007 Basic knowledge

Estimating a market model: Step-by-step Prepared by Pamela Peterson Drake Florida Atlantic University

ACS Microcomputer Workshop Excel: Functions and Data Analysis Tools

Instructions for creating a data entry form in Microsoft Excel

Lab 11: Budgeting with Excel

How to download historical data for a list of securities from outside of Bloomberg using Bloomberg Excel API s History Wizard

Introduction To Microsoft Office Excel Bob Booth July 2008 AP-Excel8

Formulas & Functions in Microsoft Excel

Excel 2010 Level 2. Computer Training Centre, UCC, /3751/3752

PortfolioCenter Export Wizard in Practice: Evaluating IRA Account Holder Ages and Calculating Required Minimum Distribution (RMD) Amounts

Directions: Follow the below steps to create a Shopping Budget Worksheet in Microsoft Excel.

Microsoft Office Excel 2013

Microsoft Excel (2007) as a Dynamic and Interactive Reporting Tool

Years after US Student to Teacher Ratio

ROUND(cell or formula, 2)

Working with Tables: How to use tables in OpenOffice.org Writer

Microsoft Excel 2013 Splitting Windows and Fixing Panes (Level 3)

Highline Excel 2016 Class 11: Lookup Formulas & Functions: VLOOKUP & More: Comprehensive Lessons

Advanced Excel Charts : Tables : Pivots : Macros

Excel Functions (fx) Click the Paste Function button. In the Function Category select All. Scroll down the Function Name list And select SUM.

Setting Preferences in QuickBooks

INTRODUCTION TO EXCEL

Excel -- Creating Charts

Excel & Visual Basic for Applications (VBA)

Table of Contents TASK 1: DATA ANALYSIS TOOLPAK... 2 TASK 2: HISTOGRAMS... 5 TASK 3: ENTER MIDPOINT FORMULAS... 11

Dashboard reports created in Microsoft Excel are powerful, flexible. Dashboard Your Scorecard. Unleash the power of Excel for visual data analysis.

Introduction to Data Tables. Data Table Exercises

Page 1 EXPERT. 1.1 Manage Multiple Workbooks Pages Where Covered Modifying existing templates. 356 (Step 7 Tip) Merging multiple workbooks

Excel Database Management

How to Use Excel 2007

FINACS INVENTORY Page 1 of 9 INVENTORY TABLE OF CONTENTS. 1. Stock Movement Physical Stock Adjustment...7. (Compiled for FINACS v 2.12.

Rows & Columns. Workbooks & Worksheets

Excel 2003 Tutorial I

The 10 Commandments of Excel

Excel Reporting with 1010data

Q&As: Microsoft Excel 2013: Chapter 2

How To Use Excel In A Spreadsheet Program

ITS Training Class Charts and PivotTables Using Excel 2007

ICAEW IT FACULTY TWENTY PRINCIPLES FOR GOOD SPREADSHEET PRACTICE

About Entering Donations in QuickBooks

Notes on Transitioning from Excel 2003 Lists to Excel 2007 Tables

Excel Project From the Start menu select New Office Document. If necessary, click the General tab and then double-click Blank workbook.

Transcription:

Lesson 4.3: Using the VLOOKUP Function Excel 2003 provides two lookup functions that you can use to quickly retrieve information from a table. The functions are called HLOOKUP (horizontal lookup) and VLOOKUP (vertical lookup). They are similar to database functions in the sense that they retrieve values based on reference data. They are, however, different from database functions in the way they operate. The VLOOKUP function will look in the leftmost column of a table for a value you specify. When it finds the value you specified, it will return a value that is located in the same row, a specified number of columns into the table. It is called VLOOKUP because it looks vertically down a column for a match, and then retrieves data from across the row. HLOOKUP is similar, but it will look horizontally across the upper row of your table, and then retrieve data from down a column. In this lesson, you will learn how to use the VLOOKUP function to find data, how to limit the VLOOKUP value to an exact match, and how to use the VLOOKUP function to find the closest match. Finally, in the step by step exercise, you will practice using the VLOOKUP function

Step-By-Step In this exercise you will practice using the VLOOKUP function. 1. To begin, start Excel 2007and open the file named PracticeExercise4.3 in your exercise files folder. 2. When the workbook opens, it should look like the following. Here you have an inventory table with item numbers and the corresponding price of each item. Your goal in this exercise is to construct a VLOOKUP function so that the Item Price will be automatically entered into column C (price per unit) when the item number is entered into column A (Product). The Item Price can then be multiplied with the Quantity ordered to get a total price for column D. 3. To begin, work out the details of the VLOOKUP function. The column that we want the ticket prices to appear in is column C, so this is where we will place the function. The values used to match the lookup table values will be in column A, and the item prices that

we are retrieving are in the 2nd column of the lookup table (Inventory). The lookup table has the defined name Price, so your VLOOKUP function should look like VLOOKUP(A2,PRICE,2), and be placed in cell C2. 4. If you activate cell C2 and enter =VLOOKUP(A2,PRICE,2) into the formula bar, your worksheet should look like this. Notice that C2 has a #N/A error because there is no value entered into cell A2 for the function to use as a match. If you activate cell A2 and type 10202, you will see the item price entered automatically in cell C2.

5. If you click on cell D2, you will see the formula =B2*C2 in the formula bar. This will calculate the Total Price based on the price per item and the quantity of items sold. Use your mouse to AutoFill cell D2 down nine cells and cell C2 down nine cells. Because you relative references were used, the formula in D2 and the VLOOKUP function in C2 will adjust accordingly for the cells they are filled into. 6. Your worksheet should look like this. The #N/A errors are visible because there are no item numbers entered in column A for those rows. When you enter an item number in column A, the VLOOKUP function will look up the corresponding price from the Inventory table. When you enter a quantity in column B, the total price will be calculated for the corresponding cell in column D.

7. Type 10204, 10207, 10209, and 10215 in cells A3:A6 respectively. Then enter 3, 3, 5, 1, and 10 in cells B2:B6 respectively. Your worksheet should now look like the following. 8. You may have noticed that you omitted the last argument in the VLOOKUP function when you entered it. Because you left this argument out, the default argument of true is being used. This is why VLOOKUP found a price for item number 10215 even though 10215 is not in the inventory table. If the last argument in the function is true, VLOOKUP will find the closest match. (True finds the most likely match; False will find only an exact match). You can easily have lookup tables that are much larger than the inventory table used in this exercise. If your lookup table has many columns, you just have to make sure you specify the correct column number in your function arguments so that the appropriate data will be retrieved. In this exercise, the lookup table and the data table that uses the function are on the same worksheet. The lookup table can just as easily be located on an entirely different worksheet if that is more convenient. 9. Save your work and exit Excel.