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
  • Conditional Formatting Icon Sets Examples in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Example of COUNTIFS with variable table column in Excel
  • Error Bars in Excel

References

  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel MATCH Function
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Create hyperlink with VLOOKUP in Excel
  • Approximate match with multiple criteria in Excel

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation exists in list
  • Excel Data validation specific characters only
  • Data validation must not exist in list
  • Excel Data validation no punctuation

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

  • Check multiple cells are equal in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Add decimal minutes to time in Excel
  • Pad week numbers with zeros in Excel
  • SECOND function: Description, Usage, Syntax, Examples and Explanation
  • NOW function: Description, Usage, Syntax, Examples and Explanation
  • Get last day of month in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • If cell contains one of many things 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

  • How to get amount with percentage in Excel
  • How to get original number from percent change in Excel
  • How to get original price from percentage discount in Excel
  • How to calculate percent change in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning