×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Highlight (any) first text word that is a duplicate

Highlight (any) first text word that is a duplicate

Highlight (any) first text word that is a duplicate

(OP)
I want to highlight all duplicates based on the first text of each cell in a column. There are many but this based on any duplicate first text word in the column not just a specific text.
E$5:E$132

RE: Highlight (any) first text word that is a duplicate

Please provide this information:

1. This is what I have - example of your data.
2. This is what I want - how your data should be highlighted.

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: Highlight (any) first text word that is a duplicate

Hi,

I had to add a helper column in column F


E       F
Mary	3
Skip	2
Mary	2
Skip	1
Mary	1
...
 
Column F has this formula...

F5: =SUMPRODUCT(--(E5:E$9999=E5))

Using Conditional Formatting...
1. SELECT Column E
2. Open the CF Editor
3. Add a new rule using a formula to determine which cells to format
4. Use this formula...
=AND(SUMPRODUCT(--($E:$E=E1))=F1,F1>1)
5. Select your Format
6. Apply the Conditional Formatting rule

The reason I used e5:E$9999=E5 and $E:$E=E1 is in the event that your list of duplicates expands.

https://res.cloudinary.com/engineering-com/raw/upload/v1706809896/tips/tt-cf_first_duplicate_t1bg7z.xlsx

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

You Matter...
unless you multiply yourself by the speed of light squared, then...
You Energy!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close