Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Vlookup Using VBA (without using VLOOKUP function)

On 9 Nov, 23:16, wrote:
Hello,

I need to do a Vlookup using a key column to grab about 10 columns
from the lookup table (1000 rows). Using the VLOOKUP function turned
out to be very inefficient (10000 cells of VLOOKUP). I was wondering
if this could be accomplished more efffectively using some variation
of looping/Find/replace/VBA etc. Sample code would be greatly
appreciated.

Manish


Why don't you try using a database like Access?

I need to do lookups on very large files quite often, and, trust me,
Access is extremely faster and more reliable at this than Excel. I
also find that exporting to Access, looking up the data in Access and
then importing back into Excel is a very fast and efficient solution.

It is faster to set up the lookup: you just need to set up a join
between 2 tables or queries, and then it's simply a matter of dragging
the required fields into the query you're building.

It is more powerful because you can choose to show only common values,
only mismatches or both.

It is more reliable because you don't have to worry about numbers
formatted as text, multiplying numbers by 1 and all those other
annoying issues that make Excel a very poor tool for data analysis.

Running it is much faster than in Excel.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to combine Combo Box function with Vlookup function KH Excel Worksheet Functions 2 April 5th 10 01:24 PM
Vlookup Using VBA (without using VLOOKUP function) JMB Excel Programming 5 November 13th 07 12:34 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
HOW DO I NEST THE VLOOKUP FUNCTION WITH THE LEFT FUNCTION CHAIM Excel Worksheet Functions 1 July 27th 05 09:10 PM
I want to use Vlookup function and AND function in a single formu. prakash Excel Worksheet Functions 3 January 25th 05 07:11 AM


All times are GMT +1. The time now is 02:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"