Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KP KP is offline
external usenet poster
 
Posts: 13
Default rank the numbers / range of data using 'RANK' and 'ABS'

How to use rank and ABS functions to rank the set of + and - numbers to be
ranked from 0 and up regardless +ve or -ve number:
A B C
Data Take
ABS Value Ranked succesfully
Formula =ABS(A2) =RANK(B2,(B$3:B$14),(0.01))
-1.00 1 1
10.00 10 8
13.00 13 10
18.00 18 11
23.00 23 12
8.98 8.98 6
9.00 9 7
-5.00 5 2
-11.00 11 9
-7.00 7 4
5.55 5.55 3
-8.97 8.97 5
------------------
foloowing formula did not work: gave error as "# NA"
=RANK((ABS(A3)),(A$3:A$14),1)
-----------------------------
Please help to solve above formula in oreder to avoid adding an colum to
calcualte the ABS value and hide it from an table.

Or give any other suggestions.

Thanking you in advance.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default rank the numbers / range of data using 'RANK' and 'ABS'

I think this formula will produce the result you want. It assumes your data
starts in Row 3 (as your example seems to indicate)...

=SUMPRODUCT(--(ABS(A$3:A$14)<ABS(A3)))+1

Rick


"KP" wrote in message
...
How to use rank and ABS functions to rank the set of + and - numbers to be
ranked from 0 and up regardless +ve or -ve number:
A B C
Data Take
ABS Value Ranked succesfully
Formula =ABS(A2) =RANK(B2,(B$3:B$14),(0.01))
-1.00 1 1
10.00 10 8
13.00 13 10
18.00 18 11
23.00 23 12
8.98 8.98 6
9.00 9 7
-5.00 5 2
-11.00 11 9
-7.00 7 4
5.55 5.55 3
-8.97 8.97 5
------------------
foloowing formula did not work: gave error as "# NA"
=RANK((ABS(A3)),(A$3:A$14),1)
-----------------------------
Please help to solve above formula in oreder to avoid adding an colum to
calcualte the ABS value and hide it from an table.

Or give any other suggestions.

Thanking you in advance.



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
Select value from a range given a rank BRD88 Excel Discussion (Misc queries) 2 August 30th 07 11:26 PM
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM
Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(. Emmanuel Excel Worksheet Functions 3 November 12th 05 03:33 PM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"