+ Reply to Thread
Results 1 to 13 of 13

Highlight duplicate based on condition

  1. #1
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Highlight duplicate based on condition

    Dear Expert,
    In my worksheet there are so many row. i want, when i click any cell any row then that row and other duplicate all row will automatically highlighted with yellow color. here duplicate row will declare if column I,Q & R are same data otherwise not duplicate. if active row column I,Q R data is same of any other row same column then active row and that row will duplicate, it can duplicate 1/2/3 or more row also.

    All duplicate row will highlight with yellow color and same row not matching data will highlighted with red color.

    Example:
    In my attached file sheet2 row 2 & 3 is duplicate because here I,Q & R column data is same, that's why both row is highlighted with yellow color. And column D,G,H,O,U,X,Z cell is highlighted with red color because these cell data is not matching with duplicate row.

    Attached file for your ref.

    Please help me in this regard.

    Thanks
    Wahid
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Highlight duplicate based on condition

    Hey, what happened to your previous thread???
    https://www.excelforum.com/excel-pro...ml#post5305759

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Highlight duplicate based on condition

    ..........Error in Code...........
    Last edited by sintek; 04-03-2020 at 04:46 AM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Re: Highlight duplicate based on condition

    Hi Jindon,
    Your last code is working smoothly & problem is solved now. Thanks a lot.

  5. #5
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Re: Highlight duplicate based on condition

    Quote Originally Posted by jindon View Post
    Hey, what happened to your previous thread???
    https://www.excelforum.com/excel-pro...ml#post5305759
    Hi Jindon,
    Your last code is working smoothly & problem is solved now. Thanks a lot.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Highlight duplicate based on condition

    Quote Originally Posted by rachelwahid View Post
    Your last code is working smoothly & problem is solved now. Thanks a lot.
    noted thanks for the feedback.

  7. #7
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Highlight duplicate based on condition

    @ jindon...Very rude you are...please don't send me personal insulting messages...

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Highlight duplicate based on condition

    OOps,, sorry for that and thanks for the cooperation.

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239
    Quote Originally Posted by jindon View Post
    OOps,, sorry for that and thanks for the cooperation.
    I forgive you... Not as seasoned as you...Still learning every day...

  10. #10
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Re: Highlight duplicate based on condition

    Dear Expert,
    Please help me in regarding this thread problem.

  11. #11
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Highlight duplicate based on condition

    I thought sintec had a solution...
    Anyway try this
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    07-27-2017
    Location
    Dhaka
    MS-Off Ver
    MS Excel 2019/ 64 bit
    Posts
    159

    Re: Highlight duplicate based on condition

    Dear Jindon,
    Your code is working properly. Thanks for you great support.

  13. #13
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Highlight duplicate based on condition

    You are welcome and thanks for the feedback.

+ 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. Highlight visible items of ListBox based on a condition
    By JCabral in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-22-2019, 07:54 AM
  2. Highlight Specific Cell based with condition
    By rachelwahid in forum Excel General
    Replies: 5
    Last Post: 01-22-2019, 12:53 PM
  3. [SOLVED] How to highlight or filter values in a table based on another condition
    By stevemalekano in forum Excel General
    Replies: 3
    Last Post: 05-31-2018, 04:39 AM
  4. Highlight duplicate based on a different columns contents
    By spidervarient in forum Excel General
    Replies: 6
    Last Post: 05-08-2017, 03:49 PM
  5. [SOLVED] VBA to highlight row based on duplicate cell from another sheet
    By Axis in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-08-2016, 08:33 AM
  6. How to highlight duplicate values after certain condition is met
    By mstjohn1974 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-14-2013, 08:57 AM
  7. Highlight the cell based on the specific condition
    By shaan65 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-25-2010, 02:07 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