Skip to content

How To Blog

  • Use YouTube Incognito Mode to Watch Videos Privately on Mobile Devices Google Software/Tips
  • How To Encrypt Your Windows Hard-Drive With VeraCrypt Computer Tips
  • How to Use DiskPart Utility in Windows How-To
  • Best portable printing calculator 2020

    Best portable printing calculator 2020

  • How to Return a Book on Audible App How-To
  • Top tips and tricks : Chromebook vs. laotop best device for kids? Gadgets
  • 5 Best Remote Control Apps From PC To Android Phone How-To
  • how to crop a screenshot on Mac Tutorials

How to Use VLOOKUP in Excel

Posted on October 4, 2020 By blog_786 No Comments on How to Use VLOOKUP in Excel

Have you ever had a large spreadsheet of data in Excel and need an easy way to filter and extract specific information from it? If you can learn how to use VLOOKUP in Excel, you can perform this search with just one powerful Excel function.

The VLOOKUP function in Excel is intimidating to many because it has many parameters and there are several ways to use it. In this article, you will learn about all the ways you can use VLOOKUP in Excel and why it is so powerful.

How to Use VLOOKUP in Excel

VLOOKUP Parameters in Excel

When you start typing = VLOOKUP (in any Excel cell, you will see a pop-up window with all the available function parameters.

Let’s take a look at each of these parameters and their meaning.

  • lookup_value: the value you are looking for from the spreadsheet
  • table_array: the range of cells in the sheet that you want to search by
  • col_index_num: column from which you want to extract the result
  • [range_lookup]: matching mode (TRUE = approximately, FALSE = exactly)
  • How to Use VLOOKUP in Excel

    These four parameters allow you to perform many different useful data searches within very large datasets.

    Simple example of VLOOKUP Excel

    VLOOKUP is not one of the core Excel functions that you may have already learned, so let’s start with a simple example.

    In the following example, we will use the large SAT scores for US schools. This table contains information on over 450 schools as well as individual SAT scores in reading, math and writing. Feel free to download to follow. There is an outer join that fetches the data, so you’ll get a warning when you open the file, but it’s safe.

    How to Use VLOOKUP in Excel

    Searching such a large dataset of the school of your interest will take a very long time.

    Instead, you can create a simple form in blank cells to the side of the table. To perform this search, simply make one school field and three additional fields for reading, math, and writing.

    How to Use VLOOKUP in Excel

    Then you will need to use the VLOOKUP function in Excel for these three fields to work. In the Reading field, create a VLOOKUP function as follows:

    1. Type = VLOOKUP (
    2. Select the School field, which is I2 in this example. Enter a comma.
    3. Select the entire range of cells containing the data you want to search. Enter a comma.

    How to Use VLOOKUP in Excel

    Once you select a range, you can start with the column you are looking for (in this case, the column with the school name), and then select all the other columns and rows that contain the data.

    Note. VLOOKUP in Excel can only search cells to the right of the search column. In this example, the column with the name of the school should be to the left of the data you are looking for.

    1. Then, to get the reading score, you need to select the 3rd column from the leftmost selected column. So, enter 3 and then another comma.
    2. Finally, enter FALSE for an exact match and close the function with a).

    Your last VLOOKUP function should look something like this:

    = VLOOKUP (I2, B2: G461,3, FALSE)

    When you press Enter for the first time and complete the function, you will notice that the Reading field will be # N / A.

    How to Use VLOOKUP in Excel

    This is because the School field is empty and the VLOOKUP function cannot find anything. However, if you enter the name of any high school you want to search for, you will see the correct results from that row for your reading grade.

    How to Use VLOOKUP in Excel

    How to deal with VLOOKUP being case sensitive

    You may notice that if you do not enter the school name in the same register as in the dataset, you will not see any results.

    This is because the VLOOKUP function is case sensitive. This can be annoying, especially for a very large dataset where the column being searched is incompatible with capital letters.

    To get around this, you can force to switch what you are looking for to lowercase before looking for results. To do this, create a new column next to the column you are looking for. Enter the function:

    = TRIM (LOWER (B2))

    This will shorten the school name and remove any extraneous characters (spaces) that might be to the left or right of the name.

    While holding down the Shift key, move the mouse cursor to the lower-right corner of the first cell until it changes to two horizontal lines. Double click to automatically fill in the entire column.

    How to Use VLOOKUP in Excel

    Finally, since the VLOOKUP function will try to use the formula and not the text in these cells, you only need to convert them all to values. To do this, copy the entire column, right-click the first cell and paste only the values.

    How to Use VLOOKUP in Excel

    Now that all of your data is cleared in this new column, slightly modify the VLOOKUP function in Excel to use this new column instead of the previous one, starting the search range at C2 instead of B2.

    = VLOOKUP (I2, C2: G461,3, FALSE)

    Now you will notice that if you always enter your search in lowercase, you will always get good results.

    How to Use VLOOKUP in Excel

    This is a handy Excel tip to get rid of the fact that the VLOOKUP function is case sensitive.

    VLOOKUP approximate match

    While the exact match LOOKUP example described in the first section of this article is fairly straightforward, the approximate match is a little more complex.

    An approximate match is best used to search across a range of numbers. To do this correctly, the search range must be sorted correctly. The best example of this is the VLOOKUP function to find a letter grade that matches a numeric grade.

    If a teacher has a long list of students’ homework grades for a year with the last column average, it would be nice if the letter grade corresponding to that final grade appears automatically.

    How to Use VLOOKUP in Excel

    This is possible with the VLOOKUP function. All that is required is a lookup table on the right, which contains the corresponding letter grade for each range of numeric ratings.

    How to Use VLOOKUP in Excel

    Now, using VLOOKUP and approximate match, you can find the correct letter grade that matches the correct numeric range.

    In this function, VLOOKUP:

    • lookup_value: F2, final average score
    • table_array: I2: J8, search range of literal scores
    • index_column: 2, second column in lookup table
    • [range_lookup]: TRUE, approximate match

    After completing the VLOOKUP function in G2 and pressing Enter, you can fill in the rest of the cells using the same approach as described in the last section. You will see that all letter grades are filled in correctly.

    How to Use VLOOKUP in Excel

    Note that Excel’s VLOOKUP function searches from the bottom of the assigned letter grade range to the top of the next letter grade range.

    Thus, “C” must be the letter assigned to the lower range (75) and the letter B to the lower (minimum) of its own letter range. VLOOKUP “finds” the result for 60 (D) as the closest approximate value for any number between 60 and 75.

    VLOOKUP in Excel is a very powerful feature that has been around for a long time. It is also useful for finding matching values ??anywhere in an Excel workbook.

    However, keep in mind that Microsoft users who have a monthly Office 365 subscription now have access to the new XLOOKUP feature. This function has more options and additional flexibility. Users with a 6-month subscription will have to wait until July 2020 for the update.

    –

MS Office Tips

Post navigation

Previous Post: How To Fix Procrastination With 7 Simple Apps
Next Post: 9 Useful Tips How To Use Google Translate

Related Posts

  • Polling in microsoft teams meeting MS Office Tips
  • How to Hide Sheets, Cells, Columns, and Formulas in Excel MS Office Tips
  • How to Make Flowcharts in PowerPoint MS Office Tips
  • How to Completely Delete Personal Metadata from Microsoft Office Documents MS Office Tips
  • Ultimate Troubleshooting Guide for Office 2013 Installation Problems MS Office Tips
  • How To Get Microsoft Word For Free MS Office Tips

Leave a Reply Cancel reply

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

Archives

  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Wordpress

Recent Posts

  • Unnecessary Windows 10 services that can be safely disabled
  • What Is Taskeng.exe and Is It Safe?
  • What is Facebook Watch and how do I use it in 2020?
  • How to add Google Forms to your site
  • What is a custom domain and how to set it up

Recent Comments

  1. How to Minimize a Windows Program to the System Tray 2023 - How To Blog on How to Fix System Tray or Icons Missing in Windows 10
  2. How can I unlock my Macbook using Apple Watch - How To Blog on How to Install Chrome OS on Macbook or iMac
  3. 4k hdmi switch with optical out - How To Blog on Is A Gaming PC Really More Expensive Than A Console?
  4. online video maker with music and pictures 2023 - How To Blog on 6 Video Editing Tips For Beginners
  5. 5 New Ways to Clean Electronics Safely - How To Blog on How to Clean Your Computer Properly, Inside and Out
  • The 5 Best Alternative iOS Voice Recording Apps iOS
  • Quicktime vs VLC vs Plex – Which is the Best Media Player? Software Reviews
  • How to Configure Do Not Disturb Settings on Android Smartphones
  • How To Use Chrome Extensions On Android How-To
  • How to Take Attendance on Google Meet How-To
  • 4 Ways To Speed Up Windows 10 Boot Times Windows 10
  • The Best Smart Lights When Style Matters Smart Home
  • 9 ways to troubleshoot if Facebook is not working on your device Computer Tips

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version