Bonjour Sullivan,
Voilà pour la question 1 :
=byrow($B$2:$B$14;lambda(n;SIERREUR(SI(SIERREUR(query($A$16:$G;"select max(A)where D = '"&n&"' group by D, E, F, G order by max(A) desc limit 1 label max(A)'' "))>SIERREUR(query($A$16:$G;"select max(A)where F = '"&n&"' group by D, E, F, G order by max(A) desc limit 1 label max(A)'' "));query(query($A$16:$G;"select max(A), D, E, F, G where D = '"&n&"' group by D, E, F, G order by max(A) desc limit 1 label max(A)'' ");"select Col3 order by Col1 desc limit 1");query(query($A$16:$G;"select max(A), D, E, F, G where F = '"&n&"' group by D, E, F, G order by max(A) desc limit 1 label max(A)'' ");"select Col5 order by Col1 desc limit 1")))))
https://docs.google.com/spreadsheets/d/1qwacuO3co0P2_OuvEjZSkU3y8rONjpUYT_vZ5xffC2Q/edit?usp=sharing
Pour la question 2, voir dans l'onglet concerné...
Cordialement,
Fil.