PC Review


Reply
Thread Tools Rate Thread

Counting and colour coding ranges of occurances

 
 
=?Utf-8?B?Q29uZnVzZWRpbkNhbGdhcnk=?=
Guest
Posts: n/a
 
      18th Jul 2006
a have a list of employee ID numbers and need to count how many times they
occur withing certain ranges. For example: if one occurs between 5-10 times
I want all occurances highlighted in yellow, if it occurs between 10-15 times
I want all occurances highlighted in blue, and if it occurs more than 15
times I want all occurances highlighted in red. Any suggestions?
 
Reply With Quote
 
 
 
 
Alan
Guest
Posts: n/a
 
      18th Jul 2006
You can use conditional formatting using these formulas for the three
conditions.

=AND(COUNTIF($A$1:$A$30,A1)>5,COUNTIF($A$1:$A$30,A1)<11)
=AND(COUNTIF($A$1:$A$30,A1)>10,COUNTIF($A$1:$A$30,A1)<16)
=COUNTIF($A$1:$A$30,A1)>15

Regards,
Alan.

"ConfusedinCalgary" <(E-Mail Removed)> wrote in
message news:7DA03CA1-B1B1-4B88-A671-(E-Mail Removed)...
>a have a list of employee ID numbers and need to count how many times they
> occur withing certain ranges. For example: if one occurs between 5-10
> times
> I want all occurances highlighted in yellow, if it occurs between 10-15
> times
> I want all occurances highlighted in blue, and if it occurs more than 15
> times I want all occurances highlighted in red. Any suggestions?



 
Reply With Quote
 
=?Utf-8?B?Q29uZnVzZWRpbkNhbGdhcnk=?=
Guest
Posts: n/a
 
      18th Jul 2006
I still can't get it to work. I know it is obviously operator error but
still need some help. My data is in column C which grows longer every day.
Every conditional format I try recognizes the first condition but not the
second and third. For example a number may appear 12 times but it still
codes with the color from 5-10. What am I doing wrong?

"Alan" wrote:

> You can use conditional formatting using these formulas for the three
> conditions.
>
> =AND(COUNTIF($A$1:$A$30,A1)>5,COUNTIF($A$1:$A$30,A1)<11)
> =AND(COUNTIF($A$1:$A$30,A1)>10,COUNTIF($A$1:$A$30,A1)<16)
> =COUNTIF($A$1:$A$30,A1)>15
>
> Regards,
> Alan.
>
> "ConfusedinCalgary" <(E-Mail Removed)> wrote in
> message news:7DA03CA1-B1B1-4B88-A671-(E-Mail Removed)...
> >a have a list of employee ID numbers and need to count how many times they
> > occur withing certain ranges. For example: if one occurs between 5-10
> > times
> > I want all occurances highlighted in yellow, if it occurs between 10-15
> > times
> > I want all occurances highlighted in blue, and if it occurs more than 15
> > times I want all occurances highlighted in red. Any suggestions?

>
>
>

 
Reply With Quote
 
Alan
Guest
Posts: n/a
 
      18th Jul 2006
Try using Conditional Formatting in C1 using 'Formula Is' with these three
formulas in the three conditions, then highlight the whole of column C and
go to Conditional Formatting again, OK
=AND(COUNTIF(C:C,C1)>5,COUNTIF(C:C,C1)<11)
=AND(COUNTIF(C:C,C1)>10,COUNTIF(C:C,C1)<16)
=COUNTIF(C:C,C1)>15
Regards,
Alan.

