


The final part lets Excel know whether you are looking for an exact match (False), or an approximate match (True).Part 3 tells Excel to look in the second row when it finds CD so when it finds CD in F19, it returns the value of 10 ( G19) which is in the second row and is exactly what we wanted it to do!.

Excel looks in the first column of the range ($F19-$F22) and finds CD in cell F19.We have asked VLOOKUP to find the contents of cell C14 (part 1) in the range $F$19:$G$22 (part 2).The third part is a little complicated, so let’s break the formula down to show exactly what Excel does and how it uses the third part of the formula:.This ensures that Excel always uses your exact range for the VLOOKUP formula when you copy it to other cells in your workbook. Note: The $ next to the column and row of the cell, tells Excel that they do not change from one formula to the next, they are always constant. The second part defines the range of cells (which in this case is $F$19:$G$22) I am asking Excel to search for the contents of cell C14 (CD).The first part tells Excel what I am asking VLOOKUP to look for (in this example, I am looking for CD so I give Excel the cell C14 as a reference).I will show first the finished formula and then explain each part. If my music shop was an actual shop, chances are that the data would be on different sheets in the same workbook or even another workbook entirely but I have them next to each other to make it easier to see how the formulas fit together. In my example below, I have the pricing details on the right and the order details on the left. In our first example, we are going to use VLOOKUP to fetch the price of our products (each different media has a different cost).
#HOW TO USE VLOOKUP IN EXCEL 2007 STEP BY STEP HOW TO#
How to Use VLOOKUP to Fetch Pricing Information for Products in Excel 20 Let’s look at each example now in more detail, before also investigating how to use VLOOKUP to fetch data from another workbook. In our second example, we want Excel to fetch a customer’s address automatically when we enter their customer ID into an order. Using VLOOKUP, Excel 20 compares your order with your catalogue and comes back with the price. You know that the customer wants the Green album from R.E.M. In our first example, we want Excel to be able to tell you the value of a customer order. When an order comes in, you record that order in the order book using the customer number into your spreadsheet. You have a list of orders from customers in your order book, your catalogue containing all your prices, and a database of your customer’s details.Įach customer, once they have made a purchase, is assigned a customer number and their details are entered into the database.
