Make VLookup case sensitive

Benjaminmin

Board Regular
Joined
Nov 20, 2009
Messages
116
Hi,
I am trying to make a vlookup, but I have some IDs which can be distinguished by case,

i.e. "0033000000mnkCJ" refers to a different contact than "0033000000mnkCj"

so is there away to make this formula case sensitive?
=VLOOKUP(N2,$A$2:$J$17874,3,0)

Any help is much appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
There may be other ways, but only thing coming to mind is

=INDEX($C$2:$C$17874,MATCH(TRUE,ISNUMBER(FIND(N2,$C$2:$C$17874)),0))

Must be array confirmed with Shift Ctrl Enter, not tested with bulk data, excessive use may cause slow calculation.

note if N2 is empty then it will incorrectly return the first record in the list so you may want to test for that and blank the cell if needed.
 
Upvote 0
Hi,
I am trying to make a vlookup, but I have some IDs which can be distinguished by case,

i.e. "0033000000mnkCJ" refers to a different contact than "0033000000mnkCj"

so is there away to make this formula case sensitive?
=VLOOKUP(N2,$A$2:$J$17874,3,0)

Any help is much appreciated.
Also a full match option...

Control+shift+enter, not just enter:

=INDEX($C$2:$C$17874,MATCH(TRUE,EXACT(N2,$A$2:$A$17874),0))
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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