Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Doug
 
Posts: n/a
Default How can I choose top two numbers in a column?

I want to choose the top two values from a column (preferably multiple
columns or an array). For example, if the column contains the numbers 1, 2,
3, 3, 4, 4, 5, 2, 5. I would like two have two cells below that column
choose and display 5 and 5.
Another example:
column contains: 5, 7, 8, 7, 8, 7, 9, 8, 8, 12. Then the other two cells
should display 12 and 9.
Any help would be appreciated.
P.S. The only values I'm dealing with are 0, 1, 2 and 3 so if you know of a
workaround that would work with only 4 different values that would be fine.
  #2   Report Post  
Ken Wright
 
Posts: n/a
Default

=LARGE(rng,1) in cell 1
=LARGE(rng,2) in cell2

or

select cell 1 and 2 together and

=LARGE(rng,{1;2}) array entered using CTRL+SHIFT+ENTER

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Doug" wrote in message
...
I want to choose the top two values from a column (preferably multiple
columns or an array). For example, if the column contains the numbers 1,

2,
3, 3, 4, 4, 5, 2, 5. I would like two have two cells below that column
choose and display 5 and 5.
Another example:
column contains: 5, 7, 8, 7, 8, 7, 9, 8, 8, 12. Then the other two cells
should display 12 and 9.
Any help would be appreciated.
P.S. The only values I'm dealing with are 0, 1, 2 and 3 so if you know of

a
workaround that would work with only 4 different values that would be

fine.


  #3   Report Post  
Doug
 
Posts: n/a
Default

Well that's as easy as I thought it should have been. Thank you.
Doug

"Ken Wright" wrote:

=LARGE(rng,1) in cell 1
=LARGE(rng,2) in cell2

or

select cell 1 and 2 together and

=LARGE(rng,{1;2}) array entered using CTRL+SHIFT+ENTER

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Doug" wrote in message
...
I want to choose the top two values from a column (preferably multiple
columns or an array). For example, if the column contains the numbers 1,

2,
3, 3, 4, 4, 5, 2, 5. I would like two have two cells below that column
choose and display 5 and 5.
Another example:
column contains: 5, 7, 8, 7, 8, 7, 9, 8, 8, 12. Then the other two cells
should display 12 and 9.
Any help would be appreciated.
P.S. The only values I'm dealing with are 0, 1, 2 and 3 so if you know of

a
workaround that would work with only 4 different values that would be

fine.



  #4   Report Post  
Ken Wright
 
Posts: n/a
Default

LOL - You're welcome

--
Regards
Ken.......................


"Doug" wrote in message
...
Well that's as easy as I thought it should have been. Thank you.
Doug

"Ken Wright" wrote:

=LARGE(rng,1) in cell 1
=LARGE(rng,2) in cell2

or

select cell 1 and 2 together and

=LARGE(rng,{1;2}) array entered using CTRL+SHIFT+ENTER

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03


--------------------------------------------------------------------------

--
It's easier to beg forgiveness than ask permission :-)


--------------------------------------------------------------------------

--

"Doug" wrote in message
...
I want to choose the top two values from a column (preferably multiple
columns or an array). For example, if the column contains the numbers

1,
2,
3, 3, 4, 4, 5, 2, 5. I would like two have two cells below that

column
choose and display 5 and 5.
Another example:
column contains: 5, 7, 8, 7, 8, 7, 9, 8, 8, 12. Then the other two

cells
should display 12 and 9.
Any help would be appreciated.
P.S. The only values I'm dealing with are 0, 1, 2 and 3 so if you know

of
a
workaround that would work with only 4 different values that would be

fine.





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
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
add only positive numbers and avg in a column rich Excel Worksheet Functions 6 March 10th 05 09:19 AM
need to find which numbers (3+) in a column sum to a value Devin Excel Discussion (Misc queries) 1 February 11th 05 10:30 PM
How do I get Excel to correctly add a column of numbers that have. ljontheroad Excel Discussion (Misc queries) 4 February 9th 05 10:08 PM
I cannot get a column of numbers to sum, why? HHG Excel Discussion (Misc queries) 8 February 8th 05 12:55 PM


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