Is there a case sensitive VLOOKUP?

Analytics

New Member
Joined
Jul 24, 2013
Messages
33
I have a unique identifier (Contact ID). It however is case sensitive. Therefore, if I vlookup 0033000000KU7O5 (should be Bob) it will find first Amy.

Amy Brown: 0033000000kU7O5
Bob Smith: 0033000000KU7O5
Chris Waters: 003a000001jWWRh

I want to vlookup based upon this ID however a vlookup is not case sensitive. Does anyone know what formula is?

Thx!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
No without seeing the formula you're using now, but it will be an INDEX/MATCH using the EXACT function.

And it will be slow if the list is large.
 
Upvote 0

Excel 2010
ABCD
1NameAgejoeNo exact match
2Mary32
3Joe48
4Bob53
5Sue27
Sheet1
Cell Formulas
RangeFormula
D1=IF(EXACT(C1,VLOOKUP(C1,A1:B5,1,FALSE))=TRUE,VLOOKUP(C1,A1:B5,2,FALSE),"No exact match")
 
Upvote 0
To make it simple...

Sheet 1
column A: Contact ID
Column B: Contact Name
Column C: Vlookup to pull over Birthdate

Sheet 2
Column A: Contact ID
Column B: Birthdate

I want to vlookup (using contact ID) the birthdate and pull that to sheet 1, column C.

Currently the vlookup won't work because it is not case sensitive. It would put Amy's DOB rather than BOB's. I know there is a way. I have done it before but unfortunately forgotten how.

Thx
 
Upvote 0
shyy: The formula didn't work for me....

Try changing joe to Joe (should find a match). It still says "No exact match".
 
Last edited:
Upvote 0
Could you POST the formula you're using that doesn't work?
 
Upvote 0
=IF(EXACT(A1,VLOOKUP(A1,E:F,1,FALSE))=TRUE,VLOOKUP(A1,E:F,2,FALSE),"No Exact Match")[TABLE="width: 422"]
<tbody>[TR]
[TD="align: left"]1A[/TD]
[TD="align: left"]No Exact Match[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]1a[/TD]
[TD="align: left"]Bob[/TD]
[/TR]
[TR]
[TD="align: left"]1a[/TD]
[TD="align: left"] [/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]1A[/TD]
[TD="align: left"]Amy[/TD]
[/TR]
[TR]
[TD="align: left"]2a[/TD]
[TD="align: left"] [/TD]
[TD][/TD]
[TD][/TD]
[TD="align: left"]2a[/TD]
[TD="align: left"]Chris[/TD]
[/TR]
</tbody><colgroup><col><col><col span="4"></colgroup>[/TABLE]
 
Upvote 0
Column A begins with 1A. Column B begins with No Exact Match. Column C and D are blank. Column E begins with 1a. Column F begins with Bob. I was trying to use shyy's formula
 
Upvote 0
works for me


Excel 2010
ABCDEF
11aBob1aBob
21AAmy1AAmy
32aChris
Sheet2
Cell Formulas
RangeFormula
B1=IF(EXACT(A1,VLOOKUP(A1,E1:F3,1,FALSE))=TRUE,VLOOKUP(A1,E1:F3,2,FALSE),"No exact match")
B2=IF(EXACT(A2,VLOOKUP(A2,E2:F4,1,FALSE))=TRUE,VLOOKUP(A2,E2:F4,2,FALSE),"No exact match")
 
Upvote 0
To make it simple...

Sheet 1
column A: Contact ID
Column B: Contact Name
Column C: Vlookup to pull over Birthdate

Sheet 2
Column A: Contact ID
Column B: Birthdate

I want to vlookup (using contact ID) the birthdate and pull that to sheet 1, column C.

Currently the vlookup won't work because it is not case sensitive. It would put Amy's DOB rather than BOB's. I know there is a way. I have done it before but unfortunately forgotten how.

Thx

Sheet1, C2, just enter:
Rich (BB code):
=LOOKUP(9.99999999999999E+307,FIND($A2,Sheet2!$A$2:$A$20),
  Sheet2!$B$2:$B$20)
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,226
Members
452,620
Latest member
dsubash

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