Mashmatrix Sheet
English
English
  • Mashmatrix Sheet User Guide
  • Introduction
  • Application Overview
  • Basic Usage
  • Functions about Books / Sheets
    • Create a New Book
    • Change Book Setting
    • Duplicate Book
    • Delete Book
    • Open Book in New Tab
    • Change Book Sharing Folder
    • Split Book Screen
    • Create a New Sheet
    • Change Tab Display Order of Sheets
    • Change Sheet Setting
      • Sheet Setting - Basic
      • Sheet Setting - Options
      • Sheet Setting - Filter
      • Sheet Setting - Actions
    • Maximize Sheet
    • Duplicate Sheet
    • Delete Sheet
    • Create a Related Sheet
    • Create a Card Type Sheet
    • Change Card Type Sheet Setting
    • Configure Views
    • Configure Search Form
  • Functions about Displaying Data
    • Change Columns Order
    • Change Column Width / Height
    • Fix Column from Scrolling
    • Sort
    • Filter
    • Change Column Setting
      • Column Setting - Basic Property
      • Column Setting - Options
      • Column Setting - Format
    • Show / Hide Column
    • Add Column
    • Delete Column
    • Group Column Headers
    • Summary Row
    • Formula
    • Function
      • Salesforce Compatible Functions
      • Aggregation Functions
      • Other Extension Functions
    • Reference Value
    • Navigate Pages and Reload Records
  • Functions about Editing Data
    • Edit / Save Displayed Data
    • Copy & Paste Values
    • Create a New Record
    • Duplicate Records
    • Delete Records
    • Lookup Search
  • Functions about Actions
    • Action Button
    • Standard Actions
    • Marketing Actions
    • Custom Actions
    • Approval Request Actions
  • Functions for Advanced Usage
    • Time-Series Matrix Transformation
      • Overview
      • Add Matrix Column
      • Change Matrix Column Setting
      • Show / Hide Column
      • Add Child Column
      • Delete Child Column
      • Format
      • Matrix Column and Formula
      • Limitations
  • Settings for Admin
    • Assign License
    • Grant Permission Set
    • Administration Console
    • Organization-Level Configuration
  • Customization
    • Access Sheet Directly with URL
    • Sheet Component
    • Embed Sheet in Layout using Visualforce
    • Using Sheet Component in Visualforce
    • JavaScript API
    • Launching Custom Apex / Visualforce
    • Launching Flow
    • Using in Experience Cloud
Powered by GitBook
On this page
  • VLOOKUP(value, search_column, result_column)
  • VLOOKUP Function Limitations and Notices
  1. Functions about Displaying Data
  2. Function

Other Extension Functions

The VLOOKUP function allows you to find the value of a matching record by looking up the values on the sheet.

The VLOOKUP function is an extension function added in the Mashmatrix Sheet formula. It is not compatible with the VLOOKUP function available in Salesforce validation rules..

VLOOKUP(value, search_column, result_column)

Searches for a record that matches a specified value and returns the value of that record.

Argument Name
Description

value

value to search for a match

search_column

Reference to the column with the value to search for a match

result_column

Reference to the column with the value to be returned

Formula Examples

/* Search for the record in sheet "s1" whose "ProductId" column value matches
   the ProductId value of the current record, and returns the "ListPrice"
   column value of that record */
VLOOKUP(CASESAFEID(ProductId), [s1].[#ProductId], [s1].[#ListPrice])

/* Searches for the record in sheet "s1" whose "Name" column value matches the
   concatenation of the "Name" and "Type" column values of the current record,
   and returns the value of the "Amount" column of the record */
VLOOKUP([@Name] + " - " + [@Type], [s1].[#Name], [s1].[#Amount])

VLOOKUP Function Limitations and Notices

  • The VLOOKUP function searches only for records retrieved on the sheet, not entire records stored in the Salesforce object. You can increase the number of records to be searched by changing the "Max Fetch Record Num" from the sheet settings.

  • Field variables cannot be set in the search and result column arguments of the VLOOKUP function. To search for a Salesforce field, you must first add the field as a column to the sheet, and then pass the added column to the VLOOKUP function.

  • The search and result column arguments of the VLOOKUP function must be columns that belong to the same sheet.

  • When specifying an field variable of the ID type as the value of a match search, it is necessary to use the CASESAFEID function to unify the 18-digit notation.

PreviousAggregation FunctionsNextReference Value

Last updated 3 years ago