How do I sum variable parts of a row in Excel? -
i'm looking way sum 4 best scores out of these 6 tournaments played these 2 players. there code place in j2/j3 automatically pick best 4 scores , sum them, ignoring 2 worst scores? in advance!
you can array formula.
=sum(large(d2:i2, row($1:$4)))
, entered ctrl-shift-enter
explanation: row($1:$4)
expands array {1;2;3;4}
, used large
function take first, second, third , fourth highest values in given range.
alternatively, can specify using array literal remove need ctrl-shift-enter: =sum(large(d2:i2, {1;2;3;4}))
Comments
Post a Comment