+ Reply to Thread
Results 1 to 4 of 4

Stopping Duplicate Conditional Formatting

  1. #1
    Registered User
    Join Date
    03-18-2020
    Location
    Dallas, USA
    MS-Off Ver
    2020
    Posts
    38

    Stopping Duplicate Conditional Formatting

    Hi Team!

    I have a standard highlight duplicates conditional formatting on Column B. However, I also have another conditional formatting formula for Column B which references to Column E.

    For example,
    B:

    C148
    C148

    These would be highlighted.

    The secondary formula stops the highlighting if Column E meets a certain criteria (If the cells contains Non-Escalation).
    However, if the other cell that is a duplicate is linked to the cell in Column E contains 'Escalation', it would stay highlighted as it still meets the duplicate formatting criteria.

    I don't need it to be highlighted as it would no longer count towards being a duplicate due to it being a non-escalation.
    Is there a formula to help with this?

    PLEASE see attached what I mean if I don't make sense.
    Attached Files Attached Files
    Last edited by TSACov; 08-25-2020 at 05:12 PM.
    Thanks!
    - TSACov

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    Re: Stopping Duplicate Conditional Formatting

    Change the non-escalation rule to
    =COUNTIFS(B:B,B1,E:E,"Non-Escalation")>0

    Although with conditional formatting it's best not to use entire columns.

  3. #3
    Registered User
    Join Date
    03-18-2020
    Location
    Dallas, USA
    MS-Off Ver
    2020
    Posts
    38

    Re: Stopping Duplicate Conditional Formatting

    Solved in one! Thank you so much!

    The only reason I am applying the conditional formatting to entire columns is because the same rules apply for every cell in that column Unless it still should be a cell by cell basis? But that would mean I would have hundreds of conditional formatting rules!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    Re: Stopping Duplicate Conditional Formatting

    You don't need to do it on a cell by cell basis, you can select (for instance) B2:B60 and then use
    =COUNTIFS(B$2:B$60,B2,E$2:E$60,"Non-Escalation")>0

+ 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. [SOLVED] Conditional formatting stopping mid workbook
    By Grimace in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-17-2017, 08:35 PM
  2. Stopping duplicate entries
    By superchew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2014, 12:31 PM
  3. [SOLVED] Conditional formatting of duplicate rows (not duplicate cells)
    By ExcelStefan in forum Excel General
    Replies: 2
    Last Post: 06-19-2012, 06:09 AM
  4. Replies: 2
    Last Post: 08-12-2010, 06:24 AM
  5. duplicate conditional formatting
    By detlion1643 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2009, 01:11 PM
  6. Stopping Duplicate data entry
    By barry_jordan in forum Excel General
    Replies: 3
    Last Post: 11-30-2006, 04:03 AM
  7. How can I duplicate conditional formatting
    By Jeff in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2006, 04:35 PM

Tags for this Thread

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