Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use Named Functions in Google Sheets

If you haven’t used Named Functions in Google Sheets, you should give it a try. It’s a very useful feature for users who like to use formulas and functions in Google Sheets.

In order to learn how to use Named Functions, check out this comprehensive guide and start creating custom functions in Google Sheets.

What are Named Functions in Google Sheets?

As you know, Google Sheets has some powerful functions and formulas that allow you to perform complex calculations. In fact, you can combine multiple functions and create even more complex formulas.

If you use the same custom functions on a regular basis, you can convert these frequently-used formulas into Named Functions. With this Google Sheets feature, you can create custom formulas, save them and even share them with other users.

Why use Named Functions in Google Sheets?

Here are some benefits of using Named Functions in Google Sheets:

  • If you customize formulas and use them on a regular basis, Named Functions can help you save time.
  • If you use large formulas frequently and struggle to type it out correctly, this feature can prevent you from making syntax errors.
  • If you need other team members to use the same custom formulas, you can create a named function and share it with them.

How to create Named Functions in Google Sheets

Let’s say we have created a spreadsheet to collect and analyze data from our marketing campaigns. There are some frequently-used metrics we need to calculate when we want to analyze the results of these campaigns: CPA (cost per acquisition), ROAS (return on ad spend) and conversion rate.

Here, we are going to use a Named Function to create a simple formula to calculate the cost per acquisition. Keep in mind that this is just a simple example to help you get your feet wet. Once you learn how to use Named Functions in Google Sheets, you can create complex functions using built-in Sheets formulas.

In order to calculate the CPA, we need to divide the total ad spend by the total number of conversions. Since it’s a sales campaign, the total number of conversions will be the total number of purchases.

First, go to Data and select Named functions.

Named functions 1

Now click Add new function.

Named functions 2

Write the function name and add a function description to let users know what it does. I’ll call it CPA and include a description: Calculate the cost per acquisition.

Then I can copy the formula I used to calculate the cost per acquisition and paste it into the formula definition field.

Named functions 3

The first argument in the formula is A2, which represents the first value: total spend. I’ll click A2 to add an argument placeholder. I’ll call it ad_spend.

Named functions 4

Now let’s define the second argument placeholder. I’ll call it purchases.

Named functions 5

As you can see, I have already created the custom formula: CPA = ad spend/purchases.

Named functions 6

When you click Next, you will visualize the Named Function.

Named functions 7

If you type the Named Function in a cell now, you will see the description.

Named functions 8

You can also check the formula syntax.

Named functions 9

If you replace the argument placeholders, you will be able to calculate the cost per acquisition using this Named Function.

Named functions 10

Voilà! Google Sheets has calculated the cost per acquisition using the Named Function I have created.

Named functions 11

In this example, you could replace the placeholders with values instead of cells. 

Named functions 12<br />

Convert your frequently-used formulas into Named Functions

Now that you know how to use Named Functions, you can convert your frequently-used formulas and share it with other spreadsheets. We’ll use a more complex formula now to help us decide how to optimize our campaigns. 

Whenever we apply this formula, Google Sheets will return a command to tell us what we should do next: scale the campaign, test more ads or pause the campaign.

Here’s the formula we’ll use:

Named functions 12<br />

If my ROAS (return on ad spend) is higher than 2.5x, Google Sheets will return the word SCALE. If it’s between 2.2x and 2.5x, I’ll need to test more ad creatives. Otherwise, I’ll have to pause the ad campaign.

Now we can follow the same steps now to create this Named Function. I’ll call it OPTMIZE.

Named functions 12<br />

Then I’ll replace “K2” with the argument placeholder ROAS.

Named functions 12<br />

Whenever I need to apply this formula, I can use this Named Function. This will make it much easier to use this custom formula. When I type in the formula, all I have to do is replace the argument placeholder ROAS.

Named functions 12<br />

By using this custom formula, Google Sheets will tell me how I should optimize the campaign based on the criteria I have established.

Named functions 12<br />

Now I can export these Named Functions to other spreadsheets and even share them with my team members. 

Let’s say I want to create a new spreadsheet and import this function into it. I’ll open my new file and click Import function instead of selecting Add new function.

Then I’ll select the spreadsheet I want to import this function from. After choosing the Named Functions I want to import, I can start using this custom formula within my new spreadsheet.

Named functions 12<br />

How to use Named Functions in Google Sheets

This is how you can use Named Functions in Google Sheets. Whenever you want to save your custom formulas in Google Sheets, you can use this powerful feature to create a Named Function and help you save time and work more efficiently.

If you need to create formulas in Google Sheets on a regular basis, check out this article on ChatGPT and spreadsheets and find out if this AI tool can help you generate formulas more easily.

You may also like…

google sheets features and formulas

How to find nominal interest rate using Google Sheets

Sarah is a young professional making significant financial decisions. From credit cards to mortgages, student loans, and investment...
google sheets features and formulas

Pull Google Calendar data into Google Sheets using Apps Script

This post was originally published in our community forum. Objective : This guide demonstrates how to use Google Apps Script to pull data...
google sheets features and formulas

Using the PROPER function to capitalize the first letter of each word in Google Sheets

Note: This post was originally published in our community forum. Ever found yourself needing to clean up a list of names, titles, or any...