How to find data in Google Sheets with VLOOKUP

VLOOKUP is one of the most misleading functions when using Google Sheets. It allows you to find and link 2 data sets in a spreadsheet with a single search value. Here's how to use VLOOKUP in Google Sheets.

How to find data in Google Sheets with VLOOKUP
Looking up data on Google Sheets with VLOOKUP is very simple

Unlike Microsoft Excel , Google Sheets does not provide instructions for using VLOOKUP, so you must manually type this formula.

How VLOOKUP works in Google Sheets

VLOOKUP may sound confusing but it's fairly easy to use once you know how it works. A formula using the VLOOKUP function has 4 arguments.

The first is the value of the search keyword, the second is the range of the search box (e.g. A1 to D10). The third argument is the column index number from your range to the search value - where the first column in the range is number 1, followed by number 2 and so on.

The fourth argument is whether the search column has been sorted or not.

How to find data in Google Sheets with VLOOKUP
The basic formula for the VLOOKUP function

The last argument is important only when you search for results that best match the search keyword value. If you want to return exact results for the search term, set this argument to FALSE .

Here is an example of how you can use VLOOKUP . A company spreadsheet can consist of two tables: a product list (with an ID number and a corresponding price) and a list of orders.

You can use the ID number as the VLOOKUP search value to quickly see the price for each product.

One thing to note is that VLOOKUP cannot search through the data to the left of the column index number. In most cases, you may have to ignore the data in the columns to the left of the search keyword or put the search data in the first column.

Use VLOOKUP on a spreadsheet

For example, you have two data tables on a spreadsheet. The first table is the employee name, ID number and birthday.

How to find data in Google Sheets with VLOOKUP

In the second table, you can use VLOOKUP to search data using any criteria from the first table (name, ID number or date of birth). In this example, the article uses VLOOKUP to provide a birthday for certain employee IDs.

The appropriate VLOOKUP function formula is = VLOOKUP (F4, A3: D9, 4, FALSE) .

How to find data in Google Sheets with VLOOKUP

Specifically, VLOOKUP uses the value of cell F4 (123) as the focus of the search and the range of finding data from cells A3 to D9. It returns the result from column 4 in this range (column D - Birthday) and because to get the exact result, the final argument is FALSE.

In this case, with ID number 123, VLOOKUP returns the date of birth: December 19, 1971 (using the format DD / MM / YY). The article extends this data by adding a column to table B for a surname. This causes it to associate the birthday with the corresponding person.

This task only requires a simple formula change. In this example, in cell H4, = VLOOKUP (F4, A3: D9, 3, FALSE) searches for a surname that matches the ID number 123.

How to find data in Google Sheets with VLOOKUP

Instead of the date of birth, it returns the data from column number 3 (Surname) matching the ID value located in column number 1 (ID).

Use VLOOKUP with multiple spreadsheets

The example above uses a set of data from a single sheet, but you can also use VLOOKUP to find information on multiple worksheets. In this example, information from table A is now on sheet "Employees", while table B is on sheet "Birthdays".

Instead of using a typical range of cells like A3: D9, you can click on an empty cell, and type: = VLOOKUP (A4, Employees! A3: D9, 4, FALSE) .

How to find data in Google Sheets with VLOOKUP

When naming a sheet to start a range of cells (Employees! A3: D9), the VLOOKUP function can use data from a separate sheet in its search field.

Use wildcards with VLOOKUP

The above example used the exact search value to determine the matching data. If you don't have this value, you can also use wildcards, such as question marks or asterisks with VLOOKUP.

The article will use the same data set above as an example, but, "First Name" will move to column A. At that time, you can use part of the main name and wildcard to find the last name of the employee. .

The VLOOKUP function finds a last name by the name = VLOOKUP (B12, A3: D9, 2, FALSE) ; The search keyword value is in cell B12.

In the example below, the "Chr *" in cell B12 matches the "Geek" last name in this sample lookup table.

How to find data in Google Sheets with VLOOKUP

Search for the best match with VLOOKUP

You can use the last argument of the VLOOKUP function to search for an exact match or closest to the search keyword value. In the previous example, we found the exact result, so the final value is FALSE.

If you want to find the result closest to the value, change the last argument of VLOOKUP to TRUE. Because this argument determines whether a range is categorized, make sure the search column is filtered in AZ order. Otherwise, this function will not work correctly.

The table below is a list of items to buy (A3 to B9) with names and corresponding prices. They have been sorted by price from lowest to highest. The total budget for a good is 17USD (cell D4). The article used VLOOKUP formula to find the most suitable product on this list.

