Workaround for Match 255 character limit

dslhs

Board Regular
Joined
Apr 4, 2022
Messages
50
Office Version
  1. 2019
Platform
  1. Windows
Hello,

The following formula is working like a dream, except some of the Match Lookups (B4 below) have more than 255 characters, meaning it's returning #VALUE!

Excel Formula:
=INDEX('[DOCUMENT.xlsm]EHCP Objectives'!$A$2:$D$400,MATCH(B4,'[DOCUMENT.xlsm]EHCP Objectives'!$B$2:$B$400,0),1)

Every workaround I've found online doesn't seem to work. Anyone have any ideas? It would be very much appreciated.

Thank you
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Try this:

Excel Formula:
=LOOKUP(2,1/('[DOCUMENT.xlsm]EHCP Objectives'!$B$2:$B$400=B4),'[DOCUMENT.xlsm]EHCP Objectives'!$A$2:$A$400)
 
Upvote 0
Solution
Hero
1733993586988.png


Thanks!
 
Upvote 0

Forum statistics

Threads
1,225,754
Messages
6,186,827
Members
453,377
Latest member
JoyousOne

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