+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Duplicates based on Reference Cell

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    Cleveland, OH
    MS-Off Ver
    MS Office 2010
    Posts
    10

    Conditional Formatting Duplicates based on Reference Cell

    Hello,

    I am looking to write a formula that will automatically highlight a cell (Column E) that contains a SKU but only if that SKU is associated with the same STORE Number (Column B). To identify this, I created a Concatenate of Store and SKU that I call SSKU (Column J). I thought I was able to solve this issue with a CountIF formula, however, I am getting some SKUs that are being highlighted that shouldn't be and then some SKUs are NOT getting highlighted that should be. I highlighted these issues in column K. Does anyone have any suggested formula edits or new formulas? I'm not opposed to adding a new helper column but would prefer not to.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Conditional Formatting Duplicates based on Reference Cell

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    Cleveland, OH
    MS-Off Ver
    MS Office 2010
    Posts
    10

    Re: Conditional Formatting Duplicates based on Reference Cell

    That kind of works but in this case it will only highlight the first instance (Oldest) of the duplicate but I would need to highlight the last (newest) instance or both instances.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Conditional Formatting Duplicates based on Reference Cell

    You're original formula would work, just need to make one adjustment.
    Formula reads: =COUNTIFS(H:H,H3)>1
    Formula should read: =COUNTIFS(H:H,H2)>1
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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 for (Duplicates + Color based Values)
    By mimranflmsa in forum Excel General
    Replies: 4
    Last Post: 05-10-2019, 03:50 PM
  2. Replies: 2
    Last Post: 12-05-2016, 10:59 AM
  3. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  4. [SOLVED] Conditional Formatting multiple column based on reference cell???
    By inincubus in forum Excel General
    Replies: 2
    Last Post: 01-23-2014, 04:04 PM
  5. Replies: 3
    Last Post: 05-31-2013, 08:03 AM
  6. Automating conditional formatting based on > or < cell reference
    By monalisasmiler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2012, 10:00 AM
  7. [SOLVED] Automating conditional formatting based on > or < cell reference
    By kmurphy372 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-12-2012, 03:03 PM

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