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

Data Analysis

  • How to combine 2 or more chart types in a single chart in Excel
  • How to create running total in an Excel Table
  • Move chart to a separate worksheet in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to create a Histogram in Excel

References

  • How to use Excel ROW Function
  • How to get first column number in range in Excel
  • Count rows with at least n matching values
  • Create hyperlink with VLOOKUP in Excel
  • How to use Excel INDIRECT Function

Data Validations

  • Data validation must not exist in list
  • Excel Data validation date in next 30 days
  • Excel Data validation must contain specific text
  • Excel Data validation exists in list
  • Prevent invalid data entering in specific cells

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

  • IF, AND, OR and NOT Functions Examples in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel

Date Time

  • Convert Excel time to decimal hours in Excel
  • How to calculate quarter from date in Excel
  • Convert Unix time stamp to Excel date
  • Calculate years between dates in Excel
  • Convert decimal minutes to Excel time

Grouping

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

General

  • How to add sequential row numbers to a set of data in Excel
  • Advanced Number Formats in Excel
  • Count cells that contain errors in Excel
  • How to generate random number weighted probability in Excel
  • Share Excel data with Word documents
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning