VLOOKUP 256 Character Limit

jwehrly2000

New Member
Joined
Aug 24, 2016
Messages
19
Hello everybody, I have a multiple choice testing bank with a random question generator. I am working on getting the answers to populate on the master test version but I think the amount of characters is causing some #VALUE errors.

=VLOOKUP(B13,'3P051 VOL 1 BANK'!B:C,2,FALSE)

B13 = Cell to search for

'3PO51 VOL 1 BANK'!B:C = sheet name and cells to search


Is there a way to convert this formula to work with the INDEX MATCH function?

This data is in column B and the formula returns the adjacent cell (Column C) values.

Thanks for any help you can provide.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi, you can try like this:

=INDEX('3P051 VOL 1 BANK'!$C$1:$C$1000,MATCH(TRUE,INDEX('3P051 VOL 1 BANK'!$B$1:$B$1000=B13,0),0))

Note: for efficiency reasons you should avoid using full column references - either use sensible maximums or look into using dynamic named ranges or using tables and structured references.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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