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 ...
    • Marking Personal Fields

      GDPR defines personal data as any information relating to an identified or identifiable natural person (i.e. the data subject). There is a wide range of personal data that includes email addresses, location, mobile numbers, identification numbers, ...
    • Working with Custom Fields

      In Zoho CRM, you can add new fields as per your requirements. These fields will be available to all the users added to your organization's CRM account. Customize Zoho Defined Fields: You can edit, delete and hide some of Zoho defined fields, but note ...
    • 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 ...