Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

conditional formatting for not duplicate rows.

 
   Home -> Office -> New Users RSS
Next:  New Users: insert image to the cells  
Author Message
kang

External


Since: May 31, 2007
Posts: 38



(Msg. 1) Posted: Thu Aug 09, 2007 2:15 am
Post subject: conditional formatting for not duplicate rows.
Archived from groups: microsoft>public>excel>newusers (more info?)

I have A, B columns,
and I want to do conditional-formatting for rows whose A is the same and
B is not the same.
I mean
X 1
Y 2
Z 3
Z 3
Y 1
X 2
because for all rows B column for X have different (1,2), so i want to
highlight them.
on the other hand,
for Z's B column have the same values(3) so I want them to be intact.

Am I clear?
Back to top
Login to vote
Max

External


Since: Sep 08, 2003
Posts: 3297



(Msg. 2) Posted: Thu Aug 09, 2007 2:15 am
Post subject: Re: conditional formatting for not duplicate rows. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

One way

Assume data within A1:B100

Select A1:B100 (with A1 active), then apply CF using Formula Is:
=SUMPRODUCT(($A$1:$A$100=$A1)*($B$1:$B$100=$B1))<2
Format to taste, ok out.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kang" <kang.RemoveThis@hao.com> wrote in message
news:O5k87Ii2HHA.728@TK2MSFTNGP05.phx.gbl...
>I have A, B columns,
> and I want to do conditional-formatting for rows whose A is the same and
> B is not the same.
> I mean
> X 1
> Y 2
> Z 3
> Z 3
> Y 1
> X 2
> because for all rows B column for X have different (1,2), so i want to
> highlight them.
> on the other hand,
> for Z's B column have the same values(3) so I want them to be intact.
>
> Am I clear?
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> New Users All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]