Skip to main content

[Excel] Using the VLOOKUP Function


VLOOKUP
is a built-in function in excel that allows users to look up a value in a column vertically based on exact or approximate match types.

FORMULA

=VLOOKUP (value, table, col_index, [range_lookup])

ARGUMENTS

Value - the value that you want to search in the first column.

Table - the range where you want to find the value.

Col_index_num - the number of the column from which you want to fetch the matching value.

Range_lookup - allows you to search for approximate or exact match. Set True for approximate and False for exact.

LIMITATIONS OF VLOOKUP

1. It can only look values at the columns to the right.

2. It will only retrieve the data of the first value if the columns contain duplicate values.

3. It is not case sensitive.

4. It uses approximate match by default.

5. Inserting a column in the vlook up table/range will cause incorrect results.

VLOOKUP Sample

Let's say you receive a list of all employees in your group who completed the annual mandatory training. You have 5 new members in your team and you want to find out when they completed their training using the VLOOKUP function in excel.

Column 1 shows the name of the employees who completed the training.

Column 2 shows the date when the employees completed the training.

1. Enter the names of your members beside the range in a vertical position.

2. Select the range (column 1 & 2) and right-click. Select Define Name.

3. Enter a name for the range and click OK.

4. Select on the cell beside the name list of your members.

5. Click Insert Function under Formulas tab.

6. Type VLOOKUP in the search bar or select it from the category list.


7. The Function Arguments dialog box will appear. Specify the cell that you want to find the matching value in the lookup_value box or click the arrow beside it to supply the data.


8. If you click the arrow, the function arguments box will ask for a cell reference. Click on the cell where the name of your member is located.

9. Click the arrow that points below to go back to the Function Arguments dialog box.


10. Enter the name of the range (Training) you defined in the Table_array box. 
11. Type number 2 in Col_Index_num box.
12. Type FALSE in Range_lookup box to find the exact match.
13. Click OK.


14. You will see that a value appears on the cell where you enter the formula. However, it's not the completion date.


15. Highlight the cell and right-click. Select Format Cells.
16. Click Date under Category and select the date format.
17. Click OK.


18. You will now see that it displays the correct completion date.


19. Drag the fill handle down over the cells to look for the completion dates of other members.


Comments

Popular posts from this blog

[Google Sheets] Linking Data to Cell Ranges, Sheets and Another Spreadsheet

Google sheets is part of Google Workspace that organizes data in columns and rows for reporting and data analysis. In this tutorial, you will learn how to link data within tabs, between multiple tabs and from one spreadsheet to another. Before you begin To get started, go to sheets.google.com and select "blank" to open a new blank sheet. Linking Data Below are the different ways to link data in google sheets: Linking within tabs Linking between multiple tabs Linking from one spreadsheet to another Linking data within tabs 1. Click anywhere on google sheets and type anything. 2. Right-click and select Insert link. 3. Click Select a range of cells to link. 4. The "Select a data range" box will appear. 5. Select another cell within a sheet where you want to link your data. 6. Click OK . 7. Verify the cell address before you click Apply . Linking data between mul...

[Microsoft Flow] How to Connect Microsoft Form Responses to Power BI

Requirement : Auto-import of data to Power BI when a new response in Microsoft Forms is submitted. Solution : Connect Microsoft Forms to Power BI through Microsoft Flow. Assumptions : Power BI is already installed. Microsoft Form is already created. Creating a Streaming Dataset 1. Sign into https://powerbi.microsoft.com. 2. On the Power BI homepage, click New under 'My workspace'.  3. Select Streaming dataset . 4. Select API and click Next . 5. Enter a name for your dataset. 6. Enter each question from MS Forms to 'Values from stream' in Power BI and select the type of the answer for each. 7. Click Create . 8. Turn on Historic data analysis and click Done . 9. When you click the name of your dataset under 'My workspace', you are now ready to create a Power BI report. Connecting MS Forms to Power BI 1. Log into https://flow.microsoft.com. 2. Click My flows in the left navigation bar. 3. Click New flow and select Automated cloud flow . 4. Before you create yo...

[SharePoint] Creating a List

SharePoint List provides flexible ways to store and display information in the form of a list similar to a database or spreadsheet. Assumptions : User has Full Control/Modify Access in SharePoint Intended Audience :  Someone new to SharePoint Online Level :  Beginner Creating a SharePoint List 1. In your SharePoint homepage, click the settings icon located on the upper right corner of the page. 2. Click Add a page . 3. From the list of SharePoint apps, select Custom List. 4. Enter a name for your list. Click Create . 5. You will see your new list in the gallery. 6. When you click the list, you will be redirected to the list page where you can edit the list settings. Creating a Column in a SharePoint List 1. You can directly create a column in your list by clicking the Add Column option.  2. Select your preferred column types from the list. 3. Enter the Name and Description of the column and click Save . 4. You can also create a column from the list settings.