Skip to main content

Documentation Index

Fetch the complete documentation index at: https://coconut-grid.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Quickly build expressions for formula columns and actions.

Input Fields

  • Column Label — the header name shown in the data grid.
  • Data Type — the formula’s output type (e.g., Number, Text, Date, Boolean).
  • Formula — your expression built with fields, operators, and functions.
  • Treat blank fields as zeroes — interpret blanks as 0 during calculations (useful for numeric math).
  • Treat blank fields as blanks — keep blanks as null/empty so they don’t contribute to calculations.

Formula Syntax

  • Type formulas directly or click to insert from the editor’s pickers.
  • Insert fields, functions, and operators at the end of the current formula syntax.
  • Use parentheses to control calculation order.
  • Only fields are case-sensitive, everything else (functions, operators) is not.

Buttons

  • Validate — checks formula syntax and shows any errors.
  • Apply — applies the formula to the current input.
  • Cancel — closes without saving changes.

Behavior details

  • Evaluation: formulas are calculated on the front end.

Built-in functions

  • Date & Time
Function NameSyntax and Description
ADDMONTHSADDMONTHS(date,num)
Add the num months to the date, using the last date of the month if date is the last day of the month or adding num months has fewer days.
DATEDATE(year,month,day)
Creates a date from a year, month and day.
DATETIMEVALUEDATETIMEVALUE(expression)
Returns a year, month, day and GMT time value.
DATEVALUEDATEVALUE(expression)
Creates a date from its datetime or text representation.
DAYDAY(date)
Returns the day of the month, a number between 1 and 31.
DAYOFYEARDAYOFYEAR(date)
Return the day of the calendar year (from 1-366).
FORMATDURATIONFORMATDURATION(numSeconds[, includeDays] | dateTime/time, dateTime/time)
Format the number of seconds with optional days, or the difference between times or dateTimes as HH:MI:SS.
FROMUNIXTIMEFROMUNIXTIME(number)
Return the datetime that represents the given number as the seconds elapsed since 1 Jan 1970.
HOURHOUR(expression)
Returns hour of day.
ISOWEEKISOWEEK(date)
Return the ISO 8601 week number for the given date (from 1-53) so that the first week starts on monday.
ISOYEARISOYEAR(date)
Return the ISO 8601 week-numbering 4-digit year for the given date so that the first day is a monday.
MILLISECONDMILLISECOND(expression)
Returns millisecond of day.
MINUTEMINUTE(expression)
Returns minute of day.
MONTHMONTH(date)
Returns the month, a number between 1 (January) and 12 (December).
NOWNOW()
Returns a datetime representing the current moment.
SECONDSECOND(expression)
Returns second of day.
TIMENOWTIMENOW()
Returns a time representing the current moment.
TIMEVALUETIMEVALUE(expression)
Returns a time.
TODAYTODAY()
Returns the current date.
UNIXTIMESTAMPUNIXTIMESTAMP(date/time)
Return the number of seconds since 1 Jan 1970 for the given date, or number of seconds in the day for a time.
WEEKDAYWEEKDAY(date)
Return the day of the week for the given date, using 1 for Sunday, 2 for Monday, through 7 for Saturday.
YEARYEAR(date)
Returns the year of a date, a number between 1900 and 9999.
  • Logical
Function NameSyntax and Description
ANDAND(logical1,logical2,…)
Add the num months to the date, using the last date of the month if date is the last day of the month or adding num months has fewer days.
BLANKVALUEBLANKVALUE(expression, substitute_expression)
Checks whether expression is blank and returns substitute_expression if it is blank. If expression is not blank, returns the original expression value.
CASECASE(expression, value1, result1, value2, result2,…,else_result)
Checks an expression against a series of values. If the expression compares equal to any value, the corresponding result is returned. If it is not equal to any of the values, the else-result is returned.
IFIF (logical_test, value_if_true, value_if_false)
Checks whether a condition is true, and returns one value if TRUE and another value if FALSE.
ISBLANKISBLANK(expression)
Checks whether an expression is blank and returns TRUE or FALSE.
ISNULLISNULL(expression)
Checks whether an expression is null and returns TRUE or FALSE.
ISNUMBERISNUMBER(Text)
Returns TRUE if the text value is a number. Otherwise, it returns FALSE.
NOTNOT(logical)
Changes FALSE to TRUE or TRUE to FALSE.
NULLVALUENULLVALUE (expression, substitute_expression)
Checks whether expression is null and returns substitute_expression if it is null. If expression is not null, returns the original expression value.
OROR(logical1,logical2,…)
Checks whether any of the arguments are true and returns TRUE or FALSE. Returns FALSE only if all arguments are false.
  • Math
