Creating a league table based on results

G

gpktm

How can I create a league table based on results.

I want it to look like the picture and the statistics to be updated by
functions offcourse. :)


+-------------------------------------------------------------------+
|Filename: Snap1_2.jpg |
|Download: http://www.excelforum.com/attachment.php?postid=3995 |
+-------------------------------------------------------------------+
 
D

Domenic

Try the following...

Games:

H4, copied down:

=COUNTIF($B$3:$C$8,G4)

Wins:

I4, copied down:

=SUMPRODUCT((($B$3:$B$8=G4)*($D$3:$D$8>$E$3:$E$8))+(($C$3:$C$8=G4)*($E$3:
$E$8>$D$3:$D$8)))

Losses:

J4, copied down:

=SUMPRODUCT((($B$3:$B$8=G4)*($D$3:$D$8<$E$3:$E$8))+(($C$3:$C$8=G4)*($E$3:
$E$8<$D$3:$D$8)))

Hope this helps!
 
G

gpktm

Thanks, that helped some bit but there are some problems in th
following: It not accepts the function in H4 cell. And how about th
draws
 
D

Domenic

gpktm said:
It not accepts the function in H4 cell.

That's probably because your version of Excel uses a semi-colon as a
separator instead of a comma. Try...

=COUNTIF($B$3:$C$8;G4)
And how about the draws?

=SUMPRODUCT((($B$3:$B$8=G4)*($D$3:$D$8=$E$3:$E$8))+(($C$3:$C$8=G4)*($E$3:
$E$8=$D$3:$D$8)))

Hope this helps!
 

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