Array Formula Question

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

Guest

I have two columns. Column A lists Teams. There are multiple rows of the
same teams in the column. Column C lists sales. What I want to do is write
a formula that allows me to show the average sales of each team. I've tried

{=SUM((C4:C19)*(Team=B31))/COUNTIF(Team,B31)}

but I get some huge number that is greater than the total sales of all
teams. Can someone help me point out what I've done wrong. Any help would
be appreciated.
 
Hi Don,

Use

=SUMPRODUCT((C4:C19)*(Team=B31))/COUNTIF(Team,B31)

Regards

Govind..
 

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