
Now, if the value of B5 is not text, the VLOOKUP function looks for the value in the range B9:D13 ( 3rd column) and returns the patient’s Problem accordingly. Next, if the value of B5 is text then, the VLOOKUP function looks at the value in range C9:D11 ( 2nd column) and returns the patient’s Problem accordingly. Here, the ISTEXT function checks whether the value of B5 is Text or not, and replies TRUE or FALSE accordingly. Then, if the value of B5 is not text, the following will be the result.Next, you will get the following result if the value of B5 is text.

First, write the following formula in Cell C5.Subsequently, we will apply another VLOOKUP to find the Patient’s Name through the ID we have received from the first VLOOKUP. Now, by applying our first VLOOKUP we will look for the Serial No of any patient to find the ID of that patient. For example, we have a dataset containing tables of patients’ records of a hospital. Often we use two VLOOKUP functions separately in Excel, But, if we use them simultaneously, the result is faster and saves time. Apply Simply Two VLOOKUP (Nested VLOOKUP) FALSE = exact match.Ĥ Methods to Apply Double VLOOKUP 1. if an exact match is not found, the function will return the closest match.

Range_lookup : TRUE = approximate match i.e. Table_array : The range/table from where the function looks for the lookup value.Ĭolumn_index_num : This is the column index in the table from where to retrieve a value. Lookup_value : The value you want to lookup in the first column of a table. =VLOOKUP(lookup_value,table_array,column_index_num,) So, the following is the syntax for the function. By default, the table must be sorted in ascending order. The VLOOKUP function looks for a value in the leftmost column of a table and then returns a value in the same row from a column you specify.

Introduction to the Excel VLOOKUP Function
