VLOOKUP 255 Character Limit - formula alternatives?

chive90

Board Regular
Joined
May 3, 2023
Messages
56
Office Version
  1. 2016
Hi All

Is there a way around the 255 VLOOKUP character limit by using an alternative formula? I've tried Index & Match but it also returns a VALUE error if I try and lookup the same Column as I was with VLOOKUP.

I'm using Office 2016.

Starting at C2, I'm wanting to lookup Column C Sheet1 against Column C Sheet2 and return Column H Sheet2.

Column C contains various strings that are in excess of 255 characters.

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You should be able to do something like:

Excel Formula:
=LOOKUP(2,1/{Sheet2!$C$2:$C$1000=C2),Sheet2!$H$2:$H$1000)
 
Upvote 0
You should be able to do something like:

Excel Formula:
=LOOKUP(2,1/{Sheet2!$C$2:$C$1000=C2),Sheet2!$H$2:$H$1000)
Thanks for the quick response. Does this also work across hundreds of thousands of rows without any limitations?

Presumably I can just change 1000 to 800000 for example?

Thanks
 
Upvote 0
Yes although performance will probably not be great if you have that much data.
 
Upvote 0
If you have that much data, and it is interrelated, when you are doing matching/lookups, there is a good chance that you are really dealing with a "Relational Database", in which case, you would probably get much better performance from a Relational Database program, like Microsoft Access, SQL, or Oracle.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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