SUMIF with 2 conditions

T

T. Valko

Ooops! I used the wrong sum range in the long formula:
...+(H7:H71>=1)>0),J7:J71)

Should be:

....+(H7:H71>=1)>0),AE7:AE71)

--
Biff
Microsoft Excel MVP


T. Valko said:
Is that then an OR operation like this

If I understand what you want to do, it is, but you need to do it like
this:

=SUMPRODUCT(--((A7:A71>=1)+(B7:B71>=1)+(C7:C71>=1)+(D7:D71>=1)+(E7:E71>=1)+(F7:F71>=1)+(G7:G71>=1)+(H7:H71>=1)>0),J7:J71)

See if this does what you want:

=SUMPRODUCT(--(MMULT(--(A7:H71>=1),{1;1;1;1;1;1;1;1})>0),AE7:AE71)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top