+ Reply to Thread
Results 1 to 10 of 10

How to highlight a row as duplicate as soon i enter duplicate value

  1. #1
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    MS 16
    Posts
    7

    How to highlight a row as duplicate as soon i enter duplicate value

    Let's Say i need to copy a 5 digit number based on the value i see in external url. I copy that value in excel. There might be chances that i get the same 5 digit number in another different url. Now if i enter this in next blank row, it should highlight as a duplicate. Reason that 5digit number has a hyperlink in the url which i need to open and copy the email id in excel right next to the 5 digit number. If i enter a duplicate 5 digit number, that row should get highlighted with red or something so that i do not need enter the email again in next column instead i leave it blank and fill it together later by selecting blank and using few other functions which i'm aware of. how can i achieve this. Conditional format can used only after i copy all the values. I want this to be proactive so that i dont need to copy email every time for a same 5 digit number. Sorry for my english, i tried my best to explain the situation.

    Let me try in another way. I have 5 unique numbers from A1-A5. Let's say i enter the value present in A2 to A6. Now A6 should get highlighted with color or something to show that it is duplicate.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    I don't fully follow the long explanation, but this fits the shorter one:

    =ISNUMBER(MATCH(A6,$A$1:$A$5,0))

    used a conditional formatting (here applied A6 to A20).
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    I don't understand why you said you can't use conditional formatting. You can do conditional formatting for cells you haven't used yet.
    Attached Images Attached Images
    Attached Files Attached Files
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  4. #4
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    MS 16
    Posts
    7

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    Quote Originally Posted by dosydos View Post
    I don't understand why you said you can't use conditional formatting. You can do conditional formatting for cells you haven't used yet.
    Thanks this worked for me. You saved my day.

  5. #5
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    Or, select A column then go to Conditional formatting menu, select highlight cell rules and Duplicate
    2022-12-08.jpg
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  6. #6
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    MS 16
    Posts
    7

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    This worked for single digits. I tried for huge numbers, it did not work.
    501240154
    503996338
    504180679
    505315345
    505370382
    these are 5 examples. i couldn't replicate your formula. it was not highlighting. Can you check once?

  7. #7
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    MS 16
    Posts
    7

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    Sorry for the spam. I now realized that this highlight will work only of i paste as a value.

  8. #8
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    it works with pretty much all paste methods excluding Paste (CTRL+V).
    These methods below will all work and keep the conditional formatting.
    1. paste as values
    2. paste as Link
    3. paste as formula

  9. #9
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    MS 16
    Posts
    7

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    I tried to copy paste the value present in another excel. it didn't work. it worked only after i pasted it as value.

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: How to highlight a row as duplicate as soon i enter duplicate value

    Data validation is better. It will not allow any duplicate entry.
    Select A1:A100(say).
    Data->>Data validation->>Custom

    Formula for Data validation.

    =COUNTIF($A$1:$A12,$A12)=1
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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 duplicate values
    By Liju144 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2020, 03:11 AM
  2. Highlight or display duplicate rows not duplicate values
    By olga6542 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2019, 03:24 PM
  3. Need help - Highlight Duplicate value
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2016, 10:22 AM
  4. Highlight Duplicate Values
    By voniom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-18-2015, 08:48 AM
  5. Highlight duplicate value
    By tariqnaz2005 in forum Excel General
    Replies: 3
    Last Post: 11-26-2013, 09:41 AM
  6. Replies: 4
    Last Post: 09-18-2012, 09:06 AM
  7. Highlight email if duplicate
    By Bob@Sun in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 01-04-2010, 06:54 AM

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