Skip to main content

How do I calculate a value from other fields: Formula Field

Add a Formula field, write a formula in the builder with fields, operators and functions, and fix the common errors.

Written by Peter Novosel

A Formula field calculates a value from other fields in the record, such as price times quantity, the days between two dates or a score from several ratings. Add it like any field, choose Formula, and write the formula in the builder using field names, operators and functions.

Plan Availability

All plan types. Count, Rollup and Formula fields per table share a combined limit: 30 on Team, 50 on Professional, 100 on Enterprise and Signature.

Permissions

Administrators and Solution Managers create and modify Formula fields in the solutions they manage.

Platform

Web

Related Reading


Feature overview video

Formula fields make it simple to automatically calculate a value. You can figure out total cost by multiplying the price by quantity, see if a date falls in a particular range, or use advanced functions to compute a risk score based on a formula you specify.


How do I add a Formula field?

From Grid View

Click the + menu icon after the last column header or open the Column Menu by clicking on a column header's dropdown icon and then select "Add Field to the Right."

Select "Formula," and a window will open to configure the field. You can search the name for a quick find.

The Grid View column header menu with Add Field to the Right and the Formula field type selected

From Record View

The fastest way to add a field from an open Record View to is simply click the + sign next to a current field to add a new field below.

See a Formula field being added in Edit Record View below:

A Formula field being added from an open record by clicking the plus beside a field

When should I use a formula?

Here's an example of a formula in action. The screenshot below shows a Total Estimate field that is adding together numbers that represent the estimated level of effort for a software development project:

A Total Estimate formula field adding the effort estimates of a software project

Other ways to use a Formula field

Create customized text

You can use a formula to build a customized message by combining other fields' values.

Maybe you want to display the name of a salesperson along with their region when you create a sales performance chart - you could combine a "Salesperson" field with a "Sales Region" field to create a "Sales Rep" field with a value like Mary Smith (West)

Compare dates

Sometimes it's handy to display the number of days until a specified date so that you can quickly understand a timeline. This is a snap with a formula using one of SmartSuite's built-in functions to compare a "Due Date" with today's date.

Field Limit Note:

The limit for complex field types in Tables vary based on plan type & include:

Free / Team Plan

  • 30 Linked Records

  • 30 Lookups

  • 30 Total Calculated fields, including: Formulas, Rollups, Counts

Professional Plan

  • 50 Linked Records

  • 50 Lookups

  • 50 Total Calculated fields, including: Formulas, Rollups, Counts

Enterprise / Signature Plan

  • 100 Linked Records

  • 100 Lookups

  • 100 Total Calculated fields, including: Formulas, Rollups, Counts


What is in the Formula field properties?

Formula fields can be added and named just like any other field. To access the Advanced Editor, adjust the toggle on the bottom left side:

The Formula field settings with the Advanced Editor toggle at the bottom left

When you open the field properties, however, you’ll see how this field is different.

The Formula field properties showing the formula builder, fields list, functions and operators and the help panel

Instead of your typical properties display, the Formula field shows you a formula “builder” interface, along with panels that provide a fields list, a selection of operators and functions, and a help text area. You’ll notice that until you type anything into the formula builder area it contains the text “Write formula here” and a bit of information about the syntax that you can use to builder your formulas.


Formula builder

In the formula builder you input your formula using a combination of field names, operators and functions. Inline help is available for every option.

If the entry in the formula builder is invalid, you'll know at a glance with an Invalid syntax message displayed just under the text box.

The formula builder with an Invalid syntax message under the text box

How do I add comments inside a formula?

Using the # symbol, you can add comments in our Formula Builder. Anything after a # and before a line break will be ignored by our builder and can be kept as plain text. Whether you want to add notes describing what the formula is doing, or keep a list of all fields that the formula depends on, this opens up a large number of options for making formulas easier to work with.

A formula with an in-line comment after a hash symbol


Fields list

The Fields list displayed in the -upper-left corner of the formula window includes all of the fields in the current Table. Click on any of the fields and it will automatically be inserted into the formula builder at your current cursor location. Clicking on the ? icon will have the Help panel to the right display information about that field and how to reference it in your formula. This field list will also be filtered as you type in the formula builder, showing only matching field names, functions, and operators.

The fields list in the upper-left of the formula window with the question mark icon