The appropriate VLOOK formula for this example is = VLOOKUP (D4, A4: B9, 2, TRUE) . Because the VLOOKUP function is set to find the closest value, lower than the search value, it can only find items that are cheaper than $ 17.

In this example, the cheapest product under $ 17 is a bag ($ 15). As you can see, the result returns in cell D5.

How to find data in Google Sheets with VLOOKUP

Here's how to use VLOOKUP to search data on Google Sheets. Hope the article is helpful to you.

Sign up and earn $1000 a day ⋙

Signs that a smartphone is infected with virtual currency mining malware

Signs that a smartphone is infected with virtual currency mining malware

Signs that your smartphone is infected with virtual currency mining malware. Cybercriminals can install malicious code to let your smartphone mine virtual currency for them. Below is the receiving sign

Mistakes to avoid when using Google Calendar

Mistakes to avoid when using Google Calendar

Mistakes to avoid when using Google Calendar. You are wasting time by not using the calendar effectively. Therefore, avoid the mistakes below when using Google Calendar.

Tips for using Canva to make movies and edit videos that you may not know

Tips for using Canva to make movies and edit videos that you may not know

Tips for using Canva to make movies and edit videos that you may not know. Canva may not be the first tool that comes to mind when mentioning video making or filming, but

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Ways to make your Apple Watch more private

Ways to make your Apple Watch more private

Ways to make your Apple Watch more private, If you feel like people can easily access your information on your Apple Watch, don't worry, you can apply these tips.

Everything you need to know about IGTV

Everything you need to know about IGTV

Everything you need to know about IGTV, IGTV is not only the choice of stars or KOLs, it is also fully utilized by businesses to promote marketing strategies.

The easiest industries to apply for a job today

The easiest industries to apply for a job today

The easiest majors to get a job today, what majors are easy to get a job at? Which major is the easiest to get a job after graduating? This is the top concern of parents and children

XLOOKUP vs VLOOKUP: Which Excel function is better?

XLOOKUP vs VLOOKUP: Which Excel function is better?

XLOOKUP vs VLOOKUP: Which Excel function is better?, XLOOKUP and VLOOKUP functions in Excel both find a value in a table or list and return related results. Although

National High School Exam Score Range 2023 (9 subjects)

National High School Exam Score Range 2023 (9 subjects)

National High School Graduation Exam Score Range 2023 (9 subjects), High School Graduation Exam Score Range 2023 was announced by the Ministry of Education and Training on July 18, 2023. We invite you to follow along!

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Difference between Power BI and Excel

Difference between Power BI and Excel

Differences between Power BI and Excel, Power BI and Excel have many similarities in functionality and data presentation. However, there is still a difference between Power BI and Excel

The best features of DaVinci Resolve 18

The best features of DaVinci Resolve 18

The best features of DaVinci Resolve 18, DaVinci Resolve 18 adds a bunch of new features. Below are outstanding features worth upgrading to

Top applications to convert photos into paintings on phones

Top applications to convert photos into paintings on phones

Top applications for converting photos into paintings on phones. Today, WebTech360 will continue to introduce to everyone a number of applications for converting photos into paintings.

NoxPlayer: Details of the latest 7.0.1.2 update

NoxPlayer: Details of the latest 7.0.1.2 update

NoxPlayer: Details of the latest 7.0.1.2 update, NoxPlayer is an extremely familiar Android emulator on PC. In each of its updates, NoxPlayer

What makes BlueStacks X worth using over other cloud gaming platforms

What makes BlueStacks X worth using over other cloud gaming platforms

What makes BlueStacks X worth using over other cloud gaming platforms, BlueStacks X is a completely new, free cloud gaming platform. Compare to

Applications that should not be installed if you want data security

Applications that should not be installed if you want data security

Applications that should not be installed if you want data security. Applications on smartphones are not always safe. Here are the types of apps you should avoid

1Password vs. LastPass: Which password management software is right for you?

1Password vs. LastPass: Which password management software is right for you?

1Password vs. LastPass: Which password management software is right for you?, Are you looking for a suitable password manager? 1Password and LastPass are two popular options

Tips to easily remove spyware from your computer

Tips to easily remove spyware from your computer

Tips to easily remove spyware from your computer. Do you suspect your computer is infected with spyware? Don't know how to remove spyware from your PC? Don't worry. In this article, you

BlueStacks 5 improves FPS, consumes less RAM and is more powerful

BlueStacks 5 improves FPS, consumes less RAM and is more powerful

BlueStacks 5 improves FPS, consumes less RAM and is more powerful, Bluestacks Systems, Inc. just introduced the latest BlueStacks 5 to global gamers. Even though it's just in stage

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10