+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting vs. duplicate values

  1. #1
    Registered User
    Join Date
    03-22-2022
    Location
    Antwerp, Belgium
    MS-Off Ver
    2019
    Posts
    13

    Conditional formatting vs. duplicate values

    Hi, can you believe this one? Please see attachment.

    Sheet with over 2500 rows. Many duplicates.
    Conditional formatting (for duplicates) on column G. Found xxxx duplicates.
    I decided to remove them with the function "remove duplicate values" on the ribbon.
    Removed several hundreds of rows. But: as you can see in the attachment, several rows will stay.
    Tried over and over, nothing changes. They stay.
    Checked several values with the search function and indeed there are two or more cells with the same value.

    I was wondering why........
    Anyone?

    Thanks.
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Conditional formatting vs. duplicate values

    Difficult to say much based on a picture. Assuming I am looking at the right thing, I see a little green triangle in the corner of the lower set of cells in column G. I would guess that this is a "number stored as text" notification. Since Excel does not consider a number equal to its text representation, I expect that the reason Excel is not seeing them as duplicates is because the number 940121... is not considered the same thing as the text string "00940121...".

    Assuming I've guessed right, the solution will be to choose either number (double) or text (string) data type and make sure all entries are stored as the same data type.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-22-2022
    Location
    Antwerp, Belgium
    MS-Off Ver
    2019
    Posts
    13

    Re: Conditional formatting vs. duplicate values

    Thanks MrShorty but I found out.
    The CF only looks at the cells in column G.
    The Remove Duplicate Values function looks at all columns and there you see that indeed the values in G are the same but not the text in column K (report-xxx).
    Something I have to remember next time.
    Thx for your input.
    Closing.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional Formatting and Duplicate Values
    By bgarner10 in forum Excel General
    Replies: 2
    Last Post: 01-01-2016, 09:18 PM
  2. Sorting on duplicate values (Conditional Formatting)
    By davecut85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2015, 06:01 PM
  3. [SOLVED] Help with Conditional Formatting Duplicate Values
    By alcharbonneau in forum Excel General
    Replies: 6
    Last Post: 02-26-2013, 09:09 PM
  4. Conditional formatting for duplicate values
    By kris26 in forum Excel - New Users/Basics
    Replies: 12
    Last Post: 03-21-2012, 06:51 AM
  5. Ignore Duplicate Values In Conditional Formatting
    By mightyeskimo in forum Excel General
    Replies: 13
    Last Post: 09-18-2010, 01:28 PM
  6. Replies: 1
    Last Post: 08-18-2010, 02:00 PM
  7. Conditional Formatting- Highlight Duplicate Values
    By Christopher_1 in forum Excel General
    Replies: 4
    Last Post: 04-21-2010, 11:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1