Hi, hoping someone can help.
I’ve created a spreadsheet to track the results of my Sunday league soccer side. It contains cells which record each fixture - the date, opponents, whether it was home or away, the home score and away score and the scorers. I have one cell in which I record the scorers – so this can contain a few different players names if we score more than once. So for example if we score 3 goals and one player scores twice I record this as “Smith, Smith, Jones”
I’ve created different sheets for different seasons. I now want to create a sheet that tallies the number of goals scored by each player – which links to the season sheet.
I’ve got a COUNTIF formula that counts the number of times each players name appears in the ‘scorer cell’. That formula is ….. =COUNTIFS('Season 1'!$O$12:$O$60,"*"&E12&"*") …. Where 'Season 1'!$O$12:$O$60 is the sheet and cells with the scorers in it and E12 is the name of each player on the ‘scorer’ sheet.
It works fine so long as each player only scores once in each game, but if a player scores twice it only recognizes that the player has scored once. So in the example above (Smith, Smith, Jones) it recognizes that Smith scored 1 goal and Jones 1 goal.
So, hoping that someone can tell me how to count accurately when I have two identical names in the cell.
Would point out that I’m no excel aficionado by any means (as you can probably tell by the question) and that my spreadsheet may not be the most elegant way of recording the information I need. I don’t understand macros etc, but would appreciate any advice.
Bookmarks