Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bob135
 
Posts: n/a
Default Finding the highest values


How do you find the 1st, 2nd, .... nth highest value of a given row or
column of cells filled with numbers? Say I have a bunch of numbers in
A1 through Z1. I want the biggest 5 to appear on another sheet as A1,
A2, A3, A4, and A5.


--
bob135
------------------------------------------------------------------------
bob135's Profile: http://www.excelforum.com/member.php...o&userid=33388
View this thread: http://www.excelforum.com/showthread...hreadid=532137

  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB
 
Posts: n/a
Default Finding the highest values

=LARGE(Sheet1!$A$1:$Z$1, 1)
=LARGE(Sheet1!$A$1:$Z$1, 2)
=LARGE(Sheet1!$A$1:$Z$1, 3)
=LARGE(Sheet1!$A$1:$Z$1, 4)
=LARGE(Sheet1!$A$1:$Z$1, 5)


"bob135" wrote:


How do you find the 1st, 2nd, .... nth highest value of a given row or
column of cells filled with numbers? Say I have a bunch of numbers in
A1 through Z1. I want the biggest 5 to appear on another sheet as A1,
A2, A3, A4, and A5.


--
bob135
------------------------------------------------------------------------
bob135's Profile: http://www.excelforum.com/member.php...o&userid=33388
View this thread: http://www.excelforum.com/showthread...hreadid=532137


  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Finding the highest values

Hi!

Try this in A1 and copy down as needed:

=LARGE(Sheet1!A$1:Z$1,ROWS($1:1))

Biff

"bob135" wrote in
message ...

How do you find the 1st, 2nd, .... nth highest value of a given row or
column of cells filled with numbers? Say I have a bunch of numbers in
A1 through Z1. I want the biggest 5 to appear on another sheet as A1,
A2, A3, A4, and A5.


--
bob135
------------------------------------------------------------------------
bob135's Profile:
http://www.excelforum.com/member.php...o&userid=33388
View this thread: http://www.excelforum.com/showthread...hreadid=532137



  #4   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default Finding the highest values


For a quick result, the autofilter option also has options for selecting
the top or bottom "N" number of entries in a list.


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=532137

  #5   Report Post  
Posted to microsoft.public.excel.misc
bob135
 
Posts: n/a
Default Finding the highest values


Cool, thanks. Now I have each item labeled. Say the labels are in row 1
and the values i want to compare are in row 2. How do I get the top 5
items to appear along with their labels?


--
bob135
------------------------------------------------------------------------
bob135's Profile: http://www.excelforum.com/member.php...o&userid=33388
View this thread: http://www.excelforum.com/showthread...hreadid=532137



  #6   Report Post  
Posted to microsoft.public.excel.misc
bob135
 
Posts: n/a
Default Finding the highest values


I got it to work for 1 sheet using MATCH. However, it doesn't seem that
MATCH will work if i want to compare using LARGE and MATCH with
multiple sheets. Is there a way to do this while keeping the sheets
apart?


--
bob135
------------------------------------------------------------------------
bob135's Profile: http://www.excelforum.com/member.php...o&userid=33388
View this thread: http://www.excelforum.com/showthread...hreadid=532137

  #7   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Finding the highest values

"bob135" wrote:
Now I have each item labeled. Say the labels are in row 1
and the values i want to compare are in row 2.
How do I get the top 5 items to appear along with their labels?


Try this construct which caters for the larger ambit,
i.e. the possibility of ties (or multiple ties)
occurring within the values in row2

Assume source table is in sheet: X
from col A across, labels in row1, values in row2

In a new sheet,

Put in A1:
=IF(ISERROR(LARGE($C:$C,ROW(A1))),"",
INDEX(X!$1:$1,MATCH(LARGE($C:$C,ROW(A1)),$C:$C,0)) )

Put in B1:
=IF(ISERROR(LARGE($C:$C,ROW(A1))),"",
INDEX(X!$2:$2,MATCH(LARGE($C:$C,ROW(A1)),$C:$C,0)) )

Put in C1:
=IF(INDEX(X!$2:$2,,ROW(A1))=0,"",INDEX(X!$2:$2,,RO W(A1))-ROW()/10^10)

Select A1:C1, fill down to cover
the max expected extent of the source table in X
(fill down by as many rows as there are columns of data expected in X)

Cols A and B will auto-return the full descending sort from X,
with values in col B, corresponding labels in col A.
(Just read off the top x as desired)

Labels with tied values, if any, will appear in the same relative order
that these are with rows1 & 2 in X (from left to right)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #8   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Finding the highest values

Line:
that these are with rows1 & 2 in X (from left to right)


should read as:
that these are within rows1 & 2 in X (from left to right)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
How can I break values apart that are in the same cell? Phil Excel Worksheet Functions 3 October 4th 05 03:41 PM
Finding (Multiple) Highest Values in Column Shay Hurley Excel Worksheet Functions 1 October 3rd 05 04:19 PM
Finding number of values in a range on a per year basis LyleB_Austin Excel Worksheet Functions 2 September 20th 05 09:49 PM
Min values in a list of numbers Traima Excel Worksheet Functions 1 August 5th 05 01:32 PM


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