SUMIF questions

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,380
Office Version
  1. 2016
Platform
  1. Windows
I've got 2 issues I'm trying to resolve possibly with SUMIF?

1) I need to sum the values in I9:I7001 but only if B9:B7001 = A and E9:E7001 is not blank

2) I need to sum the values in D9:D7001 but only if B9:B7001 = A and C9:C7001 does not have the number 1

Can anyone help me please? I've struggled with this for some time!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

jacqueslegrand

New Member
Joined
Apr 18, 2013
Messages
28
Hi,

You're gonna have to use a sumproduct !

1) = sumproduct((B9:B7001 ="A")*(E9:E7001<>"")*I9:I7001)
2)
= = sumproduct((B9:B7001 ="A")*(C9:C7001<>1)*I9:I7001)
 
Upvote 0

Forum statistics

Threads
1,195,934
Messages
6,012,383
Members
441,693
Latest member
TraderRick

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
Top