=ArrayFormula(TRANSPOSE(MMULT(TRANSPOSE({A2:A5>B2:B5, A2:A5>C2:C5, B2:B5>C2:C5, C2:C5>B2:B5}*1), SEQUENCE(4, 1, 1, 0))))
=ArrayFormula((1/SUM(
TRANSPOSE(MMULT(TRANSPOSE({A2:A5>B2:B5, A2:A5>C2:C5, B2:B5>C2:C5, C2:C5>B2:B5}*1), SEQUENCE(4, 1, 1, 0)))))*
TRANSPOSE(MMULT(TRANSPOSE({A2:A5>B2:B5, A2:A5>C2:C5, B2:B5>C2:C5, C2:C5>B2:B5}*1), SEQUENCE(4, 1, 1, 0))))
CodePudding user response: