Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help - Vlookup reference nightmare

Status
Not open for further replies.

01491

ISP
Oct 30, 2001
17
0
0
GB
I'm trying to write a For..Next loop for a vlookup in Excel.
For each loop, I want the reference area to move down a row.

ie.

vlookup(A1,Sheet1!A1:D1,3,False)

then next loop

vlookup(A1,Sheet1!A2:D2,3,false)

Declaring a variable V for the reference area - just doesn't work.

Any ideas?
Thanks
JAP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top