I also add a chart in the exercice page (see in this example the ‘‘Push-up (incliné)’’ page). The chart show the number of reps for the last days. So I know how many reps minimum I have to do and be better every time.
BUT (here’s the question lol), I want to only show 7 days maximum. Because if I show 8+, the chart is too messy and I can’t see anything.
In the data, create a math column that takes the date and adds 7. Then add a filter to the chart that will only show data when the math column is “On or After” Today.
Salut franck
Pour une fois qu’il y a des Français on ne va pas se priver
Le probleme dans ton arrayformula c’est dans rank tu as déjà une matrice A2:A. Je te conseille de nommer la plage A2:A
Ta formule sera alors
=arrayformula(si(A2:A=“”;””;rank(A2:A;plage nommée))
Oui dans arrayformula une cellule devient une plage de cellule et donc ton probleme c est qu’ensuite ton data qui est déjà une plage ne peut pas changer de dimension d’où la nécessité de nommer la plage.
Pour être clair
Sans arrayformula
= si(A2=“”;””;rank(A2;A2:A))
Avec arrayformula
= arrayformula(si(A2:A=“”;””;rank(A2:A;plage nommée)
Et dans Google sheet tu vas dans le menu données et plages nommées.
J’espère que c’est plus clair
Regarde le support de Google sheet pour les plages nommées. C’est l’astuce normalement.
Merci! Ca semble bien marché avec la formule =ARRAYFORMULA(SI(A2:A="","",RANG(A2:A,A2:A)))
Maintenant, j’ai un autre problème que j’avais oublié. Je dois classer les rank par exercices. Par exemple, j’ai ai 10 exercices ‘Push-up (incliné)’, jusque là ça va.
Oui tout à fait … we can switch to English this is easier to explain.
You can use the filter function inside the rank function.
But you would need to add a value to know which exercice to filter.
To do so you would need to have a specific column for each exercice and the name of the column would be the value in the filter. This solution should work but not very Good in the long term.
Yes it worked for all exercices using =ARRAYFORMULA(SI(A2:A="","",RANG(A2:A,A2:A)))
Now, I need to filter them. Because, if I have, for example, 7 ‘‘push-up’’ and I add ‘‘2 abs’’, it will count as 9 push-ups instead of 7 so the rank will not be right.
I checked the filter formula but it’s more complicated now if I have to add new columns for each exercice like @Marc-Olivier explained.
So you need a ranking formula that lives in the same sheet with multiple types of work out challenges and it needs to be ranked based on each work out type, right?