Returns the sum of the given numbers based on a specified condition.
      
   
   
   
      
          
      
   
   
   
      
         Syntax
      
   
   
   
      
          
      
   
   
      
   
   
      
         
            
               test_range: The range to test. Eg., A2:A8
      
   
   
   
      
         
            
               condition: The condition may be:
      
   
   
   
      
         A number, such as 15
      
   
   
   
      
         An expression, such as 2/3 or SQRT(A1)
      
   
   
   
      
         A text string, such as "lockers"
      
   
   
   
      
         Other than testing for similar values in test_range for the given condition, SUMIF function also allows the use of >, <, >=, <=, =, <> in the condition.
      
   
   
   
      
          
      
   
   
      
         
            Remarks
         
      
      
   
            
               
                  If you don't remember the complete text you need to search for, use 
               
            
            
               
                  .*
               
            
            
               
                  , 
               
            
            
               
                  .?
               
            
            
               
                   and 
               
            
            
               
                  / 
               
            
            
               
                  instead.
               
            
            
         
      
         
                       .* - Can be used to replace any number of characters. For example., 
         
      
      
         
            Zyl.*
         
      
      
         
             finds 
         
      
      
         
            Zylker
         
      
      
         
      
      
         
                       .? - Can be used to replace a single character. For example,., 
         
      
      
         
            Karthi.?
         
      
      
         
             finds 
         
      
      
         
            Karthik
         
      
      
         
             and 
         
      
      
         
            Karthic
   
      
         Examples
      
   
   
      
          
      
   
   
   
      
          
      
   
   
| 
             
               
                  
                     Formula
                  
               
                 | 
         
             
               
                  
                     Result
                  
               
                 | 
      
| 
             
               
                  
                     =SUMIF(A2:A8;"Lockers";D2:D8)
                  
               
                 | 
         
             
               
                  
                     $44,014
                  
               
                 | 
      
| 
             
               
                  
                     =SUMIF(A2:A8;"Portable Wardrobes";B2:B8)
                  
               
                 | 
         
             
               
                  
                     633
                  
               
                 | 
      
   
      
         
   
      
         Possible Errors
      
   
   
      
   
   
      
          
      
   
   
| 
             
               
                  
                     
                        Errors
                     
                  
               
               
                    | 
         
             
               
                  
                     
                        Meaning
                     
                  
               
                 | 
      
| 
             
               
                  
                     #N/A!
                  
               
                 | 
         
            
  | 
      
| 
             
               
                  
                     #NAME!
                  
               
                 | 
         
            
  | 
      
| 
             
               
                  
                     #VALUE!
                  
               
                 | 
         
            
  | 
      
| 
             
               
                  
                     #REF!
                  
               
                 | 
         
            
  | 
      
   
      
          
      
   
   
   
      
         Similar Functions
      
   
   
      
   
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
         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.
         
      
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.