Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Calaw
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

Hi,
I have a list of names and I need to get the name with the highest in the
alphabetical order. I dont want to sort.
Thanks,
  #2   Report Post  
Don Guillett
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex


highest??
--
Don Guillett
SalesAid Software

"Calaw" wrote in message
...
Hi,
I have a list of names and I need to get the name with the highest in the
alphabetical order. I dont want to sort.
Thanks,



  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

On Thu, 10 Nov 2005 07:20:15 -0800, "Calaw"
wrote:

Hi,
I have a list of names and I need to get the name with the highest in the
alphabetical order. I dont want to sort.
Thanks,


Download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/ (Version 4.01 or later).

If by "Highest" you mean that A is higher than B and so forth, use the formula:

=VSORT(Names,,1)

If you mean Z is higher than Y and so forth, then:

=VSORT(Names)

will do.




--ron
  #4   Report Post  
Domenic
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1:A1 0),1),COUNTIF(A1:A10,"<
"&A1:A10),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1:A1 0),1),COUNTIF(A1:A10,"<
"&A1:A10),0))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Calaw" wrote:

Hi,
I have a list of names and I need to get the name with the highest in the
alphabetical order. I dont want to sort.
Thanks,

  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

On Thu, 10 Nov 2005 11:49:07 -0500, Domenic wrote:

Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1:A 10),1),COUNTIF(A1:A10,"<
"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1:A 10),1),COUNTIF(A1:A10,"<
"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
"Calaw" wrote:

Hi,
I have a list of names and I need to get the name with the highest in the
alphabetical order. I dont want to sort.
Thanks,



Nice
--ron


  #6   Report Post  
Harlan Grove
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

Domenic wrote...
Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1:A 10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1:A 10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

....

Since any instance of the 'highest' value would be as good as any
other, both formulas could be reduced to

=LOOKUP(2,1/(COUNTIF(A1:A30,""&A1:A30)=0),A1:A30)

and

=LOOKUP(2,1/(COUNTIF(A1:A30,"<"&A1:A30)=0),A1:A30)

respectively, neither of which require array entry.

  #7   Report Post  
Domenic
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

Nice Harlan! Actually you pointed it out to me on another occasion but
I completely forgot about it. Thanks for reminding me. It's definitely
much more preferable than the one I offered.

In article .com,
"Harlan Grove" wrote:

Domenic wrote...
Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1:A 10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1:A 10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

...

Since any instance of the 'highest' value would be as good as any
other, both formulas could be reduced to

=LOOKUP(2,1/(COUNTIF(A1:A30,""&A1:A30)=0),A1:A30)

and

=LOOKUP(2,1/(COUNTIF(A1:A30,"<"&A1:A30)=0),A1:A30)

respectively, neither of which require array entry.

  #8   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

On 10 Nov 2005 11:51:54 -0800, "Harlan Grove" wrote:

Domenic wrote...
Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1: A10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1: A10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

...

Since any instance of the 'highest' value would be as good as any
other, both formulas could be reduced to

=LOOKUP(2,1/(COUNTIF(A1:A30,""&A1:A30)=0),A1:A30)

and

=LOOKUP(2,1/(COUNTIF(A1:A30,"<"&A1:A30)=0),A1:A30)

respectively, neither of which require array entry.


Nicer.
--ron
  #9   Report Post  
Domenic
 
Posts: n/a
Default Is there a function to give us the highest value in a list of tex

Agreed! Definitely nicer! :)

In article ,
Ron Rosenfeld wrote:

On 10 Nov 2005 11:51:54 -0800, "Harlan Grove" wrote:

Domenic wrote...
Here's another way...

If Z is higher than Y, try...

=INDEX(A1:A10,MATCH(LARGE(COUNTIF(A1:A10,"<"&A1: A10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

If A is higher than B, try...

=INDEX(A1:A10,MATCH(SMALL(COUNTIF(A1:A10,"<"&A1: A10),1),
COUNTIF(A1:A10,"<"&A1:A10),0))

...confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

...

Since any instance of the 'highest' value would be as good as any
other, both formulas could be reduced to

=LOOKUP(2,1/(COUNTIF(A1:A30,""&A1:A30)=0),A1:A30)

and

=LOOKUP(2,1/(COUNTIF(A1:A30,"<"&A1:A30)=0),A1:A30)

respectively, neither of which require array entry.


Nicer.
--ron

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
I have a list of data, fill in the gaps. FILL function won't work Triv Excel Discussion (Misc queries) 1 September 17th 05 02:33 PM
Find in list function jrup New Users to Excel 2 August 23rd 05 12:16 AM
How do I filter a list using a greater than todays date function? LV Excel Worksheet Functions 2 April 29th 05 06:07 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
i need a function to find the highest value in a list Melani Excel Worksheet Functions 2 April 14th 05 07:00 PM


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