Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Drummy
 
Posts: n/a
Default Combining an IF and MAX function


ok, say I have this worksheet

Gemma Senior 1.1
Mark Senior 1.0
Giles Senior 1.1
Matthew Senior 0.2
Owen Senior 0.7
Kevin Senior 1.8
Alex Senior 0.0
Valentina Senior 1.3
Katie Junior 1.3
Ashlea Junior 0.2
Tara Senior 0.0
Tahlia Sub Junior 0.9
Tyler Sub Junior 1.0
Kylie Junior 1.6
Mark Senior 0.0

first column (C2:C16) is the name of people in my tennis club

second row (D2:D16) is their division

and third row (J2:J16) is their ongoing score

what would the formula be if I wanted to put the leading top scorer for
each division (senior, sub junior or senior) into three seperate cells?


--
Drummy
------------------------------------------------------------------------
Drummy's Profile: http://www.excelforum.com/member.php...o&userid=34780
View this thread: http://www.excelforum.com/showthread...hreadid=548236

  #2   Report Post  
Posted to microsoft.public.excel.misc
macropod
 
Posts: n/a
Default Combining an IF and MAX function

Hi Drummy,

In cells B18-B20, enter "Senior", "Junior" and "Sub Junior", respectively.

In cell A18 enter the array formula:
=INDEX(A$2:A$16,MATCH(C18,IF(B$2:B$16=$B18,C$2:C$1 6,),0))
and copy down to row 20.

In cell C18 enter the array formula:
=MAX(IF(B$2:B$16=$B18,C$2:C$16,))
and copy down to row 20.

Note: array formulae are created with <Ctrl-Shift-Enter instead of <Enter

Cheers

--
macropod
[MVP - Microsoft Word]


"Drummy" wrote in
message ...

ok, say I have this worksheet

Gemma Senior 1.1
Mark Senior 1.0
Giles Senior 1.1
Matthew Senior 0.2
Owen Senior 0.7
Kevin Senior 1.8
Alex Senior 0.0
Valentina Senior 1.3
Katie Junior 1.3
Ashlea Junior 0.2
Tara Senior 0.0
Tahlia Sub Junior 0.9
Tyler Sub Junior 1.0
Kylie Junior 1.6
Mark Senior 0.0

first column (C2:C16) is the name of people in my tennis club

second row (D2:D16) is their division

and third row (J2:J16) is their ongoing score

what would the formula be if I wanted to put the leading top scorer for
each division (senior, sub junior or senior) into three seperate cells?


--
Drummy
------------------------------------------------------------------------
Drummy's Profile:

http://www.excelforum.com/member.php...o&userid=34780
View this thread: http://www.excelforum.com/showthread...hreadid=548236



  #3   Report Post  
Posted to microsoft.public.excel.misc
Drummy
 
Posts: n/a
Default Combining an IF and MAX function


wooooooooooooohoooooooooooooooooo!!

Fantastic!!, IT WORKED!!

Mr Macropod, you are truly an intelligent and legendary entity,

With you're fingertips you have alleviated much anxiety and annoyance,

THANK YOU!!


--
Drummy
------------------------------------------------------------------------
Drummy's Profile: http://www.excelforum.com/member.php...o&userid=34780
View this thread: http://www.excelforum.com/showthread...hreadid=548236

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



All times are GMT +1. The time now is 10:03 PM.

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

About Us

"It's about Microsoft Excel"