SUMIF criteria in different column is met?

S

spandangled

this is slowly driving me mad...

I'm looking to find the total number of sessions occuring in the age group
0-5 years. I tried to set age as a criteria and if the criteria was met to
sum the number of sessions in the column opposite it, but I keep getting an
error.

Age No of Sessions (Half Days)

0-5 Years 2
17-19 Years 3
5-16 Years 6
0-5 Years 1

Any help would be hugely appreciated (I'm ready to drown myself in the
fountain)
 
E

Eduardo

Hi,
Let's say you have the information in column A and in B the number of sesions,
then starting in cell C1 you have again listed the group of ages you want to
summarize, in D1 enter

=sumproduct(--(C1=$A$1:$A$100),$B$1:$B$100)

copy the formula down
 

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