Excel sum if or sumproduct with criteria cell blank or non blank

zall

New Member
Joined
Apr 8, 2020
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hello users!

I want to make summing with multiple criteria and one criteria cell is may be blank or string. I tried sumif, sumproduct and if functions but i culdn't. For example for criteria range 1 is column A2:A17, for criteria range 2 is column B2:B17, for criteria range 3 is column C2:C17, and for summing range is D2:D17. Criteria cell for range 1 is F3 and criteria cell for range 2 is G2 and criteria cell for range 3 is H3. Criteria cell H3 is may be string or blank. H3 cell depending on the situation it can be blank or not blank. But if H3 is blank total is wrong or returning 0. How can i handle it.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Try

=SUMIFS(D2:D17,A2:A17,F3,B2:B17,G2,C2:C17,H3&"")
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,916
Members
449,093
Latest member
dbomb1414

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