I have a spreadsheet that records all the data in the worksheet named 'All responses' and another one in the worksheet named 'Leaderboard report' where it filters unique values in column A (NAME) and adds the value of its corresponding columns (C, D, E, F, G, H).
enter image description here enter image description here
In the Leaderboard report, there is a column called 'Total' that sums all the values from column C-H.
and I have these formulas from A2 - I2, respectively, to sum the values of the unique names.
=unique(tocol('All responses'!C2:C,1))
=unique(tocol('All responses'!D2:D,1))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!F:F))))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!H:H))))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!I:I))))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!J:J))))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!L:L))))
=map($A2:$A,lambda(Σ,if(Σ="",,sumif('All responses'!$C:$C,Σ,'All responses'!N:N))))
=IF(A2="",,SUM(C2:H2))
How do I sort the data on Leaderboard report worksheet using the results in the TOTAL as a reference in descending order? (given the formulas that I already setup in the worksheet)
I would appreciate your help!

You may use this single formula instead: