PC Review


Reply
Thread Tools Rate Thread

Adapting MAX function

 
 
=?Utf-8?B?bmlyMDIw?=
Guest
Posts: n/a
 
      25th Sep 2006
I have created a forumla in excel which selects the the highest value in a
range based on certain criteria contained in a neighbouring cell, it is shown
below:-

=MAX(IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149)))

Can this formula be adapted so it does not pick the highest value, but would
pick up the row heading of the row with the highest value, in this example it
would be the value held in cell A

Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      25th Sep 2006
Try:

=INDEX($A$3:$A$150,MATCH(MAX(IF($B$3:$B$150="England",$C$3:$C$150)),$C$3:$C$150,0))

HTH

"nir020" wrote:

> I have created a forumla in excel which selects the the highest value in a
> range based on certain criteria contained in a neighbouring cell, it is shown
> below:-
>
> =MAX(IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149)))
>
> Can this formula be adapted so it does not pick the highest value, but would
> pick up the row heading of the row with the highest value, in this example it
> would be the value held in cell A
>
> Thanks

 
Reply With Quote
 
vezerid
Guest
Posts: n/a
 
      25th Sep 2006
Assuming that the conditional MAX is unique for England and that it is
not the same as another country's, the following formula should produce
the header:

=INDEX(A$3:A$150,MATCH(MAX(IF(YOT!$B$3:$B$150="England",YOT!C$3:C$149)),C$3:C$150,0)

HTH
Kostis Vezerides

 
Reply With Quote
 
=?Utf-8?B?VG9wcGVycw==?=
Guest
Posts: n/a
 
      25th Sep 2006
..... Enter with Control+Shift+enter

"nir020" wrote:

> I have created a forumla in excel which selects the the highest value in a
> range based on certain criteria contained in a neighbouring cell, it is shown
> below:-
>
> =MAX(IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149)))
>
> Can this formula be adapted so it does not pick the highest value, but would
> pick up the row heading of the row with the highest value, in this example it
> would be the value held in cell A
>
> Thanks

 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgQmlsbGlnbWVpZXI=?=
Guest
Posts: n/a
 
      25th Sep 2006
Still array entered...

=INDEX(YOT!$A$3:$A$150,MATCH(MAX(IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149))),IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149)),0))

--
Regards,
Dave


"nir020" wrote:

> I have created a forumla in excel which selects the the highest value in a
> range based on certain criteria contained in a neighbouring cell, it is shown
> below:-
>
> =MAX(IF(YOT!$B$3:$B$150="England",(YOT!C$3:C$149)))
>
> Can this formula be adapted so it does not pick the highest value, but would
> pick up the row heading of the row with the highest value, in this example it
> would be the value held in cell A
>
> Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DVI adapting mike7411@gmail.com Windows XP General 8 25th Jun 2007 02:08 PM
Adapting HSF GT Computer Hardware 2 23rd Mar 2007 10:34 PM
Re: adapting the findnext function chrisrowe_cr Microsoft Excel Programming 3 2nd Aug 2005 05:24 PM
Re: adapting the findnext function chrisrowe_cr Microsoft Excel Programming 0 2nd Aug 2005 12:08 PM
adapting a camera akjoha Windows XP Photos 1 5th Jan 2004 01:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 PM.