Reverse/backward VLOOKUP advance excel function

3087 views 12 replies

Reverse or Backward Vlookup or lookup.

 

For understanding reverse or backward VLOOKUP let’s get clear about forward / direct VLOOKUP function here : /articles/excel-function-vlookup-21678.asp

 

So I assume you are clear about syntax of vlookup, basically to lookup any value from table there should be 2 ranges, one range containing values to be looked up & second range containing result you need to get.

 

Have a look at following example sheet; there is 1st column with employee ID, then name, location, cell number of employee.

 

Now you have cell number of employee and you want to search name of employee! In this case our traditional vlookup function does not work, so how to get result with out adding any additional column.

 

 

Ok, let’s work it out together, as I said earlier for vlookup to work we need at least two ranges which we already have, so lets tweak vlookup unction to get desired result.

 

We will keep original syntax except we will tweak range portion & we will use choose function of excel, so your new syntax is

 

VLOOKUP(lookup_value, CHOOSE({1,2},rng_1,rng_2), col_index_num, match_type)

 

 

Here lookup_value is value is the value to search for in the first column of the table_array, in our case it is value of cell E2,

 

rng_1  is range containing cell no. as we are searching cell no. to get name, in our case it is range D2:D9 ,

 

rng_2  is range containing name as we are searching name, in our case it is range B2:B9 ,

 

col_index_num is the column number in table_array from which the matching value must be returned. The first column is 1, for 2nd it is 2 & so on, in our case it is 2.

 

 

Now if you wish to search Location instead of name then you need to change address of range_2, i.e. instead of range B2:B9 give range C2:C9

 

Excel file attached for your practice.

 

Do post feedback & querries.


Attached File : 112266 1363988 rev vlookup.xls downloaded: 5761 times
Replies (12)

very very useful info................

Tomorrow will share other functions to get reverse vlookup..

 

Thanks

yes

yes

Useful sharing....yes

Just applied practically Wow. ..Today, I learned something new

"Very Useful' ... Keep sharing...

index and match functions can be used in conjunction to achieve the same result.

the formula would be =INDEX($B:$B,MATCH($F2,$C:$C,0),0)

 

where $b:Sb is the column containing the output you want i.e the column that contains data you require

$f2 is the lookup value

$c:$c is the column in the table which contains values next to the desired column (in our case column b)

thing to note here is that both the ranges that are specified should be the same. here we have selected both the "b" column and "c" column in its entirety

Thank you so much for giving such a nice concept bhai! Excellent explanation, very learner-friendly! Wishing you many more successful articles!

 

Using index function also you can achieve this result:

 

to get Name use: =INDEX($B:$B,MATCH($G2,$D:$D,0),0)

--where Range B:B is your range containing desired result & range D:D is you range containing output.

 

to get Location use:= INDEX($C:$C,MATCH($G2,$D:$D,0),0)

--where Range C:C is your range containing desired result & range D:D is you range containing output.

 

Thanks.

yes

Why to make so difficult simply use "LOOKUP" function. 

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
ARTICLESHIP 28 June 2026
Article Assistant

Sharma Chetan And Company

Gurgaon

CA Inter

View Details
Company
24 June 2026
Chartered Accountant - GST & Direct Tax

APL

Mumbai

CA

View Details
Company
24 June 2026
Senior Account (VA Client Operations)

Karbon Business

Bengaluru

CA Inter

View Details
Company
ARTICLESHIP 30 June 2026
Taxation Content Writer Intern

Interactive Media Pvt Ltd.

New Delhi

CA Inter

View Details
Company
05 July 2026
Financial Controller

NovumLake Partners

Mumbai

CA

View Details
Company
20 June 2026
Chartered Accountant

ANV & Company

New Delhi

CA

View Details
Company
ARTICLESHIP 20 June 2026
Articleship

RB KESHRI & CO

Mumbai

B.Com

View Details
Company
ARTICLESHIP 24 June 2026
ARTICLE ASSISTANT

BHUPINDER SHAH AND COMPANY

New Delhi

CA Inter

View Details