Filter records from bulk data during mail merge in Writer

Filtering records

Choose records from the data source either based on conditions or from a particular range to be used for mail merge.

How to filter records?

  1. Under 'Select Data Source', click  
  2. Select Based on conditions if you want to set up condition(s) for the records. Alternatively, choose Between a particular range to choose records using range.

Filter based on Conditions

Extract unique records from your data source to match a specific criteria using conditions. Use a condition to narrow down records every time you run merge. Use a conditional operator from the available list of conditions to filter text, numbers, images, etc. from your data source.

Conditions with Date - Explained

Filter records with date as the criterion. Select the date field and apply a condition from the list available. Please refer to this table for categories of date-based conditions and how they work.

1Records falling or not falling on a specific date.Invoices on 05-Feb-2022
2Records with dates greater than/lesser than a specific date.Invoices after or before 05-Feb-2022

Records with dates greater/ lesser than n days / months / years from today's date. 

  1. Greater than n days from today.

    Ex : Invoices 3 days after 05-Feb-2022. This will fetch records beginning from 09-Feb-2022.

  2. Lesser than n days from today.

    Ex : Invoices 3 days before 05-Feb-2022. This will fetch records till 01-Feb-2022.

Filter records between two dates using and & or

With and & or, set more than one condition to filter records. For example, to filter records falling between two specific dates, insert one greater than condition and one lesser than condition as shown. This will fetch records between the two specific dates. (05-Feb-2022 and 12-Feb-2022)

  1. You can change the field type in the Filter Records pop up while filtering records as well. 
  2. Please make sure you configure filter conditions with the same date and time formats as in the data source.

    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:



                              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

                                                                                          • Connecting a Data Source

                                                                                            Data Sources Writer fetches data from the source document and places it in the merge template to generate separate output documents for each record. The source document can be anyone of the following: CSV or JSON file Use a CSV file- comma separated ...
                                                                                          • How can I filter (conditionally select) the records to be merged?

                                                                                            Writer allows you to filter (conditionally select or skip) records to be merged.  To filter records, Open the merge template. Choose the data source of your choice. Then you will find a Filter icon next to the linked data source file. From the Filter ...
                                                                                          • How to change the format of date type merge fields?

                                                                                            To change the format of date type merge fields before inserting into the document, follow the below steps: 1. Click on the gear icon next to Manage Fields. 2. Now change the type of the field to date and click on Configure. 3. Now under Input Format, ...
                                                                                          • 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 ...
                                                                                          • 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 ...
                                                                                          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