Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PA
 
Posts: n/a
Default Modified /advance "Max function "may help!!

Dear All,

I try to use max function to get the maximum value from data as follows:

Col A Col B Col C
Row1 Name Class Mark
Row2 AA 1 100
Row3 BB 2 55
Row4 CC 1 20
Row5 DD 3 45
Row6 EE 2 95
Row7 FF 3 87
Row8 GG 1 55
Row9 HH 3 89
Row10 II 2 85
Row11 JJ 1 45


Summary/Result:
Class Maximum Mark
1 100===Is there any idea that I could use "modified Max functions "
to get the max mark for each class?
(without any sort/re-sort of sequence
of row data above)

2 95
3 89


Many thanks for any advise and suggestions

Best Regards

PA
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Miguel Zapico
 
Posts: n/a
Default Modified /advance "Max function "may help!!

You can use MAX as an array formula. In the example, to get the max of class
1 you can enter:
=MAX(($C$2:$C$11)*($B$2:$B$11=1))
Enter the formula with CTRL+SHIFT+ENTER
Changing the =1 at the end will allow you to change the class, you can even
reference a cell there.

Hope this helps,
Miguel.

"PA" wrote:

Dear All,

I try to use max function to get the maximum value from data as follows:

Col A Col B Col C
Row1 Name Class Mark
Row2 AA 1 100
Row3 BB 2 55
Row4 CC 1 20
Row5 DD 3 45
Row6 EE 2 95
Row7 FF 3 87
Row8 GG 1 55
Row9 HH 3 89
Row10 II 2 85
Row11 JJ 1 45


Summary/Result:
Class Maximum Mark
1 100===Is there any idea that I could use "modified Max functions "
to get the max mark for each class?
(without any sort/re-sort of sequence
of row data above)

2 95
3 89


Many thanks for any advise and suggestions

Best Regards

PA

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Modified /advance "Max function "may help!!

=MAX(IF(B2:B11=2,C2:C11))

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

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"PA" wrote in message
...
Dear All,

I try to use max function to get the maximum value from data as follows:

Col A Col B Col C
Row1 Name Class Mark
Row2 AA 1 100
Row3 BB 2 55
Row4 CC 1 20
Row5 DD 3 45
Row6 EE 2 95
Row7 FF 3 87
Row8 GG 1 55
Row9 HH 3 89
Row10 II 2 85
Row11 JJ 1 45


Summary/Result:
Class Maximum Mark
1 100===Is there any idea that I could use "modified Max functions "
to get the max mark for each class?
(without any sort/re-sort of

sequence
of row data above)

2 95
3 89


Many thanks for any advise and suggestions

Best Regards

PA



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PA
 
Posts: n/a
Default Modified /advance "Max function "may help!!

Dear Bob and Miquel,

Both of solutions work very well

Many thanks & Best Regards

PA

"Bob Phillips" wrote:

=MAX(IF(B2:B11=2,C2:C11))

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

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"PA" wrote in message
...
Dear All,

I try to use max function to get the maximum value from data as follows:

Col A Col B Col C
Row1 Name Class Mark
Row2 AA 1 100
Row3 BB 2 55
Row4 CC 1 20
Row5 DD 3 45
Row6 EE 2 95
Row7 FF 3 87
Row8 GG 1 55
Row9 HH 3 89
Row10 II 2 85
Row11 JJ 1 45


Summary/Result:
Class Maximum Mark
1 100===Is there any idea that I could use "modified Max functions "
to get the max mark for each class?
(without any sort/re-sort of

sequence
of row data above)

2 95
3 89


Many thanks for any advise and suggestions

Best Regards

PA




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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
How can I use Excel to solve an equation? titina Excel Worksheet Functions 4 April 11th 06 11:19 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Sum Function sometimes displays incorrect answer John Westgate Excel Worksheet Functions 4 January 18th 05 12:16 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 03:02 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"