Zoho Recruit | Formula Field Examples

Formula Field Examples

Formula Fields can be complicated sometimes. So, here are examples that will help you understand the usage of these types of fields in Zoho Recruit.

  1. IF ELSE Statement Example: If field name contains 'Golf Only 1 Meal', then return 265 ; Else if field name .contains 'Golf Only 2 Meals' return 295 else if field name contains 'Single Occ' return 665 or return 0
    Formula: If(Contains(${Contacts.fieldname}, 'Golf Only 1 Meal'),265,If(Contains(${Contacts.fieldname},'Golf Only 2 Meals'),295,If(Contains(${Contacts.fieldname},'Single Occ'),665,0 ) ) )
  2. Example: 
    A manually entered Level; say A,B,C
    A manually entered File Received Date (Start Date)
    A formula field, that calculates a deadline date, based on the level and the File Received Date fields. This is called ''due date''.
    The calculation for Due Date -
    • If ''Level'' = A then the ''Due Date'' = ''File Received Date'' + 14 days
    • If ''Level'' = B then the ''Due Date'' = ''File Received Date'' + 10 days
    • If ''Level'' = C then the ''Due Date'' = ''File Received Date'' + 5 days

    Formula: If(Contains(${Candidates.level},'A'),Adddate(${Candidates.Start Date},14,'DAY'),If(Contains(${Candidates.level},'B'),Adddate(${Candidates.Start Date},10,'DAY'),If(Contains(${Candidates.level},'C'),Adddate(${Candidates.Start Date},5,'DAY'),Now())))

  3. Example: To calculate the age based on the Date of Birth details.

    Formula:

    • Age in Years =
      Year(Now())-Year(${Candidates.DOB})- If(Month(Now())*100+Dayofmonth(Now())>=Month(${Candidates.DOB})*100+Dayofmonth(${Candidates.DOB}) ,0 ,1 )
    • Age in Months = (Datecomp(Now(),${Candidates.DOB}))/(60*24*30)
       
  4. Change the return type of the drop-down value as a number and calculate the values of two or more drop-down fields.
    Note that the drop-down values are considered as string values, and not number values.

    Example: 
    Drop-down 1 Values - 10, 20, 30
    Drop-down 2 Values - 5, 10, 15
    Formula (number) field needs to calculate - (Drop-down 1*Drop-down 2)+Drop-down 2

    Formula: 
    (Tonumber(Drop-down 1)*Tonumber(Drop-down 2))+Tonumber(Drop-down 2)
    Return Type: Number

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                    Manage your brands on social media

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          Zoho Sheet Resources

                                           

                                              Zoho Forms Resources


                                                Secure your business
                                                communication with Zoho Mail


                                                Mail on the move with
                                                Zoho Mail mobile application

                                                  Stay on top of your schedule
                                                  at all times


                                                  Carry your calendar with you
                                                  Anytime, anywhere




                                                        Zoho Sign Resources

                                                          Sign, Paperless!

                                                          Sign and send business documents on the go!

                                                          Get Started Now




                                                                  Zoho TeamInbox Resources



                                                                          Zoho DataPrep Resources



                                                                            Zoho DataPrep Demo

                                                                            Get a personalized demo or POC

                                                                            REGISTER NOW


                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • Formula Field Functions

                                                                                                    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 Recruit formula type custom field supports four ...
                                                                                                  • Building Formula Fields

                                                                                                    The Zoho Recruit formula fields allow you to define fields that can be populated with dynamically calculated data based on the values returned from other standard or custom fields. For example, in the Candidates module, if you have added a ...
                                                                                                  • Datatypes in Formula Fields

                                                                                                    A 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, or return value of the ...
                                                                                                  • Creating Formula Fields

                                                                                                    Formula fields are read-only fields used to dynamically 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 ...
                                                                                                  • Field Level Customization

                                                                                                    Field-level customization allows you to create and organize fields in Zoho Recruit to meet your recruitment requirements. Zoho Recruit has some standard, default fields and allows users to add more industry-specific fields. Some of these fields are ...
                                                                                                    Wherever you are is as good as
                                                                                                    your workplace

                                                                                                      Resources

                                                                                                      Videos

                                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                      eBooks

                                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                      Webinars

                                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                      CRM Tips

                                                                                                      Make the most of Zoho CRM with these useful tips.



                                                                                                        Zoho Show Resources