Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Questions about functions

I have a column of numbers, and what I want to do is return the 7 highest of
the numbers. Then, I want to be able to return the row number of each one
them. The only problem I have is, if two or more of the high numbers are the
same, it will keep returning the same the row number, instead of the next and
so on. And I CANT use the sort functions because I dont wanna mess up my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find it.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Questions about functions

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7 highest
of
the numbers. Then, I want to be able to return the row number of each one
them. The only problem I have is, if two or more of the high numbers are
the
same, it will keep returning the same the row number, instead of the next
and
so on. And I CANT use the sort functions because I dont wanna mess up my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find it.




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Questions about functions

T. Walko,

Thanks for the help. I got one more question? Can you by chance translate
into Quatro Pro form? I cant find a quattro pro help site anywhere!

Please let me know,
thanks,
Cory

"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7 highest
of
the numbers. Then, I want to be able to return the row number of each one
them. The only problem I have is, if two or more of the high numbers are
the
same, it will keep returning the same the row number, instead of the next
and
so on. And I CANT use the sort functions because I dont wanna mess up my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find it.





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Questions about functions

Sorry, haven't used QP since the mid 90's!

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
T. Walko,

Thanks for the help. I got one more question? Can you by chance translate
into Quatro Pro form? I cant find a quattro pro help site anywhere!

Please let me know,
thanks,
Cory

"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7
highest
of
the numbers. Then, I want to be able to return the row number of each
one
them. The only problem I have is, if two or more of the high numbers
are
the
same, it will keep returning the same the row number, instead of the
next
and
so on. And I CANT use the sort functions because I dont wanna mess up
my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find
it.







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Questions about functions

T. Valko,

I tried the example you mention in Excel, and it didnt work. For the D1-D7
cells, all it returned was "TRUE". Then, in the E1-E7 cells it returned
"#NUM!".

Any ideas?

Thanks,
Cory

"T. Valko" wrote:

Sorry, haven't used QP since the mid 90's!

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
T. Walko,

Thanks for the help. I got one more question? Can you by chance translate
into Quatro Pro form? I cant find a quattro pro help site anywhere!

Please let me know,
thanks,
Cory

"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7
highest
of
the numbers. Then, I want to be able to return the row number of each
one
them. The only problem I have is, if two or more of the high numbers
are
the
same, it will keep returning the same the row number, instead of the
next
and
so on. And I CANT use the sort functions because I dont wanna mess up
my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find
it.










  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Questions about functions

Here's a small sample file that demonstrates this:

delete.xls 14kb

http://cjoint.com/?iFhvKXIgVr

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
T. Valko,

I tried the example you mention in Excel, and it didnt work. For the D1-D7
cells, all it returned was "TRUE". Then, in the E1-E7 cells it returned
"#NUM!".

Any ideas?

Thanks,
Cory

"T. Valko" wrote:

Sorry, haven't used QP since the mid 90's!

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
T. Walko,

Thanks for the help. I got one more question? Can you by chance
translate
into Quatro Pro form? I cant find a quattro pro help site anywhere!

Please let me know,
thanks,
Cory

"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7
highest
of
the numbers. Then, I want to be able to return the row number of
each
one
them. The only problem I have is, if two or more of the high numbers
are
the
same, it will keep returning the same the row number, instead of the
next
and
so on. And I CANT use the sort functions because I dont wanna mess
up
my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant
find
it.










  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Questions about functions

Did you try typing in the formulae? If so, you probably made a typing
error. Just copy the formulae from Biff's message & paste into the formula
bar for the relevant cells. And read his instructions carefully.
--
David Biddulph

"Cory from Eugene" wrote in
message ...
T. Valko,

I tried the example you mention in Excel, and it didnt work. For the D1-D7
cells, all it returned was "TRUE". Then, in the E1-E7 cells it returned
"#NUM!".

Any ideas?

Thanks,
Cory

....
"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7
highest
of
the numbers. Then, I want to be able to return the row number of
each
one
them. The only problem I have is, if two or more of the high numbers
are
the
same, it will keep returning the same the row number, instead of the
next
and
so on. And I CANT use the sort functions because I dont wanna mess
up
my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant
find



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Questions about functions

T. Valko,

Hey, i just wanted to say that your first solution was the right one and it
worked!! Thanks so much. I just have one more question. Do you know how to do
the same thing for searching columns? I tried to do it using the same ideas
as the row functions, but it didnt work.

Thanks so much!!
Cory

"T. Valko" wrote:

Try this:

Numbers in the range A1:A20

Enter this formula in D1:

=LARGE(A$1:A$20,ROWS($1:1))

Enter this array formula** in E1:

=SMALL(IF(A$1:A$20=D1,ROW(A$1:A$20)),COUNTIF(D$1:D 1,D1))

Select both D1 and E1 and copy down a total of 7 rows or as needed.

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

--
Biff
Microsoft Excel MVP


"Cory from Eugene" wrote in
message ...
I have a column of numbers, and what I want to do is return the 7 highest
of
the numbers. Then, I want to be able to return the row number of each one
them. The only problem I have is, if two or more of the high numbers are
the
same, it will keep returning the same the row number, instead of the next
and
so on. And I CANT use the sort functions because I dont wanna mess up my
values

Any suggestions?

Please let me know. lol It's probably an easy answer, I just cant find it.





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
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Several function questions (nested functions) miller Excel Worksheet Functions 6 October 10th 05 05:58 AM
3 questions about automated c++ com add-in worksheet functions gert Excel Worksheet Functions 0 March 10th 05 09:57 AM
Array Functions - Two Questions MDW Excel Worksheet Functions 3 January 12th 05 06:54 PM


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