# Sumif function – Adding numbers based on criteria in Excel

[vc_row][vc_column width=”2/3″][vc_column_text][/vc_column_text][vc_btn title=”Buy Excel Course” color=”success” link=”url:http%3A%2F%2Fwww.excelsuperstar.org%2Fexcel-course-hindi-english-mix%2F|||”][vc_column_text]You use the SUMIF function to sum the values in a range that meet criteria that you specify.
SUMIF(range, criteria, [sum_range])

The SUMIF function syntax has the following arguments:

Full Excel Course in Hindi

• Get 2-Year Access with unlimited views of 220+ videos
• Get Course Completion Certificate & Excel Mastery eBooks

range Required. The range of cells that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored. The selected range may contain dates in standard Excel format

criteria Required. The criteria in the form of a number, expression,

IMPORTANT: Any text criteria or any criteria that includes logical or mathematical symbols must be enclosed in double quotation marks (“). If the criteria is numeric, double quotation marks are not required.

sum_range Optional. The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied).

You can use the wildcard characters—the question mark ? and asterisk *—as the criteria argument. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde ~ preceding the character.[/vc_column_text][/vc_column][vc_column width=”1/3″][stm_sidebar sidebar=”527”][/vc_column][/vc_row]