DataPrep allows you to count the occurrence of data in a column based on the condition given. You can count the values that match your selection based on the different patterns that fit your selection. 

To count the desired value in a column:

1. Right-click the column name and select Count from the context menu.

2. Enter the new name for the column under the New column name field in the operations pane.

3. Select an option from the Count options dropdown, based on which the value in the column will be selected for counting. The options available are:  
  1. Matching text or pattern
  2. Regex
4. Matching text or pattern: This options requires you to provide the text or pattern in the following fields that would match a portion of the cell value or all of it to count. 
  1. Text or pattern to match: Count the occurrences of the given text or pattern.
  2. Starting text or pattern: Count the value starting from the given text or pattern.
  3. Ending text or pattern: Count the value ending before the given text or pattern. 
Note: If you are not familiar with pattern matching in DataPrep, read about it here.

5. Regex (regular expression): This option requires you to enter the regex of the value which you want to count. 

6. You can check the Ignore case checkbox to ignore case when matching the text or pattern. 

7. DataPrep shows a live preview of the column during the transformation.

8. You can apply this transform to multiple columns at the same time. Select the columns using the + icon under the Columns to apply section. 


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

                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

                                                        • Pivot

                                                          Pivot Table distributes data for easy consumption. It spreads out the data in long, winding tables by converting categories into columns. A pivot can be created by selecting the Column, Row, and Data fields.  To apply the pivot transform: 1. Click ...
                                                        • Smart selection

                                                          Zoho DataPrep offers you an array of suggestions using the pattern matching notations when you select portions of the column data that you wish to transform.  Note: If you are not familiar with pattern matching in DataPrep, read about it here. You ...
                                                        • Functions available to add formula columns

                                                          Abs abs(num) Returns the absolute value of the numeric value. Parameters Name Description num Decimal Parameter must be a numeric value from a column or an expression that returns a number. Example Function Result abs(-1) 1 Div ...
                                                        • Find and Replace

                                                          Find and replace values in your column using the replace transform. You can find the value to replace by matching the value using different options available and replace it with your input. To find and replace column data: 1. Right-click the column ...
                                                        • Zoho DataPrep Pricing FAQ

                                                          1. How do you calculate "rows processed"? A row can be defined in the context of a dataset. In simple terms, a dataset consists of rows (records) and columns (fields). Each row in a dataset represents a set of related data and has the same structure. ...



                                                        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