I see you removed my lookup of player name (using idividual #) on the night results sheet
Sorry, bad programming on my part.
I've modified all VLOOKUP formulas so the formula in A4 that was
=VLOOKUP(A4;Players!A:B;2;FALSE)
now reads
The ISNA part replaces the #N/A with the more pleasant 0 if there are no values in A4 to A35.
The problem with the uploaded file was that there were no numbers in the range A4 to A35 and this is the range that the macro checks. If no numbers in this range then the macro takes no action.
I was wondering if I should add a sorting loop at the end of the macro. This would sort the player sheets in alphabetical order based on first name. If you think it's useful tell me and I could do it.
When the macro runs it should update the individual player sheet with a new dated line with results from their 3 games, the number of games played that night.
I've checked your last uploaded file and all results found in "Night_Results" are copied to the player’s sheets but not all players have 3 results filled in. Player 3 have none and player 13 only 2.
Regarding the last formula this can be added later when you have enough data to make that meaningful.
Alf
Bookmarks