How to use formula fields in Zoho Writer

How to use formula fields in Zoho Writer

Overview 

Zoho Writer allows you to insert formulas in documents to perform calculations on the fly. You can add formulas in paragraphs, tables, and merge and fillable templates. These formulas can be manually updated by the user. Additionally, you can also add conditional formulas in merge templates to configure multiple if-else branches within the same formula to generate different personalized documents, and use Zia, Writer's AI-powered assistant to create and refine formulas.

Steps 

How to add formula in a paragraph 

  1. Open the document where you wish to add the formula.
  2. Go to the Fields tab --> Formula.
  3. In the New Formula dialog that opens:
    1. Choose the desired function from the Choose Function drop down and the + icon to select the fields, to configure the desired formula.
    2. Choose the Format Number option to format the formula result.
    3. Click Insert.


How to add formula to a table 

  1. Click the table cell where you wish to add the formula.
  2. Go to the Fields tab --> Formula.
  3. In the New Formula dialog that opens:
    1. Choose the desired function from the Choose Function drop down and the + icon to select the fields, to configure the desired formula.
    2. Choose the Format Number option to format the formula result.
    3. Click Insert.
Note: You can also click the Table Settings when hovering over the table and choose the Formula option in the Table Options panel to insert a formula.

How to add formula in merge templates 

You can insert formulas in repeat blocks in merge templates to automatically perform calculations based on the number of rows being added.
Steps
  1. Click the table cell in the repeating region where you wish to add the formula.
  2. Go to the Fields tab --> Formula.
  3. In the New Formula dialog that opens:
    1. Choose the desired function from the Choose Function drop down and the + icon to select the fields, to configure the desired formula.
    2. Choose the Format Number option to format the formula result.
    3. Click Insert.
Note: You can also click the Table Settings when hovering over the table and choose the Formula option in the Table Options panel to insert a formula.

How to add conditional formulas in merge templates

  1. Open your merge template in Zoho Writer.
  2. Click Formula in the right pane under Advanced Merge Fields.
  3. Click Insert Condition and configure your condition.
  4. Insert your desired formulas in the IF and ELSE fields. You can also add multiple ELSE IF fields to handle different scenarios.


Note: You can add merge fields to the string function's value.

How to add formula in fillable templates 

You can insert formulas in fillable templates to dynamically calculate the values based on the filled responses.
Steps
  1. Place the cursor in the fillable template where you wish to add the formula.
  2. Go to the Fields tab --> Formula.
  3. In the New Formula dialog that opens:
    1. Choose the desired function from the Choose Function drop down and the + icon to select the fields, to configure the desired formula.
    2. Choose the Format Number option to format the formula result.
    3. Click Insert.

How to access AI-powered formula assistant 

  1. Open your document in Zoho Writer
  2. Click Fields -> Formula.
  3. Click the AI Formula Assistant icon

  4. In the dialog that opens, type your prompt and click Send. Zia will generate and display the formula. Click Use Formula to insert the formula in your document.

Note: You can also generate suggestions to improve your existing formulas using the AI-assistant by clicking the configured formula and clicking the AI Formula Assistant icon.

Troubleshooting 

1. Error/Symptom: Cannot format the formula's output. For example, the formula returns 10000, but I need it as 10,000.

Reason: This might happen if the formula's Number Format is not configured correctly.
Solution: Please ensure the Number Format for the formula is configured correctly.
 

2. Error/Symptom: Unable to format the formula's result like 122 to $122.00 with currency and decimals.

Reason: It could mostly be because the Number Format is not configured correctly.
Solution: Check the Number Format configured for the formula.

 

3. Error/Symptom: When I use formulas in documents, the formatting breaks. The formula should return $4.250,00 but it returns 4.25.

Reason: The most common reason is the document's locale is not configured correctly.
Solution: Set the appropriate document locale to apply the correct currency.


4. Error/Symptom: Unable to insert formula that includes a fillable field

Reason: Your document likely contains only checkbox fields.
Solution: Formulas in Writer currently support only these field types: Single Line, Multi Line, Number, Currency, Percent, Phone, and Date. Since checkbox fields are not supported, they won’t appear in the field list. Try using one of the supported field types instead.

5. Error: Getting Formula contains unrecognizable symbols error when configuring a formula
Reason: The formula's input might contain merge fields whose names might have special characters.
Solution: Set a short name for the merge fields and add them to the formula. Learn more.
  1. List of formulas supported in Zoho Writer  
  2. How to format the formula's output
  3. How to refer a formula's output in a document
  4. How to use circular formula reference in formulas


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            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







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              Create. Review. Publish.

                                              Write, edit, collaborate on, and publish documents to different content management platforms.

                                              Get Started Now




                                                                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


                                                                      • Desk Community Learning Series


                                                                      • Digest


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Glossary


                                                                      • Desk Marketplace


                                                                      • MVP Corner


                                                                      • Word of the Day


                                                                      • Ask the Experts


                                                                        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 Demo

                                                                                                          Get a personalized demo or POC

                                                                                                          REGISTER NOW


                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now








                                                                                                                                • Related Articles

                                                                                                                                • How to generate interactive pre-filled subforms in document merge

                                                                                                                                  Overview An interactive pre-filled subform table in document merge refers to a table section inside a merged document that: Pre-fills automatically using data from a connected source (CRM, spreadsheet, or form). Displays as a subform table, meaning ...
                                                                                                                                • Getting started with document merge in Zoho Writer

                                                                                                                                  Overview Zoho Writer’s template-based document generation lets you automatically create personalized documents by merging pre-designed templates with data from spreadsheets, forms, CRMs, or APIs. Merge fields pull in real data to generate contracts, ...
                                                                                                                                • How to use DATEDIF formula in Zoho Writer

                                                                                                                                  Overview The DATEDIF function in Zoho Writer allows you to calculate the difference in days, months, or years between two dates. You can insert the DATEDIF function in paragraphs, tables, and merge and fillable templates in Zoho Writer. Syntax ...
                                                                                                                                • How to create, edit, and format tables in Zoho Writer

                                                                                                                                  Overview Tables allow you to present structured information clearly within your document. In Zoho Writer you can insert new tables, convert text or spreadsheets into tables, and apply layout, design and utility operations (such as sorting, formulas, ...
                                                                                                                                • How to format formula output in Zoho Writer

                                                                                                                                  Overview Zoho Writer allows you to format your formula's output using built-in formatting options. Steps In the New Formula window, which you can launch by going to the Fields tab --> Formula, you can customize the result using the available number ...
                                                                                                                                  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