Quick, clean, and to the point

Case sensitive match

Excel formula: Case sensitive match
Generic formula 

To perform a case sensitive match, you can use the EXACT function together with MATCH in an array formula. In the example show, the formula in E8 is:


Note: this is an array formula and must be entered with Control + Shift + Enter.

How this formula works

By itself, the MATCH function is not case-sensitive, so the following formula returns 1:


To add case-sensitivity, we use the EXACT function like this:


Which returns an array of TRUE/FALSE values:


This array goes into the MATCH function as the lookup_array. For lookup_value, we use TRUE with MATCH set to exact match mode by setting match_type to zero.


Match then returns the position of the first TRUE value found: 4.

Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.