Jun 27 2022 07:51 AM
I have set up a golf handicap spreadsheet for 12 people in my playing group that calculates the best 8 scores from a list of 12 then averages them out to create a playing handicap. When I insert new scores the calculator drops a cell, i.e. when working on the sum of lines 2 to 21 it changes to 3 to 22. The same players do not play each week so I cannot drag all 12 lines down.
Jun 27 2022 08:00 AM
Jun 27 2022 08:20 AM
Jun 27 2022 09:05 AM
=AVERAGE(SMALL(INDIRECT("C5:C"&MAX(IF(C:C<>"",ROW(C:C)))),ROW(1:8)))
Is the attached example similar to what you want to do? Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
In the example the formula remains in cell E9 and additional scores of the 12 players can be entered in columns A, B and C.
Jun 27 2022 09:07 AM
Si lo he entendido bien, tu problema es que si insertas nuevas puntuaciones, estas no se actualizan en la formula.
Lo mejor es que crees una Tabla. Selecciona desde el encabezado hasta el ultimo dato que tengas y haces click en MENU INSERTAR-TABLA, le pones un nombre y a partir de ahora, en las formulas, haces referencia a la tabla y al encabezado de cada columna.
Ejemplo si tu tabla se llama T_Datos y los encabezados de las Columnas de esa tabla son FECHA - NOMBRE - PUNTUACION.
en la formula tendrás que sustituir $C 5:$ 24 por T_Datos[PUNTUACION], así cuando agregues otro dato esta formula lo tendrá en cuenta.
Te mando un excel de ejemplo para ver si es algo asi lo que quieres
Pon nuevos datos en la celda A18, para ver como afecta a las otras tablas.
Un saludo
Jun 27 2022 09:15 AM
Te devuelvo tu excel, fijate como se haría si en vez de utilizar rangos de celdas, utilizas nombres de tablas.
te he dejado tu formula y al lado he puesto la misma con el nombre de la tabla.
Inserta nuevos datos para ver como cambia el resumen.
Un saludo
Jun 27 2022 10:22 AM
Very good solution, thank you. With the named ranges can we as well calculate the average of the best 8 results of the last 12 scores? The formula with cell ranges and the expected result is in cell E18 in the attached file.
Jun 27 2022 11:02 AM
Te devuelvo el excel,
te he puesto en la celda J1 la formula que saca el promedio de los 8 MAYORES resultados de los últimos 12 partidos
te he puesto en la celda J2 la formula que saca el promedio de los 8 MENORES resultados de los últimos 12 partidos
en la celda L1 te he puesto una formula que saca los 12 últimos partidos.
espero que te sirva
Jun 27 2022 12:49 PM
Jun 27 2022 03:26 PM
You can try the attached file. It gives an overview of each players last 20 scores and the average of the best 8 scores from the last 20 rounds.
Jun 28 2022 12:35 AM
Oct 06 2023 10:09 AM - edited Oct 06 2023 10:34 PM
To fix your golf handicap spreadsheet, use absolute cell references. In the formula for calculating the best 8 scores, use $A$2:$A$13 (assuming player names are in column A), and when averaging, use $B$2:$B$13 for handicaps. This way, when you insert new scores, the formula won't shift, ensuring accurate calculations regardless of varying player participation.