Sum values depending on prefefined criterias

  • Thread starter Thread starter jakees
  • Start date Start date
J

jakees

Hi all

I am using excel to calculate some statistics:

I have the following list

1) 2)
a) e n
b) e y
c) e y
d) e y
e) f n
f) f n
g) g y

I want excel to "calculate" the following values

e 1 n
e 3 y
f 2 n
f 0 y
g 0 n
g 0 y

I hope anybody can help me.

Best Regards
 
=sumproduct(--(A1:A100="e"),--(B1:B100="n"))

etc

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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