» Retrieve Value Using Case-Sensitive Lookups
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
Listed in the range A2:B7 are characters and their corresponding ASCII codes.
Not that upper and lower case forms of the same letter are assigned different codes.
We want to be able to find the code from B2:B7 that provides a case-sensitive match for each character in cells A11:A13.
Solution:
Use the INDEX, MATCH, and EXACT functions as shown in the following Array formula:
{=INDEX($B$2:$B$7,MATCH(TRUE,EXACT(A11,$A$2:$A$7),0))}
Example:
Range1
Character_________Code
A_________________65
a_________________97
B_________________66
b_________________98
C_________________67
c_________________99
Range2
Character______Code
A______________65
b______________98
C______________67

Book Store:
Recommended Books:
- The Fall of Advertising and the Rise of PR
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Special Edition Using Microsoft Excel 2002
- The Complete Book of Business Plans: Simple Steps to Writing a Powerful Business Plan (Small Business Sourcebooks)
- Mastering Excel 2000 (for beginner)
- Accounting Principles, with CD, 6th Edition
No comments have been submitted.

