もっと詳しく
Update

[September 6, 2022] Due to an unrelated issue, we had to temporarily rollback the features announced in this post. We are resuming rollout on September 6, 2022 at a Gradual pace (up to 15 days for feature visibility).


[September 15, 2022] All Rapid Release and Scheduled Release domains will have access to this feature by September 26, 2022.


What’s changing

We’re introducing named functions, a new feature that allows you to create high-performance custom functions that support built-in Sheets formula constructs. To maintain reusability across files, you can also import named functions from existing Sheets files, allowing you to use functions created in one Sheets file in a different Sheets file. 
named functions

Who’s impacted 

Admins and end users 

Why it matters 

Named functions provide greater formula flexibility, readability, and reusability within and across Sheets. Formulas that were previously complex and difficult to understand can now be simplified into more comprehensible and reusable named functions. 
This feature also builds upon our recent formula enhancements: intelligent corrections for formulas and suggestions for formulas and functions in Sheets. 

Additional details 

We’re also launching a bundle of new and powerful functions in Sheets: 
  • LAMBDA: Creates and returns a custom function, given a set of names and a formula_expression which uses them. The formula_expression can be calculated by calling the returned function with as many values as the names declared. 
  • Lambda Helper Functions – MAP, REDUCE, BYROW, BYCOL, SCAN, MAKEARRAY: Advanced array-operating functions which accept a reusable lambda as an argument along with an input array(s). 
  • XLOOKUP: Returns the values in the result range based on the position where a match was found in the lookup range. If no match is found, it returns the closest match. 
  • XMATCH: Returns the relative position of an item in an array or range that matches a specified value. XMATCH supports enhanced match and search functionality and allows wildcard matches with a question mark (?) or asterisk (*). 

Getting started 

  • Admins: There is no admin control for this feature. 
  • End users: 
    • In Sheets, navigate to Data > Named functions > Add new function > enter details > Next > Create. You can then enter your custom formula into a Sheets’ cell. 
    • Named functions created in a Sheets file are available only in that file. To use named functions in another Sheet, select that file via Data > Named functions > import function > pick the named functions you want to add. 
    • Visit the Help Center to learn more about Named functions

Rollout pace 

Availability 

  • Available to Google Workspace Essentials, Business Starter, Business Standard, Business Plus, Enterprise Essentials, Enterprise Standard, Enterprise Plus, Education Fundamentals, and Education Plus customers 
  • Not available to Frontline, Nonprofits, as well as legacy G Suite Basic and Business customers 
  • Available to users with personal Google Accounts 

Resources