Formulas in Writer's merge templates

Working with Formulas in merge template


Please click here to head to formula help page to learn about supported functions, inserting a formula, referencing cell values, etc.

Named fields - In merged documents

In a lengthy merged document where you are required to insert the same formulas in multiple places, you can create a formula field, assign a name for the same and save it so that you can repetitively use the same field in various places in the document without having to type in the whole formula again and again.

To do so,

  1. Place the cursor anywhere you want to insert the formula. Click Formula under Advanced Merge Fields or navigate to Fields > Dynamic Fields > Formula.
  2. In the dialog box that follows, enter the formula and click on  and you will see a dropdown list where you can either select an existing field or create a new field.

  3. Select the new field or the field with which you want your formula to be applied. Type in the formula with all necessary functions. Assign a name for the formula, select a number format, prefix or suffix if any and then click Save.

  4. Use the saved formula across your merged document by following these steps.
    1. Place the cursor anywhere in your document where you want to place the saved formula.
    2. Navigate to Fields > Dynamic Fields > Formula.
    3. On clicking the arrow next to Formula, you will see a drop-down menu which lists all the saved formulas. Select the formula to be inserted.
    4. You can also edit or delete the saved formula.

    5. On editing the formula, you can either choose Update for this instance alone to update it in one particular place or throughout the entire document.

The document locale and input format of a merged document and the input format of the merge fields in the document have to be consistent for the formulas to function properly.

    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

                        Still can't find what you're looking for?

                        Write to us:



                          New to Zoho Social?

                              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 SalesIQ Resources

                                                        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

                                                                                            • Related Articles

                                                                                            • Working with Fields

                                                                                              Supported field types Supported field types Description Possible Values in the data source Rendered as Notes Plain Text The value of the field is placed as a string in the document. “test” “test” You can select the field in the document and apply the ...
                                                                                            • How to use merge fields inside formula fields in a document ?

                                                                                              To use merge fields inside a formula, enter your formula with merge fields as shown below. During the merge, Writer maps the values to the merge fields, executes the calculations and places the value in the document. Example: Here, the merge field ...
                                                                                            • How to add Zoho Creator subform fields to Writer template?

                                                                                              Due to limitations in the Creator API, subforms in Creator will not be listed in Writer. However, as a workaround you can do the following: 1. Prepare JSON with your form and subform fields as shown in this article step by step. 2. Import this JSON ...
                                                                                            • How to set up mail merge for sending Offer Letters using Zoho Writer?

                                                                                              Offer Letters can be created and sent out in bulk automatically in minutes. Follow these steps to create a template and send the offer letters in a few clicks using Zoho Writer's mail merge. Here are the steps: Create a blank document in Zoho Writer. ...
                                                                                            • How to merge Writer templates using Zoho Flow?

                                                                                              We're working on a Zoho Flow-Writer integration to help you pick template documents from Writer, place merge fields on them and merge it with data from Zoho Services. Find below steps to merge Writer Documents and with Zoho Creator Form fields. ...
                                                                                            Wherever you are is as good as
                                                                                            your workplace



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


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


                                                                                              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