Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tawe
 
Posts: n/a
Default Case sensitive vlookup


Excel treats uppercase and lowercase text as equivalent in a vlookup.

Does anyone know how to avoid this, so that a vlookup formula doesn't
treat uppercases and lowercases text as equivalent ?

eg. the vlookup of "a" should give a different result than a vlookup
for "A".


--
Tawe
------------------------------------------------------------------------
Tawe's Profile: http://www.excelforum.com/member.php...o&userid=24242
View this thread: http://www.excelforum.com/showthread...hreadid=378512

  #2   Report Post  
Bob Umlas
 
Posts: n/a
Default

Ctrl/shift/Enter this formula:
=INDEX(B1:B100,MATCH(TRUE,EXACT("YourStringHere",A 1:A100),0))
is an equivalent case-sensitive =VLOOKUP("YourStringHere",A1:B100,2,False)
Bob Umlas
Excel MVP

"Tawe" wrote in message
...

Excel treats uppercase and lowercase text as equivalent in a vlookup.

Does anyone know how to avoid this, so that a vlookup formula doesn't
treat uppercases and lowercases text as equivalent ?

eg. the vlookup of "a" should give a different result than a vlookup
for "A".


--
Tawe
------------------------------------------------------------------------
Tawe's Profile:

http://www.excelforum.com/member.php...o&userid=24242
View this thread: http://www.excelforum.com/showthread...hreadid=378512



  #3   Report Post  
Tawe
 
Posts: n/a
Default


Thanks, You've been a great help !! :)


--
Tawe
------------------------------------------------------------------------
Tawe's Profile: http://www.excelforum.com/member.php...o&userid=24242
View this thread: http://www.excelforum.com/showthread...hreadid=378512

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:

=INDEX(Sheet2!B1:B10,MATCH(TRUE,EXACT(A1,Sheet2!A1 :A10),0))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

My table was in Sheet2!A1:A10.
My value to look up was in A1 (of sheet1).

You can extend the range, but don't use the whole column.



Tawe wrote:

Excel treats uppercase and lowercase text as equivalent in a vlookup.

Does anyone know how to avoid this, so that a vlookup formula doesn't
treat uppercases and lowercases text as equivalent ?

eg. the vlookup of "a" should give a different result than a vlookup
for "A".

--
Tawe
------------------------------------------------------------------------
Tawe's Profile: http://www.excelforum.com/member.php...o&userid=24242
View this thread: http://www.excelforum.com/showthread...hreadid=378512


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM


All times are GMT +1. The time now is 01:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"