Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Need RANK Function for Text

I need a function like RANK (which is for numbers), but only for text. The
sort feature is not a function I can use in a formula. Rank permits me sort
numerically but I want to sort alphabetically.

I dont see a function that does this and have tried a few options to do
this with things like CODE but have been unsuccessful.

Can you help, please.

M

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Need RANK Function for Text

Perhaps you need to post some ranked/unranked text and explain the logic for
the rank
--
Mike

When competing hypotheses are equal, adopt the hypothesis that introduces
the fewest assumptions while still sufficiently answering the question.
Occam''''s razor (Abbrev)


"Modeerf60" wrote:

I need a function like RANK (which is for numbers), but only for text. The
sort feature is not a function I can use in a formula. Rank permits me sort
numerically but I want to sort alphabetically.

I dont see a function that does this and have tried a few options to do
this with things like CODE but have been unsuccessful.

Can you help, please.

M

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Need RANK Function for Text

The logic is simply to perform alpha sort via funtion. I really need exact
the same result as RANK except for text. The ranking would be according to
the alphabetical order.
M

"Mike H" wrote:

Perhaps you need to post some ranked/unranked text and explain the logic for
the rank
--
Mike

When competing hypotheses are equal, adopt the hypothesis that introduces
the fewest assumptions while still sufficiently answering the question.
Occam''''s razor (Abbrev)


"Modeerf60" wrote:

I need a function like RANK (which is for numbers), but only for text. The
sort feature is not a function I can use in a formula. Rank permits me sort
numerically but I want to sort alphabetically.

I dont see a function that does this and have tried a few options to do
this with things like CODE but have been unsuccessful.

Can you help, please.

M

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

To rank these in ascending order:

=SUMPRODUCT(--(A1A$1:A$15))+1

astronomer = 1
avon = 2
camel = 3
cornhusks = 4
cover = 5
earthday = 6
feedback = 7
galvani = 8
hospitals = 9
lights = 10
metronome = 11
pawl = 12
roseanne = 13
snacks = 14
splint = 15

To rank these in descending order:

=SUMPRODUCT(--(A1<A$1:A$15))+1

splint = 1
snacks = 2
roseanne = 3
pawl = 4
metronome = 5
lights = 6
hospitals = 7
galvani = 8
feedback = 9
earthday = 10
cover = 11
cornhusks = 12
camel = 13
avon = 14
astronomer = 15

--
Biff
Microsoft Excel MVP


"Modeerf60" wrote in message
...
The logic is simply to perform alpha sort via funtion. I really need exact
the same result as RANK except for text. The ranking would be according to
the alphabetical order.
M

"Mike H" wrote:

Perhaps you need to post some ranked/unranked text and explain the logic
for
the rank
--
Mike

When competing hypotheses are equal, adopt the hypothesis that introduces
the fewest assumptions while still sufficiently answering the question.
Occam''''s razor (Abbrev)


"Modeerf60" wrote:

I need a function like RANK (which is for numbers), but only for text.
The
sort feature is not a function I can use in a formula. Rank permits me
sort
numerically but I want to sort alphabetically.

I don't see a function that does this and have tried a few options to
do
this with things like CODE but have been unsuccessful.

Can you help, please.

M



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default Need RANK Function for Text

Hello Mike,

Have a look he
http://sulprobil.com/html/sorting.html

Regards,
Bernd


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
Help with the rank function Victor Delta[_2_] Excel Discussion (Misc queries) 8 April 11th 09 06:57 PM
Rank function Marc Shaw Excel Worksheet Functions 5 September 20th 07 10:30 PM
Rank function yshridhar Excel Worksheet Functions 9 August 27th 07 09:10 AM
Rank Function Jeana Excel Discussion (Misc queries) 4 June 27th 06 10:58 PM
Rank Function carl Excel Worksheet Functions 2 November 15th 04 07:23 PM


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