#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Lookup + Max

I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.

Class Band "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville 85 86
1A New Brockton 85 73
85 86
1A Dale County 82 90 86
2A Early County 90 93 78
2A W.S. Neal 92 93 90
2A Russell County 97 88
3A Geneva 85 81 88
3A Valley 87 97 88


Best in Class 1A 2A 3A
Drum Major Rehobeth Early County
Geneva
Color Guard Freeport W.S. Neal Geneva
Dance Line Saint James W.S. Neal
Majorettes Slocomb W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup + Max

I need the formula to extract the high score for Drum Major
in Class 1A.


A2:A9 = class
C1:E1 = column headers: Drum Major, Color Guard, Dance Line
C2:E9 = scores

Try this array formula** :

=MAX(IF(A2:A9="1A",C2:C9))

Or, to make it flexible where you can choose the category, enter the
category you want in a cell:

A25 = Drum Major

Also an array formula** :

=MAX(IF(A2:A9="1A",INDEX(C2:E9,,MATCH(A25,C1:E1,0) )))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


wrote in message
...
I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.

Class Band "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville 85 86
1A New Brockton 85 73
85 86
1A Dale County 82 90 86
2A Early County 90 93 78
2A W.S. Neal 92 93 90
2A Russell County 97 88
3A Geneva 85 81 88
3A Valley 87 97 88


Best in Class 1A 2A 3A
Drum Major Rehobeth Early County
Geneva
Color Guard Freeport W.S. Neal Geneva
Dance Line Saint James W.S. Neal
Majorettes Slocomb W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Lookup + Max

On Oct 20, 3:29*pm, "T. Valko" wrote:
I need the formula to extract the high score for Drum Major
in Class 1A.


A2:A9 = class
C1:E1 = column headers: Drum Major, Color Guard, Dance Line
C2:E9 = scores

Try this array formula** :

=MAX(IF(A2:A9="1A",C2:C9))

Or, to make it flexible where you can choose the category, enter the
category you want in a cell:

A25 = Drum Major

Also an array formula** :

=MAX(IF(A2:A9="1A",INDEX(C2:E9,,MATCH(A25,C1:E1,0) )))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

wrote in message

...



I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.


Class Band * * * * * "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville * * * * * * * * 85 * * * * *86
1A New Brockton 85 * * * * *73
85 * * * * * * * * * * 86
1A Dale County 82 * * * * *90 * * * * 86
2A Early County 90 * * * * *93 * * * * 78
2A W.S. Neal * * * * * * * * 92 * * * * *93 * * * * 90
2A Russell County 97 * * * * *88
3A Geneva * * * * * * * * 85 * * * * *81 * * * * 88
3A Valley * * * * * * * * 87 * * * * *97 * * * * 88


Best in Class 1A 2A 3A
Drum Major * * * * * Rehobeth * * * * * * * * * * * *Early County
Geneva
Color Guard * * * * * Freeport * * * * *W.S. Neal Geneva
Dance Line * * * *Saint James * * * * W.S. Neal
Majorettes * * * * * * Slocomb * * * * * * * * * * * * * W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks- Hide quoted text -


- Show quoted text -


How do I get it to output the name of the school.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup + Max

How do I get it to output the name of the school.

What if there are ties like in your sample?

1A Abbeville 85
1A New Brockton 85
1A Dale County 82

Do you want both schools?

--
Biff
Microsoft Excel MVP


wrote in message
...
On Oct 20, 3:29 pm, "T. Valko" wrote:
I need the formula to extract the high score for Drum Major
in Class 1A.


A2:A9 = class
C1:E1 = column headers: Drum Major, Color Guard, Dance Line
C2:E9 = scores

Try this array formula** :

=MAX(IF(A2:A9="1A",C2:C9))

Or, to make it flexible where you can choose the category, enter the
category you want in a cell:

A25 = Drum Major

Also an array formula** :

=MAX(IF(A2:A9="1A",INDEX(C2:E9,,MATCH(A25,C1:E1,0) )))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP

wrote in message

...



I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.


Class Band "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville 85 86
1A New Brockton 85 73
85 86
1A Dale County 82 90 86
2A Early County 90 93 78
2A W.S. Neal 92 93 90
2A Russell County 97 88
3A Geneva 85 81 88
3A Valley 87 97 88


