how to do this vlookup

V

vinci

hi all,
my first file
==========

(a) (b) (c) (d)
sno name pincode area

1 arun 123456 *
2 kumar 123457 *
3 raja 123458 *

note:
====
* how to get area from my second file (like vlook up)
conditions:
========
with out change fields order in both file.

my second file
===========

(a) (b)
area pincode

abc 123456
bcd 123458
cde 123457


my third file
==========

(a) (b) (c) (d)
sno name area pincode

1 arun * 123456
2 kumar * 123457
3 raja * 123458


note:
====
* how to get area from my second file (like vlook up)
conditions:
========
with out change fields order in both file.


pls anyone help this questions . i am awaiting for urs reply.


Regards,
vinci
 
G

Guest

Obviously you can't use Vlookup since what you're searching for is in the
second column, and you want it to return whats in the first column?

I use =INDEX(MATCH())

so say =INDEX($A$2:$A$100,MATCH(C2,$B$2:$B$100,0))

This will find which row the contents of C2 are (First file, 123456) in the
array in column B (obviously change this reference to column B in your second
file) and from your example this will find the number (123456) in the first
cell (B2) and return the value 1.
The index then looks at the first column ("A2:A100") and return the first
value, which is abc.
 
V

vinci

thank u sir,
my first file problem was solve. but do the third
one file.

regards,
vinci
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top