Using Sumifs where one of the criteria might be blank.

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
788
Office Version
  1. 2010
Platform
  1. Windows
Hi all, I have the following sumif, and the part I've bolded I will explain below.

Excel Formula:
=SUMIFS(Data!$F:$F,Data!$V:$V,$B2,Data!$R:$R,$D2,[B]Data!$S:$S,$E2[/B],Data!$T:$T,$I2,Data!$U:$U,$J2)

So the S:S column can either be blank, or have results in it like "Apple", "Banana"

The criteria cell, E2 can either be blank or have results in it like "Apple" "Banana"

Where there are results, say, Apple, it sums perfectly.

However, where there are blanks, the sum returns 0.

I'd like the sum to return results where one part of the criteria is blank - is this possible? Thank you.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,832
Messages
6,121,854
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top