Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LeeHarris
 
Posts: n/a
Default Max value within a set of rows

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.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Max value within a set of rows

=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)

"LeeHarris" wrote in message
oups.com...
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.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LeeHarris
 
Posts: n/a
Default Max value within a set of rows

thank you Bob!
Bob Phillips wrote:

=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)

"LeeHarris" wrote in message
oups.com...
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rows & Columns in Excel seadragon69 Excel Worksheet Functions 2 December 7th 05 05:54 PM
Automatically inserting rows ausdiver99 Excel Worksheet Functions 1 June 2nd 05 02:15 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
Insert rows Mr. G. Excel Worksheet Functions 3 March 31st 05 03:49 AM
flexible paste rows function that inserts the right number of rows marika1981 Excel Discussion (Misc queries) 1 February 18th 05 02:40 AM


All times are GMT +1. The time now is 11:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"