Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / November 2006

Tip: Looking for answers? Try searching our database.

If any cell in group matches any cell in another group

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mjones - 29 Nov 2006 20:11 GMT
Hi All,

I have a range C6 to AK6 where some have x's in them.  There are five
groups of x's.  R6 to T6 is the smallest group.

I'd like S6 in the group to turn colour if, any cell in C6 to AK6
matches it (has an x), except the cells in it's group (R6 to T6).

Does anyone know how to do this first part?

Then the hard one is the non-contiguous group.  It's C6 to E6, plus R6,
U6, and AA6.  Yes, this group has four cells which are in other groups,
too.

Does anyone know how to do this part 2?

I thought conditional formating would work, but I'm not very clear on
how the formula part works.

XP and Excel 2003, but has to work on 2002, too.  I hope that's enough
info.

Thanks,

Michele
mjones - 29 Nov 2006 20:16 GMT
Actually, that's a bad title, sorry.  It's confusing to say 'any' cell
in group and should say 'a' cell.

> Hi All,
>
[quoted text clipped - 21 lines]
>
> Michele
PCLIVE - 29 Nov 2006 22:51 GMT
In conditional formatting, select formula is.  Then use this formula.
=IF(COUNTIF(C6:Q6,K7)+COUNTIF(U6:AK6,K7)>0,TRUE)
That should accomplish your first part.

I'm not sure what you want to do in the second part.  Are you still checking
for an "x" in these cells too?  It's unclear because C6 is part of your
first part...but R6 was stated to be an exception.

HTH,
Paul

> Hi All,
>
[quoted text clipped - 21 lines]
>
> Michele
mjones - 30 Nov 2006 04:33 GMT
Got it!  Thanks, Paul.

I made A1 an x to look for.  So my formula for part a is:

=IF(COUNTIF($C6:$T6,$A$1)+COUNTIF($AA6:$AK6,$A$1)>0,TRUE)

Yes, part 2 also looks for x's.  The first row would looke for x's in
F6 to Q6, plus S6 an T6, plus V6 to Z6, plus AB to AK.  It would be
great if you knew this one, too.

Thanks,

Michele

-----------------

> In conditional formatting, select formula is.  Then use this formula.
> =IF(COUNTIF(C6:Q6,K7)+COUNTIF(U6:AK6,K7)>0,TRUE)
[quoted text clipped - 32 lines]
> >
> > Michele
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.