SUMPRODUCT usage

  • Thread starter Thread starter wild turkey no9
  • Start date Start date
W

wild turkey no9

Hi There

Is there an easy way to configure sumproduct to do the following:

multiply col A * Col B when col B = either E or N or D

Thanks

Kevin
 
How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))
 
Bob said:
How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))

I think "wild turkey no9" meant column B equals column E, column N or column D...
 
Guys, thanks for your help. Apologies for my poor description.
 
Or, use……

=SUM(SUMIF(B2:B20,{"E","N","D"},A2:A20))

Regards
Bosco
 

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