Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel FORMULATEXT function
  • How to use Excel VLOOKUP Function
  • Left Lookup in Excel
  • Extract all partial matches in Excel
  • How to get relative row numbers in a range in Excel

Data Analysis Examples

  • How to create a Histogram in Excel
  • Data Series in Excel
  • Number and Text Filters Examples in Excel
  • How to create Checklist in Excel
  • Excel Line Chart

Data Validation Examples

  • Excel Data validation whole percentage only
  • Data validation must not exist in list
  • Excel Data validation unique values only
  • Excel Data validation only dates between
  • Excel Data validation don’t exceed total

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.

Worked Example:   Get last match cell contains in Excel

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.

Worked Example:   Average the last 3 numeric values in Excel

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:

Worked Example:   Group numbers at uneven intervals in Excel

{“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:

Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

Next Post:

Convert text string to valid reference in Excel using Indirect function

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
  • How to check if cell contains all of many things in Excel
  • LEFT, LEFTB functions: Description, Usage, Syntax, Examples and Explanation
  • BAHTTEXT function: Description, Usage, Syntax, Examples and Explanation
  • CONCAT function: Description, Usage, Syntax, Examples and Explanation
  • Split dimensions into two parts in Excel Worksheet
  • How to calculate Quarter of Date in Excel
  • Count birthdays by month in Excel
  • TIMEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates and times in Excel
  • Convert date string to date time in Excel
  • COUPDAYBS function: Description, Usage, Syntax, Examples and Explanation
  • SYD function: Description, Usage, Syntax, Examples and Explanation
  • PDURATION function: Description, Usage, Syntax, Examples and Explanation
  • DDB function: Description, Usage, Syntax, Examples and Explanation
  • PMT, RATE, NPER, PV and FV Financial Functions in Excel
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles