#1   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Inverse rank

Hi, is there a way to rank data in Col A do return the inverse rank in Column
B? Thanks...


Col A Col B
33 3
55 4
26 1
32 2
78 5
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Inverse rank

In B1 enter:

=RANK(A1,A$1:A$5,1)

and copy down
--
Gary's Student


"SteveC" wrote:

Hi, is there a way to rank data in Col A do return the inverse rank in Column
B? Thanks...


Col A Col B
33 3
55 4
26 1
32 2
78 5

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Inverse rank

How about:
=1+COUNT($A$1:$A$5)-RANK(A1,$A$1:$A$5)
in B1 and copied down the column.
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"SteveC" wrote in message
...
Hi, is there a way to rank data in Col A do return the inverse rank in
Column
B? Thanks...


Col A Col B
33 3
55 4
26 1
32 2
78 5



  #4   Report Post  
Posted to microsoft.public.excel.misc
RagDyeR
 
Posts: n/a
Default Inverse rank

This will return your *present* ranking order as you copy down:

=RANK(A1,$A$1:$A$5,1)

This will return the inverse:

=RANK(A1,$A$1:$A$5)


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"SteveC" wrote in message
...
Hi, is there a way to rank data in Col A do return the inverse rank in
Column
B? Thanks...


Col A Col B
33 3
55 4
26 1
32 2
78 5


  #5   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Thank you all



"SteveC" wrote:

Hi, is there a way to rank data in Col A do return the inverse rank in Column
B? Thanks...


Col A Col B
33 3
55 4
26 1
32 2
78 5



  #6   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Inverse Rank with Sumproduct

Assuming I have this formula to rank:

=SUMPRODUCT(--($A$13:$A$2651=$A13),--(AJ13<AJ$13:AJ$2651))+1

Where text labels are in Column A and data is in Column AJ -- this formula
assigns the largest number the highest rank (within the group as defined by
Col A)

What could we do to convert this formula to an inverse rank? I tried to use
Bernard's count formula to adjust, but couldn't figure it out.. .thanks a
lot...
  #7   Report Post  
Posted to microsoft.public.excel.misc
SteveC
 
Posts: n/a
Default Inverse Rank with Sumproduct

I figured it out, thanks:

=(SUMPRODUCT(--($A$13:$A$2651=$A139)))-(SUMPRODUCT(--($A$13:$A$2651=$A139),--(AJ139<AJ$13:AJ$2651))+1)

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
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM
RANK formula KG Excel Discussion (Misc queries) 3 September 23rd 05 03:27 PM
Rank fx - Fill Down? Steve B Excel Worksheet Functions 1 February 23rd 05 08:28 PM
Rank in Excel koty Excel Worksheet Functions 3 February 8th 05 08:04 PM
Rank Function carl Excel Worksheet Functions 2 November 15th 04 07:23 PM


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