conditional fraction - sumif?

L

Lee Harris

Since you guys have been very helpful before, I thought I'd ask if you could
help me do a SUMIF (or other) solution to the following

Col "A": player name
COl "B": team name
Col "D": attempts

about 300 rows of data, not ordered by team.

What I want in Col "L" is the %age of attempts the player has had on his
team, the players will be mixed up, not in team order, so I want to be able
to see immediately without sorting that a player has had 34.5% of the
attempts on the team he plays for

Can this be easily done?

cheers !
Lee
 
B

Biff

Hi!

Try this:

=SUMIF(A1:A300,"player_name",D1:D300)/SUMIF(B1:B300,"team_name",D1:D300)

Format the cell as PERCENTAGE

Biff
 
R

Rowan Drummond

In L2 enter =C2/SUMIF($B$2:$B$200,B2,$C$2:$C$200) adjust the sumif
ranges to include all rows and copy down as requried.

Hope this helps
Rowan
 

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