How to use SUMIF in Excel?

We explain the SUMIF function in Excel by sharing several examples and showing you how its formula works for different types of criteria.

You may use SUMIF instead of VLOOKUP in some cases. If you are not familiar with the SUMIF function in Excel, be confident you will be after reading our tutorial!

The SUMIF function sums the values in a specific range that meet criteria that you specify.

For example, if you want to know how much you earned from customers who spent over $ 10k, you could use the formula =SUMIF(A2:A30,”>10000″) if amounts are in cells A2 to A30.

SUMIF means that the system will sum all the values in a specific range if they meet criteria that you specify.

The SUMIF formula is =SUMIF(range, criteria, [sum_range])

SUMIF contains 2 required arguments and 1 optional one ([sum_range]).

range — the range of cells you want to evaluate.
criteria — a criteria defining which cells (within range or sum_range) to add to the sum.
sum_range — this argument is optional but often used. If you want to sum cells in a different range than the one you specified in range, you can do it by specifying where in sum_range. Check our various examples below for more information.

The SUMIF function will result with a number, a sum.

– Enclose text criteria or criteria with logical/mathematical symbols in quotation marks (“text“).
– You may use wildcard characters in the criteria argument. A question mark (?) will search for any single character and an asterisk (*) will match any sequence of characters.
Sum_range and range should be the same dimensions and shape or your Excel table may be impacted.

Learn how to use SUMIF by applying the formula =SUMIF(range, criteria, [sum_range]) and by checking examples below.

In this example, we use the SUMIF function to know how much European customers are spending with us.

The formula we use is =SUMIF(B9:B12,”Europe”,C9:C12).

In this example, we use SUMIF to know how much customers from South America and North America are spending with us. Olivia is from North America and Michelle lives in South America. Our criteria is “who lives in America” meaning South or North. We use the wild character * to search for any continents ending with “America”.

The formula we use is our Excel table is =SUMIF(B9:B12,”*America”,C9:C12).

Now, we want to know the sum represented by invoices with an amount inferior to $ 8,000.

The formula we use is =SUMIF(C9:C12,”<8000”). There are 2 invoices with an amount below $ 8,000: 4,500+5,000=9,500.

In this example, we want to know how much European customers are spending with us but we are using the cell D14, containing the text “Europe”, as criteria.

The formula we use is =SUMIF(B9:B12,D14,C9:C12).

Now, you know what the SUMIF formula is and how to use the SUMIF function in Excel. For some cases it might be better to use VLOOKUP; check this article to know what’s the VLOOKUP formula in Excel.

If you want to use SUMIF with multiple criteria, you’ll have to use SUMIFS instead. We’ll explain this slightly different function in a different tutorial. Stay tuned!

Advertising
Analytics

Categories

AllAdvertisingFormatsPlatformsKPI'sAd News

What is O&O Advertising?

Discover one more important jargon term used in Programmatic Advertising: O&O advertising. Get familiar with O&O formats and advantages.

Read More

Best DSPs for Programmatic Advertising

Ted Jordan shares his list of best DSPs for Programmatic Advertising so you don’t have to lose time searching the internet to find the right Demand-Side Platform for your campaigns.

Read More
What is Programmatic Advertising?

What is Programmatic Advertising?

Understand what programmatic advertising is and how it works to increase your ROI and become a programmatic specialist.

Read More
Programmatic Advertising: What is a SSP?

Supply-Side Platforms (SSPs) Explained

SSPs basics in advertising: learn what Supply-Side Platforms are used for and who use them. Get familiar with more programmatic advertising technical terms.

Read More
Programmatic Advertising: What is a DSP?

What are DSPs?

A DSP is a great tool to use but what does DSP stand for in marketing? What are some Demand-Side Platforms examples? Today, we answer your questions!

Read More

Advertising News – 09 June 2024

This week, we'll explore Google's latest algorithm update and it's massive impact on independent websites, the newly passed media Freedom Act in the EU aimed at protecting journalists, and a...

Read More

Categories

AllFunctionsToolsShortcut Keys
Split Semicolon Separated Value in Excel

How to split semicolon separated values in Excel

Split semicolon separated values in Excel into columns and rows, or convert columns to semicolon separated values, like an Excel Master!

Read More

How to change shapes in Excel column charts

Learn how to easily change the columns shape in your Excel charts so your colleagues and customers will remember your impacting graphs.

Read More

How to use the LEFT, RIGHT and MID functions

Learn how to extract text in Excel with the LEFT, RIGHT and MID functions. Plenty of examples to learn from and functions are explained with simple words. If you start...

Read More

Excel IF statement: how to use it for 3 conditions

Learn how to use the Excel IF statement with multiple conditions and combine it with OR and/or AND functions!

Read More
Using Text to Column to Extract texts on Excel

Excel: How to split text into columns

If you need to extract data in Excel, you may want to use the Text to Columns tool. With only 3 steps, it's really easy to split text into columns.

Read More
Absolute Referencing in Excel

Locking cells: what’s the Excel dollar sign shortcut?

The Excel absolute reference shortcut will become one of your favourites to save time! Switch from relative to absolute references in seconds using this trick.

Read More