#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Ranking Function

I have a worksheet with data in column a1:a10 and a ranking column in b1:b10.
I need to skip ranking a3, a6 and a9 but I need to leave the data in the
cells the way they are. What function can I use to do this? The Ranking
function doesn't seem to like skipping cells.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking Function

Try this in B1:

=IF(MOD(ROW(),3),RANK(A1,(A$1:A$2,A$4:A$5,A$7:A$8, A$10)),"")

Copy down to B10

Biff

"casdaq" wrote in message
...
I have a worksheet with data in column a1:a10 and a ranking column in
b1:b10.
I need to skip ranking a3, a6 and a9 but I need to leave the data in the
cells the way they are. What function can I use to do this? The Ranking
function doesn't seem to like skipping cells.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Ranking Function

Thanks so much - That worked! How do you I use this same function where I
need to skip other rows? Say I had data in columns a2:a21 and I needed to
skip cells A4,A5,A7,A8,A15,A16?

"T. Valko" wrote:

Try this in B1:

=IF(MOD(ROW(),3),RANK(A1,(A$1:A$2,A$4:A$5,A$7:A$8, A$10)),"")

Copy down to B10

Biff

"casdaq" wrote in message
...
I have a worksheet with data in column a1:a10 and a ranking column in
b1:b10.
I need to skip ranking a3, a6 and a9 but I need to leave the data in the
cells the way they are. What function can I use to do this? The Ranking
function doesn't seem to like skipping cells.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking Function

Since there is no pattern use a helper column and identify the numbers to
exclude with something like "skip".

...........A..........B
1.......28............
2.......70............
3.......62............
4.......64......skip
5.......81......skip
6.......42...........
7.......58......skip
8.......19......skip

Then enter this formula in C1 and copy down to C8:

=IF(B1="",SUMPRODUCT(--(B$1:B$8=""),--(A1<A$1:A$8))+1,"")

Biff

"casdaq" wrote in message
...
Thanks so much - That worked! How do you I use this same function where I
need to skip other rows? Say I had data in columns a2:a21 and I needed to
skip cells A4,A5,A7,A8,A15,A16?

"T. Valko" wrote:

Try this in B1:

=IF(MOD(ROW(),3),RANK(A1,(A$1:A$2,A$4:A$5,A$7:A$8, A$10)),"")

Copy down to B10

Biff

"casdaq" wrote in message
...
I have a worksheet with data in column a1:a10 and a ranking column in
b1:b10.
I need to skip ranking a3, a6 and a9 but I need to leave the data in
the
cells the way they are. What function can I use to do this? The Ranking
function doesn't seem to like skipping cells.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking Function

Or.....

If you'll tell us why you need to exclude certain numbers and there is some
logic behind it we might be able to put that logic in a formula and do away
with the need for a helper column.

Biff

"T. Valko" wrote in message
...
Since there is no pattern use a helper column and identify the numbers to
exclude with something like "skip".

..........A..........B
1.......28............
2.......70............
3.......62............
4.......64......skip
5.......81......skip
6.......42...........
7.......58......skip
8.......19......skip

Then enter this formula in C1 and copy down to C8:

=IF(B1="",SUMPRODUCT(--(B$1:B$8=""),--(A1<A$1:A$8))+1,"")

Biff

"casdaq" wrote in message
...
Thanks so much - That worked! How do you I use this same function where I
need to skip other rows? Say I had data in columns a2:a21 and I needed to
skip cells A4,A5,A7,A8,A15,A16?

"T. Valko" wrote:

Try this in B1:

=IF(MOD(ROW(),3),RANK(A1,(A$1:A$2,A$4:A$5,A$7:A$8, A$10)),"")

Copy down to B10

Biff

"casdaq" wrote in message
...
I have a worksheet with data in column a1:a10 and a ranking column in
b1:b10.
I need to skip ranking a3, a6 and a9 but I need to leave the data in
the
cells the way they are. What function can I use to do this? The
Ranking
function doesn't seem to like skipping cells.









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
Ranking Curtis Excel Worksheet Functions 5 May 14th 06 03:59 AM
ranking Soz Excel Worksheet Functions 6 September 14th 05 05:55 PM
Ranking Tim Sullivan Excel Worksheet Functions 7 July 18th 05 07:00 PM
need function to sum top ranking items in list QuantumPion Excel Worksheet Functions 13 June 6th 05 10:42 AM
Ranking Thrava Excel Discussion (Misc queries) 6 February 15th 05 10:49 AM


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