#1   Report Post  
Posted to microsoft.public.excel.misc
pytelium
 
Posts: n/a
Default Comparing ranking


I have 3 cols of data,at the moment H,N AND W.

JOHN 1 3.25
JOHN 2 8
JOHN 3 6
JOHN 4 2.75
JOHN 5 11
JOHN 6 15
MARY 1 8
MARY 2 5
MARY 3 5
MARY 4 2.75
MARY 5 11
MARY 6 17
MARY 7 13

N is the actual ranking. W is the predicted results,unranked. Lowest is
best in the predicted results,thus 2.75 is ranked 1st,3.25 is ranked 2nd
etc.

I want to produce another column which will show the numerical
difference
between the actual ranking and the predicted ranking,the first row
will be 1 -2 =-1.

I also want to show for each person in another extra column ,the
percentage of the total below each number in the predicted column. Thus
3.25 finished first, 5 out of 6 are below,so show 83%,on the second row
4/6 =67%.


--
pytelium
------------------------------------------------------------------------
pytelium's Profile: http://www.excelforum.com/member.php...o&userid=25521
View this thread: http://www.excelforum.com/showthread...hreadid=497999

  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Comparing ranking

Is it deliberate that the boys are listed first (and in order) followed
by the girls?

Using your example and assuming data starts in row 2 with headers in
row 1, enter the following in X2 and copy down for the boys:

=N2 - RANK(W2,W$2:W$7,1)

and in X8 down for the girls:

=N8 - RANK(W8,W$8:W$14,1)

Adjust the ranges to suit your data. It would help the second part if
you had two cells somewhere which contained the number of boys and the
number of girls - assume Z1 (= boys) = 6 and Z2 (= girls) = 7. Then you
can put this formula in Y2 and copy down for boys:

=(Z$1-N2)/Z$1 (format as percentage), and for girls in Y8 downwards:

=(Z$2-N8)/Z$2, formatted as percentage.

Hope this helps,

Pete

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
Comparing two spreadsheets Morten Excel Worksheet Functions 1 October 21st 05 02:30 PM
Ignore Non-Alphanumerics When Comparing Text KelleyS Excel Worksheet Functions 1 July 25th 05 11:09 PM
Comparing two lists in excel that don't match exactly Tina Excel Worksheet Functions 2 May 11th 05 05:00 PM
Ranking Using Grand Total nostalgie Excel Discussion (Misc queries) 0 April 9th 05 03:27 PM
Comparing Data in two columns Marianne Excel Worksheet Functions 3 November 5th 04 10:26 PM


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