Steps to Summarize Data with SUMIF/SUMIFS

Steps to Summarize Data with SUMIF/SUMIFS

In investment banking’s fast-paced world, quick data summary skills are essential. You’re always buried in data, and quick calculations and insights can give you an edge. That’s where Excel’s SUMIF and SUMIFS come in. These tools help you spot trends, find chances, and make intelligent choices. We’ll dive into learning how to use SUMIF and SUMIFS can boost your finance skills here.


Understanding SUMIF and SUMIFS

Definition and Syntax

Let’s start by defining SUMIF and SUMIFS. SUMIF lets you sum up values in a range using one condition.

Here’s how you write SUMIF:

=SUMIF(range, criteria, [sum_range])


  • range is cells to check
  • criteria is the condition  
  • sum_range is what you sum if the conditions are met

If there’s no sum_range, it sums range values meeting the criteria. 


SUMIFS, however, sums values using more than one condition.

Here’s the SUMIFS format:

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], …)


  • sum_range is what you sum
  • criteria_range1 and criteria1 is the first condition to check; you can add more if needed

Key Differences

While both SUMIF and SUMIFS sum values are based on specific criteria, they have critical differences. SUMIF is ideal when you have a single evaluation condition, such as summing investment returns in a particular sector. 

However, when you need to sum values based on multiple conditions, such as returns for a specific sector in a particular region and year, SUMIFS becomes the go-to function. 

Choosing the proper function for financial analysis requires understanding the above differences.

Create Financial Models 10x Faster with Macabacus

Gain access to 100+ shortcuts, formula auditing visualizations, easy Excel-to-PowerPoint linking and productivity tools to help you accelerate financial modeling and presentations.

Start your Free Trial

Setting Up Your Financial Data

Preparing Data for Financial Analysis

Before using SUMIF and SUMIFS, ensuring that your financial data is structured effectively is crucial. Consistently formatting and categorizing your data will make applying functions and deriving insights easier. Some tips to keep in mind:

  • It’s important to organize your data in a clear, tabular format with column headers.
  • Use consistent formatting for dates, currencies, and percentages.
  • Categorize your data using standardized labels for sectors, regions, and other relevant attributes.

Example Dataset Introduction

Let’s consider a sample dataset that an investment banker might encounter. This dataset contains information on investments made and their respective returns. 

The columns in the dataset include:

  • Region – The geographic location of the investment
  • Sector – The industry of the investment
  • Investment Amount – The amount invested in millions of dollars
  • Return – The percentage return on the investment
  • Year – The year in which the investment was made

Understanding how to use SUMIF and SUMIFS functions is crucial for investment analysis. In this guide, we’ll use functions on the sample dataset to make informed investment decisions.

Download Excel Template

Download Template

Download Template

Summarize Data with SUMIF/SUMIFS

Try Macabacus for free to accelerate financial modeling in Excel.

Using the SUMIF Function

A. Basic Use Case

Let’s say you want to calculate the total returns from investments in the Technology sector using SUMIF.

Here’s how you would use SUMIF:

Step 1: Assume your data is in an ” InvestmentData ” table with columns for Sector, Return, and Year.

Step 2: In a cell where you want the result to appear, enter the following formula:

=SUMIF(B2:B11, “Technology”, D2:D11)

Here’s the breakdown of the formula:

  • B2:B11 is the range where the criterion is checked.
  • Technology” is the criterion that cells in the B2:B11 range must match.
  • D2:D11 is the range from which the numbers are summed where the corresponding cells in the range B2:B11 meet the criterion.

3. This will sum all the values in the ‘Return‘ column (D2:D11) for rows where the ‘Sector‘ column (B2:B11) is ‘Technology.

B. Advanced Use Case

SUMIF is a function that can add up values in a range that meet specific numerical criteria or thresholds, such as the returns for investments that exceed $1000.

Here’s how you would modify the formula:

=SUMIF(InvestmentData[Investment Amount], “>1000”, InvestmentData[Return])

=SUMIF(C2:C10, “>1000”, D2:D10)

Here’s the explanation of the formula:

  • C2:C11 is the range where the investment amount is checked
  • >1000 is the criterion that the cells in the C2:C11 range must meet
  • D2:D11 is the range from which the returns that meet the criteria are summed.

The above formula will sum all the values in the ‘Return‘ column (D2:D11) for rows where the ‘Investment‘ column (C2:C11) has values greater than $1000.

Using the SUMIFS Function

A. Basic Use Case

Let’s explore how SUMIFS can calculate total investments based on multiple criteria. If you want to determine the total investments made in the Healthcare sector from regions North America and Europe, here’s how you would use SUMIFS:

