How to sort repeat table data during Zoho Writer's mail merge?

How to sort repeat table data during Zoho Writer's mail merge?

Organize your repeat table data in a logical order by sorting it based on a specific merge field. For example, let's say you want to sort your employee details by their department. Then, within each department, you may further want to sort the employees by their date of joining to ensure that employees within the same department are ordered by their date of joining. To achieve this, utilize the Sort Repeat Records feature in Zoho Writer.

There are two stages of sorting involved in this process:
  1. Primary Sorting: Start by sorting your repeat table data based on a primary merge field, that is, Department of the employees.
  2. Secondary Sorting: After the primary sorting(Department-wise sorting) is applied, you may find it necessary to refine the order of the data further. (Sort by date of joining) This is where "then sort by" comes into play. You can specify a secondary merge field, that is, Date of joining, to sort the data within each department created by the primary sorting.

 Steps to sort repeat records:

  1. Create a merge template and connect a data source.
  2. Within your template, insert a repeat table containing the necessary fields. Note that you can choose between a simple repeat, row repeat, or any other type of repeat region.
  3. Right-click on the field by which you intend to sort your repeat data. From the drop-down menu, select Sort Repeat Records.



  4. Primary sorting: Next, select the field you wish to sort by. Specify the field type (e.g., text, date, number), and indicate whether you want the data sorted in ascending or descending order.



  5. Secondary sorting: Specify a secondary merge field(date of joining) in Then by to sort the data within each group created by the primary sorting.



  6. Click on Sort to initiate the sorting process. Then, preview your merge to ensure that the data is sorted as desired.

    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









                                                                                                      • Related Articles

                                                                                                      • Repeat Blocks in merge

                                                                                                        Repeat Field is one of the advance merge fields that lets you repeat blocks of information for each record in your data source automatically. The following image shows how a template document as well as the output document will look after using the ...
                                                                                                      • Finish Merge

                                                                                                        Finish Actions Email Notifications You can enable email notifications to get notified when the merge is initiated and completed. You will receive an email as shown below, once the merge is initiated with a link to track the status of the merge ...
                                                                                                      • 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 configure workflows to run Writer mail merge tasks?

                                                                                                        Workflow Rules in Zoho CRM are a set of actions including email notifications, and field updates that are executed when specific conditions are met. You can create a workflow rule and set an action to automate Writer's Mail Merge Tasks. (Ex: Merge ...
                                                                                                      • Zoho Mail Extension for Writer

                                                                                                        Zoho Mail is a simple yet powerful collaborative communication platform for businesses of all sizes. The Zoho Mail extension integrates seamlessly with Zoho Writer and allows users to instantly share the desired content as an attachment. Steps to ...
                                                                                                        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