Overview
Formula columns allow you to populate sheet cells with a custom formula that references other columns as variables.
Add a formula column
To add a formula column:
Add a column and choose the type "Formula".
Use functions and operators to enter a formula that references at least one existing column from this sheet as a variable. Add a function quickly by clicking an option from the list below the formula text box. Reference a column by clicking
Variable underneath the formula text box.
Select a number format for the formula output.
Click Add Column.
Available formula operators, functions, and variables
There are many formula operators and functions available for you to use. You can reference text columns, list columns, shared columns, formula columns, and shared formula columns as variables. You can also have numbers, text, and emojis as outputs.
Variables: Represent data from a field. Always enclose variable names in curly braces, like
{Variable Name}.Functions: Predefined formulas that perform specific calculations or operations. They take arguments within parentheses to produce a result.
Arguments: The values, variables, or expressions a function needs to perform its action. Arguments are enclosed in parentheses and separated by commas.
Category | Operator / Function | Syntax | Description | Example |
Variables | Variable |
| References the value of a cell in another column. |
|
Basic Math | Addition |
| Adds two or more numbers. |
|
| Subtraction |
| Subtracts one number from another. |
|
| Multiplication |
| Multiplies two or more numbers. |
|
| Division |
| Divides one number by another. |
|
Comparison | Equals |
| Checks if two values are equal. Returns |
|
| Does not equal |
| Checks if two values are not equal. Returns |
|
| Greater than |
| Checks if the first value is greater than the second. Returns |
|
| Less than |
| Checks if the first value is less than the second. Returns |
|
| Greater than or equal to |
| Checks if the first value is greater than or equal to the second. |
|
| Less than or equal to |
| Checks if the first value is less than or equal to the second. |
|
Logical | IF |
| Returns one value if a condition is |
|
| IFS |
| Evaluates multiple conditions and returns the value for the first one that is |
|
| AND |
| Checks if all conditions are |
|
| OR |
| Checks if any of the conditions are |
|
| NOT |
| Reverses a logical value. If the condition is |
|
Math Functions | AVERAGE |
| Calculates the average (arithmetic mean) of a set of numbers. |
|
| SUM |
| Calculates the sum of a set of numbers. |
|
| MIN |
| Finds the smallest number in a set of values. |
|
| MAX |
| Finds the largest number in a set of values. |
|
| LARGER |
| Returns the larger of two given numbers. |
|
| ROUND |
| Rounds a number to a specified number of decimal places. |
|
| SQRT |
| Returns the positive square root of a number. |
|
| POWER |
| Raises a number to a specified power. |
|
Text Functions | UPPER |
| Converts all letters in a text string to uppercase. |
|
| LEFT |
| Extracts a specified number of characters from the beginning of a text string. |
|
| RIGHT |
| Extracts a specified number of characters from the end of a text string. |
|
| CONCAT |
| Joins two or more text strings together. |
|
| SPELLNUMBER |
| Converts a number into its spelled-out, English text equivalent. |
|
Date Functions | YEAR |
| Extracts the year from a date. |
|
| MONTH |
| Extracts the month from a date. The optional |
|
| DAY |
| Extracts the day of the month from a date. |
|
| WORKDAY |
| Calculates a future or past date based on a starting date and a number of workdays, automatically excluding weekends. |
|
| DATEADD |
| Adds a specified number of days to a date. |
|
Conditional | IFBLANK |
| Checks if a value is blank. Returns |
|
Formula evaluation errors
A formula column will calculate automatically if the column(s) it references contain valid data. A cell in a formula column will display a warning
if the formula can't be calculated. Hover over the warning to view the formula error message.
The message Error evaluation formula: Variable {column name} is invalid means that something is wrong with the data in the column specified which is preventing the formula from calculating a result.
For example, a column that this formula uses contains no data. To fix this, look at the column specified in the warning and make sure that cell contains valid data.




