Functions in Formula Fields

Functions in Formula Fields

Function performs a specific operation on values that you specify and generates a new value. To compose a function, you need to type the function name, followed by a set of parentheses(). The Zoho CRM formula type custom field supports four different functions:

  • Numeric Functions
  • String Functions
  • DateTime Functions
  • Boolean (Logical) Functions

Numeric Functions

A numeric function in formula fields is used to work with numeric data types and accepts numeric results. Numeric functions are generally used to display the results of typical mathematical calculations. The numeric values (arguments) can be integers or decimals, positive or negative. For instance, the formula can use number values as 10-12+52, etc.

String Functions

A String is a specialized set of characters (that can contain spaces and numbers) or a contiguous sequence of symbols or values enclosed within quotes so as to be differentiated from a number or a variable name. A string function is used to manipulate or edit the contents of a string.

DateTime Functions

DateTime functions are used when working with time and date types such as identifying the day of the week for a given date. You can use these functions when you need the values to contain both date and time information in a specified format. For instance, the formula can return a value as YYYY-MM-DD HH:MM.

Boolean Functions

A boolean function determines the value output based on the logical calculation of the inputs. In other words, a boolean function evaluates the truth or fallacy of each element of its domain. It confirms the entities having just two values: 1 or 0, true or false, etc. along with the operations andor and not.

    • Related Articles

    • Creating Formula Fields

      Formula fields are used to calculate different types of values, including numeric values, text values, date values, etc. Formula fields and their resulting return value have certain data types associated with them and there are specific operators ...
    • Building Formula Fields

      The Zoho CRM formula fields enable you to define fields that can populate dynamically calculated data based on the values returned from other standard or custom fields. For instance, an insurance company may need to determine, if the provided date of ...
    • Data types in Formula Fields

      Data type is the kind of data that can be held and stored while evaluating an expression. Data types are the defined set of values and the allowable operations on those values. They represent either the function, argument, return value or the ...
    • Associate Functions

      Zoho CRM Functions help you to update the data in related CRM modules or third-party applications by executing simple program scripts. When a record matches the workflow criteria, workflow engine automatically triggers the function and update the CRM ...
    • Examples of Formula Field

      Formula Fields can be complicated sometimes. So, here are examples that will help you understand the usage of these types of fields in Zoho CRM. IF ELSE Statement Example: If field name contains 'Golf Only 1 Meal', then return 265 ; Else if field ...