multiple criteria in one column

B

Barb

I need to sum a column which references a column with mulitple criteria.
ie., I need to sum all the numbers in column K which are named either AD, AM,
ACT, FOR, BD in column H.

AD 35.00 Total
XY 22.00 47.00
AM 12.00
DZ 50.00
 
P

Peo Sjoblom

One way

=SUMPRODUCT((A2:A10={"AD","AM","ACT","FOR","BD"})*(B2:B10))

Regards,

Peo Sjoblom
 

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