Sumproduct question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt
 
If by 'only work' you mean only count those rows satisfying the additional
criterion, just add another 'clause' with that requirement
=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))
 
Doh! Why didn't I think of that.

Thanks,
Barb

bpeltzer said:
If by 'only work' you mean only count those rows satisfying the additional
criterion, just add another 'clause' with that requirement:
=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))
 
I have this equation:

=SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83))

I want to modify it so that it will work only if AC$2:AC$80="ABC". What do
I need to do?

Thanks,
Barb Reinhardt


Untested, but try

SUMPRODUCT(--(Y$2:Y$80=Y83),--(Z$2:Z$80=Z83),--(AA$2:AA$80=AA83),--(AC$2:AC$80="ABC"))

Rgds
__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

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

Back
Top