Function NameSyntax and Description
ABSABS(number)
Returns the absolute value of a number, a number without its sign.
ACOSACOS(number)
Returns the arc cosine of the number in radians, if the given number is between -1 and 1. Otherwise NULL.
ASINASIN(number)
Returns the arc sine of the number in radians, if the given number is between -1 and 1. Otherwise NULL.
ATANATAN(number)
Returns the arc tangent of the number in radians.
ATAN2ATAN2(y, x)
Returns the arc tangent of the quotient of y and x in radians.
CEILINGCEILING(number)
Rounds a number up to the nearest integer, away from zero if negative.
COSCOS(number)
Returns the cosine of the number, where the number given in radians.
EXPEXP(number)
Returns e raised to the power of a given number.
FLOORFLOOR(number)
Rounds a number down, towards zero to the nearest integer.
LNLN(number)
Returns the natural logarithm of a number.
LOGLOG(number)
Returns the base 10 logarithm of n.
MAXMAX(number,number,…)
Returns the greatest of all the arguments.
MCEILINGMCEILING(number)
Rounds a number up to the nearest integer, towards zero if negative.
MFLOORMFLOOR(number)
Rounds a number down to the nearest integer, away from zero if negative.
MINMIN(number,number,…)
Returns the least of all the arguments.
MODMOD(number,divisor)
Returns the remainder after a number is divided by a divisor.
PIPI()
Returns pi.
ROUNDROUND(number,num_digits)
Rounds a number to a specified number of digits.
SINSIN(number)
Returns the sine of the number, where the number given in radians.
SQRTSQRT(number)
Returns the positive square root of a number.
TANTAN(number)
Returns the tangent of the number, where the number given in radians.
TRUNCTRUNC(number,num_digits)
Truncates a number to a specified number of digits.
  • Text
Function NameSyntax and Description
ASCIIASCII(text)
Return the first character’s code point from the given string as a number.
BEGINSBEGINS(text, compare_text)
Checks if text begins with specified characters and returns TRUE if it does. Otherwise returns FALSE.
BRBR()
Inserts an HTML break tag in string formulas.
CASESAFEIDCASESAFEID(id)
Converts a 15-character ID into a case insensitive 18-character ID.
CHRCHR(number)
Return a string with the first character’s code point as the given number.
CONTAINSCONTAINS(text, compare_text)
Checks if text contains specified characters, and returns TRUE if it does. Otherwise, returns FALSE.
FINDFIND(search_text, text [, start_num])
Returns the position of the search_text string in text.
HYPERLINKHYPERLINK(url, friendly_name [, target])
Creates a hyperlink.
IMAGEIMAGE(image_url, alternate_text [, height, width])
Inserts an image.
INCLUDESINCLUDES(multiselect_picklist_field, text_literal)
Determines if any value selected in a multi-select picklist field equals a text literal you specify.
INITCAPINITCAP(text)
Return the text as lowercase with first character of each word made uppercase.
ISPICKVALISPICKVAL(picklist_field, text_literal)
Checks whether the value of a picklist field is equal to a string literal.
LEFTLEFT(text, num_chars)
Returns the specified number of characters from the start of a text string.
LENLEN(text)
Returns the number of characters in a text string.
LOWERLOWER(text)
Converts all letters in the value to lowercase.
LPADLPAD(text, padded_length [, pad_string])
Pad the left side of the value with spaces or the optional pad string so that the length is padded_length.
MIDMID(text, start_num, num_chars)
Returns character from the middle of a text string, given a starting position and length.
PICKLISTCOUNTPICKLISTCOUNT(multiselect_picklist_field)
Returns the number of selected values in a multi-select picklist.
REVERSEREVERSE(text)
Returns the text string in reverse order.
RIGHTRIGHT(text, num_chars)
Returns the specified number of characters from the end of a text string.
RPADRPAD(text, padded_length [, pad_string])
Pad the right side of the value with spaces or the optional pad string so that the length is padded_length.
SUBSTITUTESUBSTITUTE(text, old_text, new_text)
Substitutes new_text for old_text in a text string. Use SUBSTITUTE when you want to replace specific text in a text string.
TEXTTEXT(value)
Converts a value to text using standard display format.
TRIMTRIM(text)
Removes all spaces from a text string except for single spaces between words.
UPPERUPPER(text)
Converts all letters in the value to uppercase.
VALUEVALUE(text)
Converts a text string that represents a number to a number.
Last modified on April 26, 2026