Using a VLOOKUP Formula to Check If a Value Exists

In this article, we are going to learn how to use VLOOKUP function to check if a value exists in the data.

We use Vlookup function to look for a value in the table from the extreme left column, and then return the value in same row from the specified column.

 

Syntax lookup_value table_array col_index_num range_lookup
=VLOOKUP(lookup_value,

table_array,col_index_num,

[range_lookup])

Value for that we want to lookup Table from which we want to lookup the value Which is column number we want to pick Exact match or approximate match

 
Let’s take an example to understand how we can use the VLOOKUP formula to check if the value exists in the data.
 
We have 2 data sets. 1st is main data and 2nd is updated data. Now, we want to update the main data from the updated data.
 
Main Data:-

image 1
 
Updated Data:-

image 2

To retrieve the manufacturer details in the sheet, follow below given steps and formula:-

  • Enter the formula in cell F4 of Main data
  • =VLOOKUP(A4,I4:R19,10,FALSE)
  • Copy the same formula and paste in the range.
  • Manufacturer detail will get updated, and also where the data is not available in the sheet, formula will return “Not Found” as output.

Formula explanation:-

1)    A4:- This is the loopkup range in the main data in which we want to update the manufacturer detail.

2)    I4:R19:- This is the table range of the updated data from which we want to update the data.

3)    10 :- 10 we have mentioned to pick the column value.

4)    False:- False we have mentioned for exact match.

 

image 3

 

This is the way we can check the value if exist in the data, using Vlookup function.

 

image 48

 

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at info@exceltip.com

 
 

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube