VLOOKUP 256 Character Limit Solution

Chlwls808

Board Regular
Joined
Jun 20, 2021
Messages
51
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a VLOOKUP function which searches values in one column for a keyword located in a separate cell. The problem is that because there's a 256 character limit for any VLOOKUP, any string that goes beyond that will result in #N/A.

I've seen some VBA solutions out there that can fix this type of issues but it didn't work for my scenario (at least I wasn't able to get it to work).

Currently, my VLOOKUP function looks like this:

=VLOOKUP(G15&"*",D3:D32,1,0)

I've tried using combination of Index and match function like below, but it doesn't work:

=INDEX(D3:D32,MATCH(TRUE,INDEX(D3:D32=G15&"*",0),0))

Does anyone know how to resolve this issue?

Appreciate your help!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Try something like:

=lookup(2,1/ISNUMBER(SEARCH(G15,D3:D32)),D3:D32)
 
Upvote 0
Solution

Forum statistics

Threads
1,213,513
Messages
6,114,064
Members
448,545
Latest member
kj9

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