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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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")
1ANo Exact Match1aBob
1a 1AAmy
2a 2aChris

<tbody>
</tbody><colgroup><col><col><col span="4"></colgroup>
 
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,215,385
Messages
6,124,626
Members
449,174
Latest member
Anniewonder

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