Max value within a set of rows

L

LeeHarris

I'm sticking with the sumproduct as I found it quicker and easier than
a pivot table (I need to get this done sharpish!)

=SUMPRODUCT(($C$2:$C$10000=$R5)*(O$2:O$10000))


all I need now is how to do a similar thing but instead of a sum, just
pick out the maximum value in column "O" corresponding to player "$R5"
matched in the list of items ($C)

hope this is a quickie.
 
B

Bob Phillips

=MAX(IF($C$2:$C$10000=$R5,O$2:O$10000))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
L

LeeHarris

thank you Bob!
Bob said:
=MAX(IF($C$2:$C$10000=$R5,O$2:O$10000))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top