## DEV Community is a community of 553,934 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

# Excel Formulas to Sum the Values in the Cells that are Non Blank!! Andrews Originally published at geekexcel.com on ・2 min read

In this article, we will discuss the formulas to sum the values in the cells that are not blank in Excel Office 365. Let’s get started!! Get an official version of ** MS Excel** from the following link: https://www.microsoft.com/en-in/microsoft-365/excel

## General Formula:

• Use the below formula to sum the values in the cells that are not blank in Excel.

=SUMIF(range,”<>”,sum_range)

## Syntax Explanations:

• SUMIF – The Excel SUMIF Function will help to sum the cells that meet a single condition or criteria.
• Comma symbol (,) – It is a separator which helps to separate a list of values.
• Parenthesis () – The main purpose of this symbol is to group the elements.
• Range – It represents the input text given in the worksheet.
• Sum_range – It is the input values to be added.

## Example:

• Now, we are going to see how to sum the values in the cells that are not blank.
• Refer to the below image.
• Here, we will give the input values in Column C and Column D.
• Then, enter the given formula in the formula bar section.
• Finally, it shows the result in cell G3. 