Functions and operators

The list of functions and operators is the toolbox for evaluating input data and formatting the field's output. This list will be filtered as you type in the formula builder, showing only those items that match.

Operators provide you with mathematical functions, allowing you to quickly add or multiply numbers, figure out if two values are equal, and much more.

Functions allow you to determine a value based on certain inputs. Examples of the capabilities represented in the functions library are:

  • Determining the number of days between two dates

  • Counting the number of items in a Linked Record field

  • Counting the number of items in a Sub-Items field

  • Displaying the year portion of a date

  • And dozens more...

The format and output of each function is beyond the scope of this help article, but we've put together a list of all Formatting, Functions, & Operators as an area to easily reference everything you need to know about how to use a Formula Field, or you can also take a look at our dedicated help article as well.

You can also find Text, Date, and Numeric examples in our Formula Operators & Functions solution template for those that are hands-on learners. It has basic formulas already set up so you can see how the information changes as you modify the example data, or even use the examples to create your own more complex formulas.


Help panel

The help panel, displayed on the right hand side of the formula interface and displays help for the currently-selected field, operator, or function. In addition to a description of the selected item and its use in your formula, the help panel will display information about the syntax and example usage of the item.


How do I add help text for users?

To make sure people understand what the field is for, Create customized help text that is displayed to users when they are entering data, so people see it while they enter data.

The Field Help Text option in the field settings

Related video content

Frequently asked questions

Can a formula reference a field in a different table?

Yes, a formula can reference fields in the current Table, a field in a Sub-Items field, or a Field in another Table using a Linked Record field. Learn more about this in our article Reference Data from other Tables.

Why does 1 + 1 give 11 instead of 2?

This particular calculation error occurs because one of the referenced values is a text value, not a number. The addition operator (+) serves double-duty in SmartSuite formulas, either adding numbers together if both values are numeric, or combining (concatenating) values to create a custom bit of text if anything other than numbers are referenced (i.e. dates or text).

To correct this error, check that both values referenced by your formula are numeric types.

Note 📝 : The formula field is treated by SmartSuite as either a number, a date, or as text. If the addition operator is adding numbers you get a number result (allowing for numeric field filtering, charting, etc.) If you are concatenating values, the output is text (so you get access to "contains" and similar filters).

Why is my formula field showing a red icon instead of a value?

If your formula's value is a red icon, you've got an error in the formula and SmartSuite cannot calculate a value. Click on the icon as a Solution Manager or Admin to open the formula field properties and fix the formula syntax.

Note that the warning "Invalid formula" will be displayed in red text below the formula builder text box if the formula is currently invalid.

Can I combine values from two or more fields?

Yes. This is one of the most common uses for the SmartSuite formula field. See our article Combine text from two or more fields for a complete, step-by-step tutorial.

Where is the complete list of functions and operators?

See the SmartSuite Formula Field Reference Guide . It lists everything the Formula field supports, with the syntax and an example for each function; the same list is in Formula Functions & Operators.

Can I use a Files and Images field in a formula?

Yes. This allows you to generate a string containing a list of all of the file names. Ex: CONCAT([Link to Tasks].[Documents])

How do I add days to a date?

Use DATEADD: DATEADD( Date, Count, Unit ) Unit is one of the following: ∙ minutes ∙ hours ∙ days ∙ weeks ∙ months ∙ years. For example, DATEADD([Due Date], 14, "days") returns the date two weeks after Due Date; use a negative number for an earlier date. For working days use WORKDAYS([Due Date], 10).

How do I get the hours between a start time and an end time?

DATEDIFF([Time In], [Time Out], "hours"). Use "minutes" for minutes or "days" for days.

I have reached my limit of calculated fields. What can I do?

Count, Rollup and Formula fields share one limit per table: 30 on Team, 50 on Professional and 100 on Enterprise and Signature. Remove fields you no longer use, move some calculations into a separate table, or upgrade the plan.

How do I multiply a value from a linked record?

Pull the value through with dot notation and a function, then multiply: SUM([Service].[Rate]) * [Hours]. SUM works when the link holds one or more records.

Last verified 21 Oct 2026 against the SmartSuite Limits article (calculated field limits) and the Formula Functions & Operators article; UI descriptions as Product wrote them

Did this answer your question?