Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Ranking numbers that are a variance of 100%

How can i rank numbers that are a variance of 100% when being over or under
100% has the same score?

Example
-3.09%
6.04%
1.82%
1.46%
-4.14%
-0.73%
0.96%
4.60%

I want to rank the above numbers which are all a variance from 100% but the
closest to 100% are the top ranked numbers. -.73 would be number 1 and 6.04%
would be number 8. 4.6 would be 7th and -4.14 would be 6th. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking numbers that are a variance of 100%

In other words, you want to rank based on absolute values?

With your numbers in the range A1:A8...

Entered in B1 and copied down:

=SUMPRODUCT(--(ABS(A1)ABS(A$1:A$8)))+1

--
Biff
Microsoft Excel MVP


"Wicanucks" wrote in message
...
How can i rank numbers that are a variance of 100% when being over or
under
100% has the same score?

Example
-3.09%
6.04%
1.82%
1.46%
-4.14%
-0.73%
0.96%
4.60%

I want to rank the above numbers which are all a variance from 100% but
the
closest to 100% are the top ranked numbers. -.73 would be number 1 and
6.04%
would be number 8. 4.6 would be 7th and -4.14 would be 6th. Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Ranking numbers that are a variance of 100%

If your values are in A1 thru A8, then in B1, enter:
=ABS(A1) and copy down

Then sort cols A & B by B. this results in:

-0.73% 0.0073
0.96% 0.0096
1.46% 0.0146
1.82% 0.0182
-3.09% 0.0309
-4.14% 0.0414
4.60% 0.046
6.04% 0.0604

This gives you values in rank order.
--
Gary''s Student - gsnu200823


"Wicanucks" wrote:

How can i rank numbers that are a variance of 100% when being over or under
100% has the same score?

Example
-3.09%
6.04%
1.82%
1.46%
-4.14%
-0.73%
0.96%
4.60%

I want to rank the above numbers which are all a variance from 100% but the
closest to 100% are the top ranked numbers. -.73 would be number 1 and 6.04%
would be number 8. 4.6 would be 7th and -4.14 would be 6th. Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Ranking numbers that are a variance of 100%

Hi,

If you like Gary's solution, then here is a way to do it without sorting

=SMALL(ABS($A$1:$A$9),ROW(A1))

enter this formula as an array and copy it down. It assumes your numbers
are in A1:A9.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Wicanucks" wrote:

How can i rank numbers that are a variance of 100% when being over or under
100% has the same score?

Example
-3.09%
6.04%
1.82%
1.46%
-4.14%
-0.73%
0.96%
4.60%

I want to rank the above numbers which are all a variance from 100% but the
closest to 100% are the top ranked numbers. -.73 would be number 1 and 6.04%
would be number 8. 4.6 would be 7th and -4.14 would be 6th. Thanks

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
How do I calculate variance between numbers? copitta Excel Worksheet Functions 5 May 24th 16 03:22 AM
Editing a column chart for Variance Walk negative numbers sauza311 Charts and Charting in Excel 3 January 16th 08 07:19 PM
how do i display a variance in all positive numbers? Susan Excel Worksheet Functions 2 June 26th 06 04:24 PM
Pivot Tables - Variance and Variance % PJS Excel Discussion (Misc queries) 2 January 18th 06 03:12 AM
Pivot Tables - Variance and % Variance fields CraigS Excel Discussion (Misc queries) 5 January 6th 05 12:22 AM


All times are GMT +1. The time now is 07:50 PM.

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"