• Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • VBA Programming
  • Open-Libre Office
  • Web Stuff
  • Videos
    • VBA Articles
    • LibreOffice And Open Office
  • Excel VBA Glossary
  • About
  • Contact

what does vlookup do

This article and associated youtube video will explain what vlookup does and the best way to organise your spreadsheet data to the get most out of vlookup and how to use it to join two datasets together.

Vlookup allows you to get extra information from another data range by using a unique identifer that populates the first column of the data range that your are looking up.

vlookup arguments explained

For example the first column (Key Field) of that looked up data range could contain EmployeeID’s or Social Security Numbers or Car Registration numbers.

You could have a form (using vba macros) that fills out extra information on these factors based on the above mentioned “Key Field”.

You can also use vlookup to populate extra columns of information into a large table of data, provided there are common columns in both data ranges.

Get the spreadsheet used in the tutorial above.

Also get updates when new blog or video tutorials are released.

Submitting…

Examples of this could be a City and County columns for a given post code, the work you are doing might have various postcodes and you could possibly have a large spreadsheet mapping postcodes to cities and counties.

Maybe just the first three characters of the postcode to keep your data tables managable in size, if you get my drift.

How To Best Use Vlookup

First it helps to ensure that your data is organised in a "database" format, that is to say it is laid out as rows and columnns (preferably with column headers).

If each row represents an information item such as all the data for a particular person and each column (field) represents a subset of that information such as "Firstname", "LastName" and "TelephoneNumber".

Then in the above situation you may have an unique id for each person record such as a customer id, this "customer id" would be the first column of your lookup table.

If your Excel spreadsheet also had a report with just sales information by customerID, you could then get more information on the customers by linking your sales report to your customers table using a vlookup.

Check out the embedded youtube video for a step by step walk vlookup example.

Filed Under: Excel Tagged With: Excel Functions

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Free Training Videos

Make VBA Listbox Work as Database Grid

Image

Ulitmate Excel VBA Advanced Filter Tutorial

Click video and press f for full screen or watch on YouTube

Dynamically Link Images to LibreOffice Base Form

Click video and press f for full screen or watch on YouTube

Create Database with LibreOffice Base

Click video and press f for full screen or watch on YouTube

Create VBA Form In Excel

Click video and press f for full screen or watch on YouTube

Affiliate Disclamer

We hope you love the products we recommend! Just so you know, we may collect a share of sales or other compensation from the links on this page.
Thank you if you use our links, we really appreciate it!

Terms Of Service | Privacy Statement | Copyright © 2024 BusinessProgrammer.com.