How to Do SUMIF in Excel: Step-by-Step Guide for Accurate Data Summation

How to Do SUMIF in Excel

If you want to sum numbers in Excel based on specific criteria, SUMIF is the function for you. It allows you to add up values in a range that meet a condition you specify. Here’s a quick overview: select the range you want to evaluate, define the criteria to filter the data, and specify the range to sum. It’s that easy! Let’s dive into the details.

How to Do SUMIF in Excel

This section will outline the steps to perform a SUMIF function in Excel. By the end of these steps, you’ll be able to sum up values based on specified criteria effortlessly.

Step 1: Select the Range to Evaluate

First, click on the cell where you want the SUMIF result to appear, then type =SUMIF( to begin the function.

The range you select here is where Excel will look for the criteria you specify. For instance, if you want to add up sales figures for a particular product, the range would be the column containing product names.

Step 2: Define the Criteria

After typing =SUMIF(, specify the range (e.g., A2:A10), then add a comma, and define your criteria inside double quotes.

Criteria can be anything from a number, expression, text, or even a cell reference. For example, if you want to sum sales of "Product A", your criteria would be "Product A".

Step 3: Specify the Range to Sum

Add another comma after the criteria, then specify the range you want to sum (e.g., B2:B10), and close the parenthesis.

This sum range typically contains the values you want to add up based on the criteria. If this range is the same as the criteria range, you can leave it blank.

Step 4: Press Enter to Get Results

Hit the Enter key to execute the SUMIF function and see the result in the selected cell.

After pressing Enter, Excel will display the sum of values that meet your specified criteria. If everything is set correctly, you’ll see your desired sum right away.

After you’ve completed these steps, you’ll have a cell that shows the total of all values meeting your criteria.

Tips for How to Do SUMIF in Excel

  • Always double-check your ranges and criteria to ensure they match your data.
  • Use named ranges to make your formulas clearer and easier to manage.
  • Combine SUMIF with other functions like IF and AND for more complex criteria.
  • Use wildcard characters like * and ? to match partial criteria.
  • Ensure your criteria are in the same format as the data in your range (e.g., text vs. numbers).

Frequently Asked Questions

What does SUMIF do in Excel?

SUMIF adds up values in a range that meet specific criteria. It’s a powerful way to filter and sum data based on conditions.

Can I use multiple criteria in SUMIF?

No, SUMIF only supports a single criterion. Use SUMIFS if you need multiple criteria.

Why is my SUMIF returning wrong results?

Check that your ranges are of equal size and that your criteria match the data format. Errors often stem from mismatched ranges or misformatted criteria.

Can SUMIF handle text criteria?

Yes, SUMIF can sum values based on text criteria, including partial matches using wildcard characters.

How do I sum values above or below a certain number?

Use comparison operators in your criteria, like ">50" or "<100", to sum values that meet those conditions.


  1. Select the range to evaluate.
  2. Define the criteria.
  3. Specify the range to sum.
  4. Press Enter to get results.


Mastering the SUMIF function in Excel opens up a world of possibilities for data analysis. Whether you are summing sales figures, calculating expenses, or analyzing trends, SUMIF makes it simple to add up values based on specific criteria. The function not only saves time but also reduces the risk of errors compared to manual calculations. If you're interested in improving your Excel skills further, consider exploring other functions like SUMIFS, COUNTIF, or VLOOKUP. These tools can make you an Excel wizard in no time! For more detailed tutorials, you might look into books or online courses that dive deeper into Excel's capabilities. Happy number crunching!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy