Apr 27 2024 07:11 PM
Hi, I'm a soccer mum with little excel smarts. I'm collecting each game from the team who were the top 3 players for the game and assigning them 3 points for best, 2 points for 2nd best and 1 point for 3rd best. At the end of the season this goes towards awards.
I have set up a table with drop down boxes and I ask each girl who they are allocating the 3 pints to, the 2 pints to and the 1 point.
What I need now is a way to calculate the points each player got each game.
This is what I'm stuck figuring out.
If I can figure this out I can apply this formula to all the subsequent games.
Apr 27 2024 07:48 PM
More complicated formulas are possible, but I suggest you paste this formula in for Eadie (cell B24) and copy it down:
=3 * COUNTIF($B$3:$B$21, A24) + 2 * COUNTIF($C$3:$C$21, A24) + 1 * COUNTIF($D$3:$D$21, A24)
Apr 27 2024 08:37 PM
@CGallagherInner Another option is the SUMPRODUCT function. Input the following formula in cell B24 and copy down:
=SUMPRODUCT(($B$3:$D$21=A24)*$B$2:$D$2)
Apr 28 2024 11:11 PM
Thanks@SnowMan55 this formula worked really well.
If I was to create a TOTAL tab that looked up the value of the players
total cell in each game tab, what would that formula be? I plan to create a new game tab each week but would love this to auto calculate in the TOTAL tab.
Eg; Calculate points for Eadie in B24 across ALL tabs (game) to go into cell B4 in the TOTAL tab (for all players). And how would I adjust the formula each week I add a new game Tab?
Apr 29 2024 02:09 AM
It's better to insert empty sheet before one with first game, another empty sheet after the latest game. Let name them start and end accordingly. Each new game tab is inserted in between. The rest depends do you have exactly the same players for all games; are their names in the same rows for each game or not; and on which Excel version you are.
In simplest case when the same player name is in the same row for each game in B4 for Total sheet could be
=SUM(start:end!B24)
and drag it down.
Apr 29 2024 06:02 PM - edited Apr 29 2024 06:03 PM
yes thats correct, they are the same players in the same cells on each tab.
I tried your way (I think I did), but it's not working.
Apr 30 2024 07:44 AM
It looks like you are on Google Sheets. Perhaps it work differently, not sure. In any case it's better to discuss an issue on the sample file. In the attached one I changed the layout, but the idea is the same
Please share your sample file if still any questions.
Apr 30 2024 10:18 PM
May 01 2024 07:52 AM
May 01 2024 02:07 PM
May 01 2024 11:59 PM
It seems that Google Sheets does not include the ability to reference cells across a range of sheets, as is discussed here: How to Reference a Single Cell from Multiple Sheets
So an alternative is to:
=INDIRECT( "'" & D$3 & "'!B" & (20+ROW()) )
=SUM(D4:Z4)
(I included extra columns to handle future games.)