Microsoft Office Forums


Reply
Thread Tools Display Modes

Highlight duplicates/groups different colors

 
 
whatever
Guest
Posts: n/a
 
      07-28-2010, 02:21 AM
Hi i want to show , different color for each group i have 2003 excel
can i use conditional formatting?


123 green
123 green
456 red
456 red
888 green
999 red
999 red
 
Reply With Quote
 
 
 
 
Ms-Exl-Learner
Guest
Posts: n/a
 
      07-28-2010, 04:45 AM
I assume that your data is in Column-A. Place the cursor in A1 cell
and press Cntrl+Spacebar. Now the total column-A will be getting
selected and the A1 will be the Active cell (Active Cell will have a
white Background after selection).

Format>>Conditional Formatting>>Condition 1>>Formula Is>>
=COUNTIF(A:A,A1)=1
Then Click the Format command button and choose your desired Font and
Pattern colour.
This will highlight the Non Duplicate Values.

Press Add Command button to add another Condition
Condition 2>>Formula Is>>
=COUNTIF(A:A,A1)>1
Then Click the Format command button and choose your desired Font and
Pattern colour.
This will highlight the Duplicate Values.

Click Ok…

Hope it’s clear to you.

-----------------------
Ms-Exl-Learner
-----------------------


On Jul 28, 7:21*am, whatever <burningthemidnite...@gmail.com> wrote:
> Hi i want to show , different color for each group i have 2003 excel
> can i use conditional formatting?
>
> 123 green
> 123 green
> 456 red
> 456 red
> 888 green
> 999 red
> 999 red


 
Reply With Quote
 
whatever
Guest
Posts: n/a
 
      07-28-2010, 06:01 AM
Hi thanks your solution ..i am aware of..it is not what i asked..
your solution ...does this

> > 123 green
> > 123 green
> > 456 green
> > 456 green


this is what i want i challenge anyone to do this in a conditional
format formula..? any gurus out there..?

> > 123 green
> > 123 green
> > 456 red
> > 456 red
> > 888 green
> > 999 red
> > 999 red- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
Hans Terkelsen
Guest
Posts: n/a
 
      07-28-2010, 08:46 AM

"whatever" <(E-Mail Removed)> wrote in message
news:18def726-8ca1-4d8c-afa5-(E-Mail Removed)...
> Hi i want to show , different color for each group i have 2003 excel
> can i use conditional formatting?
>
>
> 123 green
> 123 green
> 456 red
> 456 red
> 888 green
> 999 red
> 999 red


Hello.

Try this:
A1 green, but conditionally red using the formula
=MOD(SUM(--(A1:A10<>A2:A11)),2)

The color sequence will start from the bottom,
but maybe you can tweak the formula so that it starts from the top, if desired.
I could not.

Hans T.

 
Reply With Quote
 
Hans Terkelsen
Guest
Posts: n/a
 
      07-28-2010, 08:53 AM

"Hans Terkelsen" <dk> wrote in message news:4c4fee71$0$276$(E-Mail Removed)...
>
> "whatever" <(E-Mail Removed)> wrote in message
> news:18def726-8ca1-4d8c-afa5-(E-Mail Removed)...
>> Hi i want to show , different color for each group i have 2003 excel
>> can i use conditional formatting?
>>
>>
>> 123 green
>> 123 green
>> 456 red
>> 456 red
>> 888 green
>> 999 red
>> 999 red

>
> Hello.
>
> Try this:
> A1 green, but conditionally red using the formula
> =MOD(SUM(--(A1:A10<>A2:A11)),2)
>
> The color sequence will start from the bottom,
> but maybe you can tweak the formula so that it starts from the top, if desired.
> I could not.
>
> Hans T.
>


Hi again, forgot to mention that the format should be copied down,
using the format painter. Hans T.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Chart colors change when opening 2003 in 2007 LiquidAmber PowerPoint Newsgroup 1 05-17-2010 09:38 PM
Setting Windows Theme Colors PeterM Access Newsgroup 1 04-12-2010 12:56 PM
More color with "Font Color" and "HighLight" area Kinasti Onenote Newsgroup 9 04-03-2010 02:47 PM
Default colors for charts different than excel, how to change ricky PowerPoint Newsgroup 2 03-25-2010 09:42 AM
Organize using colors in the Inbox TK Outlook Newsgroup 3 03-08-2010 08:30 PM



All times are GMT. The time now is 05:06 PM.
Microsoft Office Forums is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92