Hi
for VLOOKUP have a look at
http://www.mvps.org/dmcritchie/excel/vlookup.htm
in your case VLOOKUP searches in column A (from row 1 to row 1000) for
your value and returns the value from the second column (that is column
B)
--
Regards
Frank Kabel
Frankfurt, Germany
btw, can i know what does !$A$1:$B$1000,2,0 in the formula means?
Hi
just enter this formula in B1 of your first file and copy this
formula
down for all rows (assumption: column A stores your names)
--
Regards
Frank Kabel
Frankfurt, Germany
how do i use VLOOKUP ?? and how can i automate VLOOKUP to check
and
compare every single row of column A in both workbooks?
Hi Lynn
a non macro solution could be the use of VLOOKUP.
Assumptions:
- column A in both workbooks contains the name
- column B in file 2 the age
try the following formula in B1 in the first file:
=VLOOKUP(A1,'C:\temp\[file2.xls]Sheet1'!$A$1:$B$1000,2,0)
and copy down (you have to adapt the path and filename as well
as
the
sheet name)
--
Regards
Frank Kabel
Frankfurt, Germany
Lynn wrote:
Hi,
i have 2 excel files. file1 with a list of names and file2
with a
list of names and their age. Is it possible to write a macro
whereby
it will read the name in file1 and serach for its age in
file2?
thanks