By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,300 Members | 1,795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,300 IT Pros & Developers. It's quick & easy.

Ranking a List - Reverse Unique Rank

P: n/a

Greetings,

I'm looking for some VB.NET code to perform a Reverse Unique Rank on a
list of numbers. I've used the rank and countif functions in Excel
in the past and am in need of some VB code to do the same.

Any help or direction is appreciated.

Thanks!

Rick
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

<Rick> wrote

I'm looking for some VB.NET code to perform a Reverse Unique Rank on a
list of numbers. I've used the rank and countif functions in Excel
in the past and am in need of some VB code to do the same.

Any help or direction is appreciated.


I haven't any idea what rank and countif functions do, but to reverse sort
an array you can use the Array.Sort method and pass in your own
IComparer class. Check out the Array.Sort method in Help for example code.

LFS
Nov 21 '05 #2

P: n/a

Thanks for the direction to the help example. -Rick

In my original post, I forgot to give a weblink to the Reverse Unique
Rank reference:

http://www.cpearson.com/excel/ExcelPages.htm

On Sat, 9 Oct 2004 00:32:25 -0500, "Larry Serflaten"
<se*******@usinternet.com> wrote:

<Rick> wrote

I'm looking for some VB.NET code to perform a Reverse Unique Rank on a
list of numbers. I've used the rank and countif functions in Excel
in the past and am in need of some VB code to do the same.

Any help or direction is appreciated.


I haven't any idea what rank and countif functions do, but to reverse sort
an array you can use the Array.Sort method and pass in your own
IComparer class. Check out the Array.Sort method in Help for example code.

LFS


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.