Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Error Bars in Excel
  • How to create a Histogram in Excel
  • Reverse List in Excel
  • How to Create Gantt Chart in Excel
  • How to calculate current stock or inventory in Excel

References

  • How to use Excel TRANSPOSE Function
  • How to use Excel LOOKUP Function
  • Merge tables with VLOOKUP in Excel
  • How to get address of first cell in range in Excel
  • How to get last row in mixed data with blanks in Excel

Data Validations

  • Excel Data validation date in next 30 days
  • Prevent invalid data entering in specific cells
  • Excel Data validation with conditional list
  • Excel Data validation only dates between
  • Excel Data validation exists in list

Perform case-sensitive Lookup in Excel

by

By default, the VLOOKUP function performs a case-insensitive lookup. However, you can use the INDEX, MATCH and the EXACT function in Excel to perform a case-sensitive lookup.

1. For example, the simple VLOOKUP function below returns the salary of Mia Clark. However, we want to lookup the salary of MIA Reed (see cell G2).

2. The EXACT function in Excel returns TRUE if two strings are exactly the same. The EXACT function below returns FALSE.

3. The EXACT function below returns TRUE.

4. Replace B8 with B3:B9.

Explanation: The range (array constant) created by the EXACT function is stored in Excel’s memory, not in a range. The array constant looks as follows:

{FALSE;FALSE;FALSE;FALSE;FALSE;TRUE;FALSE}

5. All we need is function that finds the position of TRUE in this array constant. MATCH function to the rescue! Finish by pressing CTRL + SHIFT + ENTER.

Explanation: TRUE (first argument) found at position 6 in the array constant (second argument). In this example, we use the MATCH function to return an exact match so we set the third argument to 0. The formula bar indicates that this is an array formula by enclosing it in curly braces {}. Do not type these yourself.

6. Use the INDEX function (two arguments) to return a specific value in a one-dimensional range. In this example, the salary at position 6 (second argument) in the range D3:D9 (first argument).

7. Finish by pressing CTRL + SHIFT + ENTER.

Note: the formula correctly looks up the salary of MIA Reed, not Mia Clark. The formula bar indicates that this is an array formula by enclosing it in curly braces {}.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF, AND, OR and NOT Functions Examples in Excel
  • How to use Excel AND Function
  • SWITCH function example in Excel
  • Not Equal To ‘<>‘ operator in Excel
  • How to return blank in place of #DIV/0! error in Excel

Date Time

  • How to get number of days, weeks, months or years between two dates in Excel
  • How to calculate workdays per month in Excel
  • Get days, months, and years between dates in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group numbers at uneven intervals in Excel
  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Check if multiple cells have same value with case sensitive in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • How to generate random times at specific intervals in Excel
  • How to calculate project complete percentage in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning