100K plus lines of data, DOUBLE VLOOKUP help required.

Noobllianz

New Member
Joined
Jul 1, 2018
Messages
18

ABCDEF
1Customer NameCustomer No#Order #Order PriceOrder DateDescription
2John DoeCust0011000item$10002011/01/01Laptop
3Jane DoeCust0022000item$20002012/01/01Monitor
4John SmithCust0033000item$30002013/01/01Motherboard
5Jane SmithCust0044000item$40002014/01/01Keyboard
6Doe SmithCust0055000item$50002015/01/01Mouse
7John DoeCust0016000item$60002016/01/01SSD

<tbody>
</tbody>
Hi Guys.

I was able to get advice on how to partial search Customer names/customer numbers in order to get their whole history displayed.

I used the formula to refer to a SUMPRODUCT cell next to the Search cell for reference.

=IF(ROWS(G$1:G1)>$B$7,"",INDEX(Sheet1!$Q$2:$W$1000000,AGGREGATE(15,6,(ROW($Q$2:$Q$1000000)-ROW(Sheet1!$A$2)+1)/ISNUMBER(SEARCH($A$7,$Q$2:



I have heard that Double vlookups will be able to search faster.

If I wish to apply the same ROWS, AGGREGATE, SEARCH with Double Vlookup, how can i formula this so that I can search for the Customer Name, and display all relevant information more quickly without lag.

Thanks for your help!

-B
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Hey B.

Could you not just format the data as a table and then filter?

Hi!
Thank you so much for the response.

This file is in a shared folder and is being updated constantly by a separate department.

We are unable to edit or amend the master workbook.


I I was thinking a initial partial search for a single column of info(client name) then adjacent rows can be pulled using an exact match. Just want to know if there is any way to incorporate the small/row function into the double vlookup formula.


I just cant work it out.

Thanks!
 
Upvote 0
What about loading the whole table into a variant array and doing the whole thing in VBA, it will be very fast.
 
Upvote 0
What about loading the whole table into a variant array and doing the whole thing in VBA, it will be very fast.

So basically, I can use my external workbook and use vba from within to access data from a different work book?

Does the variant array store the whole thing in vba?

I'm a bit confused.

Can you advise on what I need to study

Thanks
 
Upvote 0
Try reading this article which should get you started:
https://excelmacromastery.com/excel-vba-array/

Try googling "variant arrays Excel VBA" and see what else you can find

The answer to your questions is : Yes and Yes in possibly a number of variant arrays
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,800
Messages
6,121,641
Members
449,044
Latest member
hherna01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top