Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • 25 best RPG games for Android (2020) How-To
  • How you can take screenshot On Steam Computer Tips
  • Install, Boot, and Run Mac OS X From an External Hard Drive Mac OS X
  • How to reset Windows 10 from factory settings Windows 10
  • 6 Best Hardware Components to Use in a Plex Media Server

    6 Best Hardware Components to Use in a Plex Media Server. When you're ready to ditch streaming services and create your own home media server, you

  • How To Use ClockworkMod Recovery On Android Smartphones
  • How to Change Background Name on Zoom Computer Tips
  • How To Find & Upgrade 32-Bit Apps On Your Mac OS X

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.

    –

    Share this:

    • Twitter
    • Facebook
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

  • Add a Linear Regression Trendline to an Excel Scatter Plot MS Office Tips
  • What Version of Microsoft Office Do I Have? MS Office Tips
  • Create Dropdown Lists in Excel using Data Validation MS Office Tips
  • Compare Two Excel Files using SpreadSheet Compare MS Office Tips
  • How to Subtract Dates in Excel MS Office Tips
  • How to Add and Print Excel Background Images MS Office Tips

Leave a Reply Cancel reply

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

Archives

  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • 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
  • March 2021
  • 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

  • AI Tools & Guides
  • 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
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • 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
  • Windows XP Tips
  • Wordpress
  • Flixable Helps You Find the Best Movies and TV shows on Netflix
  • How to Watch Winter Olympics 2018 from Anywhere
  • Why does Instagram say this story is unavailable?
  • How to turn off Do Not Disturb mode on Android
  • 3 Sites like YouTube to Earn Money With Your Videos
DMCA.com Protection Status

Recent Posts

  • 15 Best Legal Torrenting Sites to Download Content Safely
  • Review of the ReMarkable 2.0 tablet with Type Folio keyboard
  • Flixable Helps You Find the Best Movies and TV shows on Netflix
  • How to Watch Winter Olympics 2018 from Anywhere
  • 5 Sites That Are Like Audible, But Free

Recent Comments

  1. Flixable Helps You Find the Best Movies and TV shows on Netflix on SmartDNS vs VPN “What’s the Difference?”
  2. 5 Sites That Are Like Audible, But Free on Top 4 Amazon Price Tracker Tools
  3. 5 Sites That Are Like Audible, But Free on 14 Best Free Audiobooks on Audible – 2022
  4. How to Reduce PNG File Size of a Photo on How to Convert a Screenshot to a Jpeg on a Mac
  5. 3 Sites like YouTube to Earn Money With Your Videos on Here are the Top 10 highest paid YouTubers of 2013
  • How to Setup Your Own Personal Cloud Storage Computer Tips
  • Best desk calculator with tape 2020

    Best desk calculator with tape 2020. 1 - Victor 1212-3A 12 Digit Commercial Printing Calculator Top Reviews Nice, but a

  • Ring vs. Nest vs. Arlo: Which Smart Doorbell Should You Buy? Smart Home
  • How To Split The Screen On Android With Free Apps How-To
  • How I Solved My Bluestacks Graphic Card Error (2 Ways) How-To
  • Easy way to forward text messages on iPhone iPhone
  • 6 Tips to Get the Most Out of Apple Music General Software
  • 10 Ways To Test Your Webcam Before Using It How-To

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version