PC Review


Reply
Thread Tools Rate Thread

Counting Consecutive Months in Top Third

 
 
agrandstaff@hotmail.com
Guest
Posts: n/a
 
      7th Mar 2008
Ok. I need to have a formula which would look at a number of columns
and tell me now many 'consecutive' months someone has been in the top
33% of the numbers in that column to date. IE . . .Ann was in the top
33% in Jan and Feb but not in March so in March I would want the
formula to spit out '2', In April I would want it to start over again
at '1' (If in fact she was in the top 33% in March, if not then it
should say '0'). Hardest part in figuring this out (in my head
anyway)
is how to get it to give me the number as of the current date.
Figures
=NON() would have to be in there somewhere but not sure how. Hope I
explained all that properly.

JAN FEB MAR
Jane 34.5 44.6 77.8
Bob 22.3 12.5 34.6
Bill 32.6 87.7 44.4
Jill 44.3 66.5 34.8
Ann 87.6 55.2 15.6
Eric 74.5 33.3 13.8
Jim 44.7 22.8 22.3
Lisa 56.4 55.4 55.9
Sam 67.1 64.8 70.0

 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      7th Mar 2008
You need to make another table. For example if your table starts in A1, with names in column B and
labels in row 1, then in another cell in column B, say B21, perhaps, use the formula

=IF(RANK(B2,B$2:B$10)<=(COUNTA(B$2:B$10)/3),"Top","")

and copy to be as large as your data table. Then you can use a formula like

=IF(XXX21="Top",1+SUMPRODUCT((C21:XXX21=B21:YYY21)*(C21:XXX21="Top")),0)
where XXX is the last column's letter, and YYY is the last column but one's letter.


HTH,
Bernie
MS Excel MVP


<(E-Mail Removed)> wrote in message
news:d99c7cc0-24b9-4f63-9c81-(E-Mail Removed)...
> Ok. I need to have a formula which would look at a number of columns
> and tell me now many 'consecutive' months someone has been in the top
> 33% of the numbers in that column to date. IE . . .Ann was in the top
> 33% in Jan and Feb but not in March so in March I would want the
> formula to spit out '2', In April I would want it to start over again
> at '1' (If in fact she was in the top 33% in March, if not then it
> should say '0'). Hardest part in figuring this out (in my head
> anyway)
> is how to get it to give me the number as of the current date.
> Figures
> =NON() would have to be in there somewhere but not sure how. Hope I
> explained all that properly.
>
> JAN FEB MAR
> Jane 34.5 44.6 77.8
> Bob 22.3 12.5 34.6
> Bill 32.6 87.7 44.4
> Jill 44.3 66.5 34.8
> Ann 87.6 55.2 15.6
> Eric 74.5 33.3 13.8
> Jim 44.7 22.8 22.3
> Lisa 56.4 55.4 55.9
> Sam 67.1 64.8 70.0
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best 3 Consecutive Months Desoto Microsoft Excel Worksheet Functions 13 15th May 2010 12:31 AM
Counting Consecutive Months in Top Third A.C.G. Microsoft Excel Worksheet Functions 1 7th Mar 2008 07:30 PM
Consecutive months =?Utf-8?B?VG9tSw==?= Microsoft Access Queries 2 29th Jan 2007 03:38 PM
summing last three consecutive months Andre C Microsoft Access Queries 4 2nd Sep 2006 10:51 PM
i need to add consecutive months and keep the day the same for ea. =?Utf-8?B?SmFzb24=?= Microsoft Excel Worksheet Functions 8 21st Mar 2005 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:08 PM.