Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveC
 
Posts: n/a
Default Using SumProduct and Count To Calculate % Ranks

What formula should I use in Column C to return the % figures in Column C?

This formula in Column C should rank in percent the numerical rank in Column
B for Each Label indicated in Column A.

For example, in the first row below, it shows that 4 in Col B is in the top
57% of the 7 Xs in Col A. The manual formula is =4/7.

Could you also explain generally what the sumproduct formula that should be
used with this is doing in English? Thanks a lot!

Col A Col B Col B
X 4 57%
X 7 100%
X 2 29%
X 1 14%
X 5 71%
X 6 86%
X 3 43%
XX 4 100%
XX 2 50%
XX 1 25%
XX 3 75%
XXX 1 14%
XXX 3 43%
XXX 6 86%
XXX 4 57%
XXX 7 100%
XXX 2 29%
XXX 5 71%
XXXX 2 50%
XXXX 3 75%
XXXX 4 100%
XXXX 1 25%


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Using SumProduct and Count To Calculate % Ranks

You don't need SUMPRODUCT

If these values start in row 2 and go down to row 25, then in col C use

=B2/COUNTIF($A$2:$A$25,a2)

"SteveC" wrote:

What formula should I use in Column C to return the % figures in Column C?

This formula in Column C should rank in percent the numerical rank in Column
B for Each Label indicated in Column A.

For example, in the first row below, it shows that 4 in Col B is in the top
57% of the 7 Xs in Col A. The manual formula is =4/7.

Could you also explain generally what the sumproduct formula that should be
used with this is doing in English? Thanks a lot!

Col A Col B Col B
X 4 57%
X 7 100%
X 2 29%
X 1 14%
X 5 71%
X 6 86%
X 3 43%
XX 4 100%
XX 2 50%
XX 1 25%
XX 3 75%
XXX 1 14%
XXX 3 43%
XXX 6 86%
XXX 4 57%
XXX 7 100%
XXX 2 29%
XXX 5 71%
XXXX 2 50%
XXXX 3 75%
XXXX 4 100%
XXXX 1 25%


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod
 
Posts: n/a
Default Using SumProduct and Count To Calculate % Ranks

Hi Steve,

Try:
=B1/COUNTIF(A:A,A1)
in C1 and copy down as far as needed. I can't see any need for a SUMPRODUCT
solution.

For an explanation of the COUNTIF function, input the formula and click on
the 'Paste function' icon on the toolbar.

Cheers

"SteveC" wrote in message
...
What formula should I use in Column C to return the % figures in Column C?

This formula in Column C should rank in percent the numerical rank in

Column
B for Each Label indicated in Column A.

For example, in the first row below, it shows that 4 in Col B is in the

top
57% of the 7 Xs in Col A. The manual formula is =4/7.

Could you also explain generally what the sumproduct formula that should

be
used with this is doing in English? Thanks a lot!

Col A Col B Col B
X 4 57%
X 7 100%
X 2 29%
X 1 14%
X 5 71%
X 6 86%
X 3 43%
XX 4 100%
XX 2 50%
XX 1 25%
XX 3 75%
XXX 1 14%
XXX 3 43%
XXX 6 86%
XXX 4 57%
XXX 7 100%
XXX 2 29%
XXX 5 71%
XXXX 2 50%
XXXX 3 75%
XXXX 4 100%
XXXX 1 25%




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveC
 
Posts: n/a
Default Using SumProduct and Count To Calculate % Ranks

Thank you very much!
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveC
 
Posts: n/a
Default Using SumProduct and Count To Calculate % Ranks

Great! 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
Total Summed Count of Numeric Repeat (Paired /Double Instance) Criteria Sam via OfficeKB.com Excel Worksheet Functions 2 March 20th 06 02:29 AM
sumproduct partial text count Ribeye Excel Worksheet Functions 2 February 14th 06 06:43 PM
How to count uniques of a SUMPRODUCT subset? KeLee Excel Worksheet Functions 2 December 9th 05 01:25 PM
Using sumproduct to count number by date JerryS Excel Worksheet Functions 2 June 6th 05 10:37 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


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