Home Install Functions Blog Pricing About

SheetFlash Functions

Basic
  • Copy and Paste
  • Native Formulas
  • Text
  • Insert Rows/Columns
  • Delete Rows/Columns
  • Clear
Visualization / Format
  • Chart
  • Format as Table
  • Bar Chart Race
  • Hierachical Tree
Text Processing
  • Join Texts
  • Replace Words
  • Replace by Regex
  • Sort Letters
  • Trim
  • Insert Letters
Text Extraction
  • Extract Segmented Strings
  • Extract Words
  • Extract by Regex
Data Analysis
  • Countifs
  • Sumifs
Table Manipulation
  • Deduplicate
  • Expand
  • Fill Empty
  • Filter
  • Group
  • Sort
  • Deduplicate Hierarchical Categories
Join / Lookup
  • Lookup
  • Join Tables
AI
  • Generative AI
Date and Time
  • Convert Number to Date
Sheet Processing
  • Merge Sheets
  • Add Sheets
  • Delete Sheets
File Processing
  • Merge Files
  • Split File

Lookup

Category: Join / Lookup Updated at: 2024-02-12

The Lookup function is a feature that allows you to search for a specific value within a data range and return a corresponding value from a different column within the same range. This function serves as an advanced alternative to Excel's VLOOKUP, offering enhanced flexibility. Unlike VLOOKUP, which can only return the first match it finds, this Lookup function provides options to retrieve all matching entries, the first matching entry, or the last matching entry.

See it in Action

Requirements

Data

  • Target Data

    • Data Range: Choose the range of cells where you want the function to operate. This is where the function will look for the value you're searching for.

    • Column to Search: Specify the column within your data range that contains the values you want to search.

    • Column to Return: Indicate the column from which to retrieve the corresponding value once the search key is found.

  • Search Key Range:

    • Data Range: This specifies the range within which your search keys are located, distinct from the main target data range. While the main target data is where the function searches for matching values, the Data Range for the Search Key contains the values you're using as criteria for the search.

    • Columns Included?: Check this option if your selected range includes the first row as column headers. This ensures that the first row is recognized as column names and excluded from the processing.

    • Lookup Pattern

      • All Matches: Select this option if you want the function to return all matching entries. Useful for identifying multiple records that meet the search criteria.

      • Only First Match: Choose this to return only the first matching entry. Ideal for situations where only the initial match is relevant. This is same as the Vlookup formula in Excel.

      • Only Last Match: Opt for this to find only the last occurrence of the search key. This is useful when the most recent entry is of primary interest.

    • Delimiter (Only when selecting All Matches): Enter the character or string used to merge all the matches.

Fill empty cells with

  • Keep Empty: Leave cells that are empty as is, without adding any text.

  • Forward Fill: Copy the value from the nearest non-empty cell above into empty cells before adding the specified letters or text.

  • Backward Fill: Copy the value from the nearest non-empty cell below into empty cells before adding the specified letters or text.

  • -: Fill empty cells with a letter "-".

  • 0: Fill empty cells with a letter "0".

  • Custom: Allows for a custom value or text to be inserted into empty cells prior to adding the specified letters.

Result Destination

Specify the starting cell where the results will be placed.

Related Articles and Topics

Text Processing
January 31, 2025

How to Replace Words by Regex in Excel in Bulk for Free (2025 Guide)

Text Extraction
January 31, 2025

How to Extract Words by Regex in Excel in Bulk for Free?

SheetFlash Product
January 31, 2025

Automating Excel Without VBA, Macros, or Power Automate: 95% Time Saved

Join / Lookup
January 31, 2025

Difference Between VLOOKUP, XLOOKUP, HLOOKUP, and LOOKUP in Excel

Text Extraction
January 31, 2025

Mastering Regex in Excel: The Ultimate 2025 Guide

Join / Lookup
January 31, 2025

Mastering Excel Table Joins Like SQL (Updated 2025)

Generative AI
January 31, 2025

How to Use ChatGPT in Excel: The Ultimate Guide to AI-Powered Add-ins

Text Processing
December 12, 2024

How to Trim Cells in Excel in Bulk for Free?

Text Processing
December 5, 2024

How to Replace Words in Excel in Bulk for Free?

Text Processing
December 4, 2024

How to Join Multiple Strings in Different Cells into One Cell with Delimiter in Bulk for Free?

Sheet Processing
December 3, 2024

How to Delete Excel Sheets in Bulk for Free?

Text Processing
December 3, 2024

How to Insert Letters at Specific Positions in Existing Strings in Bulk in Excel for Free?

Next
Home Install Functions Blog Pricing About

© 2025 SheetFlash Ltd. All rights reserved.