?
Solved

Is there a quicker way to use Autofill and VLOOKUP to drag down 22000 rows

Posted on 2011-03-15
2
Medium Priority
?
224 Views
Last Modified: 2012-05-11
I am copying corresponding data from Sheet2 to Sheet1.  I am using 11 Vlookup formulas to do bring over a column at a time.  The VLOOKUP formula is as folowws:
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564, 2, FALSE)
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564, 3, FALSE)
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564, 4, FALSE)
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564,5, FALSE)
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564, 6, FALSE) etc to
=VLOOKUP(A4, Sheet2!$A$1:Sheet2!$L$5564, 12, FALSE)

I have to pull the cross at the bottom of the cell down 22000 rows.  Is there a better way to do this?
0
Comment
Question by:chaverly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 35140208
Don't use VLOOKUP for that.
Use:
=MATCH(A4, Sheet2!$A$1:$A$5564, 0)
in one cell to get the position (say that formula is in B2) then use:
=INDEX(Sheet2!B$1:B$5564, $B2)
and copy across then fill down all the formulas (double-click bottom right of final cell)
Doing the lookup part once for each row rather than 11 times should be much more efficient.

Regards,
Rory
0
 

Author Closing Comment

by:chaverly
ID: 35140654
Wonderful!! Thank you so much.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question