Best in Class 1A 2A 3A
Drum Major Rehobeth Early County
Geneva
Color Guard Freeport W.S. Neal Geneva
Dance Line Saint James W.S. Neal
Majorettes Slocomb W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks- Hide quoted text -


- Show quoted text -


How do I get it to output the name of the school.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Lookup + Max

On Oct 20, 3:53*pm, "T. Valko" wrote:
How do I get it to output the name of the school.


What if there are ties like in your sample?

1A Abbeville 85
1A New Brockton 85
1A Dale County 82

Do you want both schools?

--
Biff
Microsoft Excel MVP

wrote in message

...
On Oct 20, 3:29 pm, "T. Valko" wrote:





I need the formula to extract the high score for Drum Major
in Class 1A.


A2:A9 = class
C1:E1 = column headers: Drum Major, Color Guard, Dance Line
C2:E9 = scores


Try this array formula** :


=MAX(IF(A2:A9="1A",C2:C9))


Or, to make it flexible where you can choose the category, enter the
category you want in a cell:


A25 = Drum Major


Also an array formula** :


=MAX(IF(A2:A9="1A",INDEX(C2:E9,,MATCH(A25,C1:E1,0) )))


** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


wrote in message


....


I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.


Class Band "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville 85 86
1A New Brockton 85 73
85 86
1A Dale County 82 90 86
2A Early County 90 93 78
2A W.S. Neal 92 93 90
2A Russell County 97 88
3A Geneva 85 81 88
3A Valley 87 97 88


Best in Class 1A 2A 3A
Drum Major Rehobeth Early County
Geneva
Color Guard Freeport W.S. Neal Geneva
Dance Line Saint James W.S. Neal
Majorettes Slocomb W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks- Hide quoted text -


- Show quoted text -


How do I get it to output the name of the school.- Hide quoted text -

- Show quoted text -


Yesn I'll need both schools. Thanks


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup + Max

Ok, it's complicated!

Class in column A
School in colimn B
Scores in column C

Assume you enter the array formula** in A10.

=IF(ROWS(A$10:A10)<=SUM((A$2:A$7="1A")*(C$2:C$7=MA X(IF(A$2:A$7="1A",C$2:C$7)))),INDEX(B$2:B$7,SMALL( IF((A$2:A$7="1A")*(C$2:C$7=MAX(IF(A$2:A$7="1A",C$2 :C$7))),ROW(B$2:B$7)),ROWS(A$10:A10))-MIN(ROW(B$2:B$7))+1),"")

Copy down until you get blanks

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


wrote in message
...
On Oct 20, 3:53 pm, "T. Valko" wrote:
How do I get it to output the name of the school.


What if there are ties like in your sample?

1A Abbeville 85
1A New Brockton 85
1A Dale County 82

Do you want both schools?

--
Biff
Microsoft Excel MVP

wrote in message

...
On Oct 20, 3:29 pm, "T. Valko" wrote:





I need the formula to extract the high score for Drum Major
in Class 1A.


A2:A9 = class
C1:E1 = column headers: Drum Major, Color Guard, Dance Line
C2:E9 = scores


Try this array formula** :


=MAX(IF(A2:A9="1A",C2:C9))


Or, to make it flexible where you can choose the category, enter the
category you want in a cell:


A25 = Drum Major


Also an array formula** :


=MAX(IF(A2:A9="1A",INDEX(C2:E9,,MATCH(A25,C1:E1,0) )))


** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


wrote in message


...


I've created a spreadsheet to tabulate scores for a band competition.
I need formulas to extract the high score in different classes and
categories.


Class Band "Drum Major" "Color Guard" "Dance Line"
Majorettes
1A Abbeville 85 86
1A New Brockton 85 73
85 86
1A Dale County 82 90 86
2A Early County 90 93 78
2A W.S. Neal 92 93 90
2A Russell County 97 88
3A Geneva 85 81 88
3A Valley 87 97 88


Best in Class 1A 2A 3A
Drum Major Rehobeth Early County
Geneva
Color Guard Freeport W.S. Neal Geneva
Dance Line Saint James W.S. Neal
Majorettes Slocomb W.S. Neal
Andalusia
Ex. I need the formula to extract the high score for Drum Major in
Class 1A. How do I do this? Thanks- Hide quoted text -


- Show quoted text -


How do I get it to output the name of the school.- Hide quoted text -

- Show quoted text -


Yesn I'll need both schools. Thanks


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
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 08:43 AM.

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"