1. If your data is in the ‘InvestmentData’ table, put this formula in the desired cell:

 =SUMIFS(InvestmentData[Investment Amount], InvestmentData[Sector], “Healthcare”, InvestmentData[Region], “North America”) + SUMIFS(InvestmentData[Investment Amount], InvestmentData[Sector], “Healthcare”, InvestmentData[Region], “Europe”)

=SUMIFS(C2:C10, B2:B10, “Healthcare”, A2:A10, “North America”) + SUMIFS(C2:C10, B2:B10, “Healthcare”, A2:A10, “Europe”)

2. This formula adds the investment amounts for the ‘Healthcare sector in ‘North America and ‘Europe separately and then sums the results.

B. Advanced Use Case

SUMIFS truly shines when you need to perform multi-criteria analysis. For instance, analyze returns by combining sector and regional data over multiple years. Here’s an example of how you could use SUMIFS to achieve this:

=SUMIFS(InvestmentData[Return], InvestmentData[Sector], “Real Estate”, InvestmentData[Region], “Asia”, InvestmentData[Year], “2022”)

=SUMIFS(D2:D10, B2:B11, “Real Estate”, A2:A11, “Asia”, E2:E10, 2022)

The above formula calculates the total returns for investments in theReal Estate sector in ‘Asia for ‘2022.

Modifying the criteria allows you to quickly analyze returns for different sectors, regions, and year combinations.

Tips and Tricks for Financial Professionals

SUMIF and SUMIFS become even more powerful when combined with other financial functions in Excel. Use SUMIF to calculate cash flows for a project and feed values into NPV (Net Present Value) for viability assessment. Similarly, you can use SUMIFS to calculate an investment’s IRR by gathering cash flows across multiple criteria.

When working with large financial datasets, optimizing the performance of your Excel workbook becomes crucial. Here are a few best practices to keep in mind:

  • Use named ranges or tables to make your formulas more readable and more accessible to update.
  • Avoid unnecessary calculations by using manual calculation mode when working on complex sheets.
  • Leverage Excel’s data tools, such as PivotTables and PowerPivot, to analyze and summarize large datasets efficiently.

Common Errors and Troubleshooting

Even seasoned investment bankers can encounter errors when using SUMIF and SUMIFS. Some common issues include:

  • #VALUE! error: This error occurs when non-numeric values are present in the criteria or sum range. You can fix it by adequately formatting your data and using the correct data types.
  • #NAME? error: This is due to an unrecognized function/named range. Check the spelling and definition of named ranges.
  • Incorrect results: Double-check your formula criteria and sum ranges to ensure they reference the correct cells and match the corresponding data.

Practical Applications in Investment Banking

SUMIF and SUMIFS can be extremely useful in investment banking for various real-world scenarios:

  • Analyzing the performance of investment portfolios across different sectors, regions, and periods.
  • Calculating the total exposure to specific industries or geographic markets for risk assessment purposes.
  • Evaluating the historical returns of various investment strategies to inform future decision-making.

As you become more comfortable with SUMIF and SUMIFS, you can use them in advanced financial analysis workflows, such as:

  • SUMIFS can be combined with other Excel functions, such as OFFSET and MATCH, to create reports that update automatically based on user input.
  • Combine SUMIF and SUMIFS with conditional formatting to visually highlight key insights in your financial dashboards.
  • Integrate the functions into Excel macros and VBA scripts to automate repetitive analysis tasks.


Excel’s SUMIF and SUMIFS functions are essential tools for efficient data analysis in investment banking. This blog provides detailed information on their syntax, practical applications, and tips for improving financial data structuring and analysis.

Use SUMIF and SUMIFS functions to boost your efficiency and decision-making abilities as an investment banker. These tools help navigate the financial sector complexities to achieve significant organizational results.

To ensure accuracy, consistency, and brand compliance across all financial documents, Macabacus’s solutions streamline operations in Microsoft Office for finance professionals. With Macabacus, you can save time on tasks and focus on strategy. Elevate your investment banking performance to new heights. Check out Macabacus today!

Create Financial Models 10x Faster with Macabacus

Gain access to 100+ shortcuts, formula auditing visualizations, easy Excel-to-PowerPoint linking and productivity tools to help you accelerate financial modeling and presentations.

Start your Free Trial

Discover more topics

Build an operating model
In this tutorial, we will walk through how to build a general industry business operating model.
Read more
Build an M&A model
In this section, we demonstrate how to model a merger of two public companies in Excel.
Read more
Build an LBO model
In this tutorial, we will walk you through building an LBO model in Excel.
Read more
Asset and Stock Deals
The first step in purchase price allocation, or PPA, is to determine the purchase price.
Read more