Note: The other languages of the website are Google-translated. Back to English
English English

Get student or employee information with VLOOKUP

To get information listed in Excel about students or employees, you can take advantage of the VLOOKUP function to force it to perform an exact match.

get information with vlookup 1

How to retrieve information about students or employees with VLOOKUP?

To retrieve the information about the student with an ID of 23204 as shown in the screenshot above, the VLOOKUP function that was set to perform an exact match would help you. Note that to use the VLOOKUP function, you need to have the student ID, i.e., the lookup value, listed in the leftmost column of the table, while the other information you want to retrieve at the right side.

Generic syntax


  • lookup_value: The value to lookup. Here refers to the given student ID.
  • table_array: The range of cells where to look for exact matches. Here refers to all the data including the student ID, first name, last name, and country information.
  • col_num: The column you indicate in the table_array from which you want to retrieve the matched data.
  • range_lookup FALSE: Forces VLOOKUP to only find the first exact match.

To retrieve the information about the student with an ID of 23204, please copy or enter the formulas below in the corresponding cells, and press Enter to get the results:

First name (Cell H5) =VLOOKUP(H4,B5:E9,2,FALSE)
Last name (Cell H6) =VLOOKUP(H4,B5:E9,3,FALSE)
Country     (Cell H7) =VLOOKUP(H4,B5:E9,4,FALSE)

√ Note: Instead of typing the student ID 23204 in the formulas, we used the cell reference H4 since we want the formulas to be dynamic. In this way, we can easily get the information about other students by only changing the student ID in the cell H4.

get information with vlookup 2

Explanation of the formula

Here we use the formula below as an example:


  • The range_lookup FALSE asks the VLOOKUP function to perform an exact match.
  • The function then finds the match of 23204, the value in H4, in the cells through B5 to E9. So, it will aim at the 4th row in the range B5:E9.
  • Then the VLOOKUP function will retrieve the value in the 3rd column of the row, which is Brown.

Related functions

Excel VLOOKUP function

The Excel VLOOKUP function searches for a value by matching on the first column of a table and returns the corresponding value from a certain column in the same row.

Related Formulas

Get information corresponding to maximum value

To retrieve data that are corresponding to the maximum value in a list, table or row in Excel, you can use an INDEX and MATCH formula together with the MAX function.

Get information corresponding to minimum value

To retrieve data that are corresponding to the minimum value in a table, you can use an INDEX and MATCH formula together with the MIN function.

Retrieve information associated with lowest n values

To retrieve data that are corresponding to the smallest, 2nd smallest, or nth smallest value in a list, table or row in Excel, you can use an INDEX and MATCH formula together with the SMALL function.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations