Condition Formats for duplicates with additional criteria

B

Blue Max

On numerous occasions we have used the preset conditional format for
highlighting duplicate or unique values. However, we now have come across
the need to highlight duplicate or unique values only if those values meet
certain other criteria also. Such a task will lwill likely require a
formula, but we are not sure how the Excel so effectively compares values in
a large range to identify duplicate or unique values . If we knew how Excel
was so efficiently performing these comparisons, we might could incorporate
the functions for finding duplicate or unique values and then add additional
tests in the same formula.

Any ideas on how Excel can so quickly compare all the values in a large
range to see if any of them are duplicates or uniques? Is there a function
that can simulate that operation, yet also be combined with other functions
in a larger formula?

We would also like to, as an option, be able to find duplicate or unique
values without regard to capitalization or for perhaps even for partial
matches. Is this possible?

Thank you for any help.
 
S

Shane Devenshire

Hi,

Your first question - we can't see the code Microsoft uses so we can't tell
you how they actually do it.

Your second question - yes.
 
S

Shane Devenshire

Hi,

Here is a case sensitive conditional format

In 2007:
1. Highlight all the cells on the rows you want formatted, here assumed to
be C1:C9.
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=SUMPRODUCT(--EXACT(C$1:C$9,C1))>1
5. Click the Format button and choose a format.
6. Click OK twice
 
B

Blue Max

Thanks, Shane, a very good suggestion. Furthermore, I suspect we could make
this a case 'In-Sensitive' argument simply by forcing the text in the arrays
to UPPERCASE(), correct?

Thanks,
Richard

***************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top