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

Data Analysis

  • How to Sort by Color in Excel
  • How to count table columns in Excel
  • Understanding Anova in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • How to use Excel ROWS Function
  • Two-column Lookup in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Convert text string to valid reference in Excel using Indirect function
  • Multi-criteria lookup and transpose in Excel

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation only dates between
  • Excel Data validation whole percentage only
  • Excel Data validation must contain specific text
  • Excel Data validation with conditional list

Two-column Lookup in Excel

by

This example teaches you how to perform a two-column lookup in Excel. See the example below. We want to look up the salary of James Clark, not James Smith, not James Anderson.

1. To join strings, use the & operator.

2. The MATCH function returns the position of a value in a given range. Insert the MATCH function shown below.

3. Finish by pressing CTRL + SHIFT + ENTER.

Note: The formula bar indicates that this is an array formula by enclosing it in curly braces {}. Do not type these yourself. They will disappear when you edit the formula.

Explanation: The range (array constant) A2:A8&B2:B8 is stored in Excel’s memory, not in a range. The array constant looks as follows:

{“JamesSmith”;”JamesAnderson”;”JamesClark”;”JohnLewis”;”JohnWalker”;”MarkReed”;”RichardLopez”}

This array constant is used as an argument for the MATCH function, giving a result of 3 (JamesClark found at position 3).

4. Use this result and the INDEX function to return the 3rd value in the range C2:C8.

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

  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel FALSE Function
  • How to return blank in place of #DIV/0! error in Excel
  • How to use Excel NOT Function
  • FALSE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Display Date is same month in Excel
  • Create date range from two dates in Excel
  • How to join date and text together in Excel
  • Extract date from a date and time in Excel
  • How to get same date next year or previous year in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Map text to numbers in Excel

General

  • How to test a range for numbers in Excel
  • How to choose page/paper size in Excel before Printing
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • How to count total columns in range in Excel
  • Count cells that do not contain many strings in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning