more than 255 character look-up

nathan82

New Member
Joined
Feb 24, 2014
Messages
4
Hi,

I have 2 lists of 50,000 items each.
Each item in theses lists are above 255 characters long.

When I try to Vlookup one item in the other list, i get #VALUE error becuase the item is more than 255 characters long.

I tried writing a macro with 2 nested loops to search each item in list-1 within list 2. This is slow. Taking nearly 2 hours.

Any alternate ideas to speed this up?

Many thanks...
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I don't know if this will be any faster, but you can use this syntax:

=INDEX(ResultColumn, MATCH(TRUE, INDEX(MatchColumn=lookup value, 0), 0))

and it should work with longer text.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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