Hello Everyone,
I am putting together a spreadsheet that is composed of 2 teams. I want to list the players in alpha order, which is no problem, but this mixes up the teams. They get a score every month and I want to break down the average by team while excluding the other team's scores. So
A B C D
Player Team Score 1 Score 2
Me A 10 20
you B 20 25
Gary A 12 12
Say I only want the average for Team A. I tried using:
=Averageif((If(B2:B4="A",IF(B2:B4<>"B",C2:D4))),">0")
But that is still returning the whole average of both teams. Any ideas/thoughts? I would prefer to keep this as a formula instead of a VBA or marco but I am open to all suggestions. The goal is to have the Team A Average (which is 13.5 in my example) but I keep getting 16.5 which is the average of everyone.
Thank you in advance!
I am putting together a spreadsheet that is composed of 2 teams. I want to list the players in alpha order, which is no problem, but this mixes up the teams. They get a score every month and I want to break down the average by team while excluding the other team's scores. So
A B C D
Player Team Score 1 Score 2
Me A 10 20
you B 20 25
Gary A 12 12
Say I only want the average for Team A. I tried using:
=Averageif((If(B2:B4="A",IF(B2:B4<>"B",C2:D4))),">0")
But that is still returning the whole average of both teams. Any ideas/thoughts? I would prefer to keep this as a formula instead of a VBA or marco but I am open to all suggestions. The goal is to have the Team A Average (which is 13.5 in my example) but I keep getting 16.5 which is the average of everyone.
Thank you in advance!