"ConfusedinCalgary" <(E-Mail Removed)> wrote in
message news:CD8A859E-A4AD-45C2-A919-(E-Mail Removed)...
>I still can't get it to work. I know it is obviously operator error but
> still need some help. My data is in column C which grows longer every
> day.
> Every conditional format I try recognizes the first condition but not the
> second and third. For example a number may appear 12 times but it still
> codes with the color from 5-10. What am I doing wrong?
>
> "Alan" wrote:
>
>> You can use conditional formatting using these formulas for the three
>> conditions.
>>
>> =AND(COUNTIF($A$1:$A$30,A1)>5,COUNTIF($A$1:$A$30,A1)<11)
>> =AND(COUNTIF($A$1:$A$30,A1)>10,COUNTIF($A$1:$A$30,A1)<16)
>> =COUNTIF($A$1:$A$30,A1)>15
>>
>> Regards,
>> Alan.
>>
>> "ConfusedinCalgary" <(E-Mail Removed)> wrote
>> in
>> message news:7DA03CA1-B1B1-4B88-A671-(E-Mail Removed)...
>> >a have a list of employee ID numbers and need to count how many times
>> >they
>> > occur withing certain ranges. For example: if one occurs between 5-10
>> > times
>> > I want all occurances highlighted in yellow, if it occurs between 10-15
>> > times
>> > I want all occurances highlighted in blue, and if it occurs more than
>> > 15
>> > times I want all occurances highlighted in red. Any suggestions?

>>
>>
>>



 
Reply With Quote
 
Alan
Guest
Posts: n/a
 
      19th Jul 2006
The first formula should be:
=AND(COUNTIF(C:C,C1)>4,COUNTIF(C:C,C1)<11)
>4, not >5

REgards,
Alan.
"Alan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Try using Conditional Formatting in C1 using 'Formula Is' with these three
> formulas in the three conditions, then highlight the whole of column C and
> go to Conditional Formatting again, OK
> =AND(COUNTIF(C:C,C1)>5,COUNTIF(C:C,C1)<11)
> =AND(COUNTIF(C:C,C1)>10,COUNTIF(C:C,C1)<16)
> =COUNTIF(C:C,C1)>15
> Regards,
> Alan.
>
> "ConfusedinCalgary" <(E-Mail Removed)> wrote in
> message news:CD8A859E-A4AD-45C2-A919-(E-Mail Removed)...
>>I still can't get it to work. I know it is obviously operator error but
>> still need some help. My data is in column C which grows longer every
>> day.
>> Every conditional format I try recognizes the first condition but not the
>> second and third. For example a number may appear 12 times but it still
>> codes with the color from 5-10. What am I doing wrong?
>>
>> "Alan" wrote:
>>
>>> You can use conditional formatting using these formulas for the three
>>> conditions.
>>>
>>> =AND(COUNTIF($A$1:$A$30,A1)>5,COUNTIF($A$1:$A$30,A1)<11)
>>> =AND(COUNTIF($A$1:$A$30,A1)>10,COUNTIF($A$1:$A$30,A1)<16)
>>> =COUNTIF($A$1:$A$30,A1)>15
>>>
>>> Regards,
>>> Alan.
>>>
>>> "ConfusedinCalgary" <(E-Mail Removed)> wrote
>>> in
>>> message news:7DA03CA1-B1B1-4B88-A671-(E-Mail Removed)...
>>> >a have a list of employee ID numbers and need to count how many times
>>> >they
>>> > occur withing certain ranges. For example: if one occurs between 5-10
>>> > times
>>> > I want all occurances highlighted in yellow, if it occurs between
>>> > 10-15
>>> > times
>>> > I want all occurances highlighted in blue, and if it occurs more than
>>> > 15
>>> > times I want all occurances highlighted in red. Any suggestions?
>>>
>>>
>>>

>
>



 
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
Counting occurances =?Utf-8?B?TGF1cmlT?= Microsoft Excel Misc 8 29th Mar 2007 07:34 PM
RE: counting occurances =?Utf-8?B?Um9uIENvZGVycmU=?= Microsoft Excel Worksheet Functions 2 28th Jun 2006 01:46 AM
RE: counting occurances =?Utf-8?B?TWFyY2Vsbw==?= Microsoft Excel Worksheet Functions 0 26th Jun 2006 08:06 PM
Re: counting occurances Dave Microsoft Excel Worksheet Functions 0 26th Jun 2006 07:55 PM
Text colour in task LIST for colour coding =?Utf-8?B?REVF?= Microsoft Outlook Discussion 3 30th May 2005 11:20 AM


Features
 

Advertising
 

Newsgroups
 


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