+ Reply to Thread
Results 1 to 19 of 19

Find Duplicate - Highlight Cells

  1. #1
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Find Duplicate - Highlight Cells

    hi All,

    I am trying to find the excel formula that highlight cells that contain duplicate number immediate following cell, for example:

    1. 28
    2. 26
    3. 16
    4. 29
    5. 29
    6. 16
    7. 50
    8. 28
    9. 46
    10.32

    So row 4 and 5 should highlighted because it contained two same number 29. BUT rows 3 and 6 will not highlight because it does not immediate in the following row.

    Thanks

  2. #2
    Registered User
    Join Date
    05-12-2012
    Location
    England
    MS-Off Ver
    MS Office 2007 Pro Plus
    Posts
    16

    Re: Find Duplicate - Highlight Cells

    On conditional formatting, you should be able to use:

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

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    See conditional format

    Excel 2007 => start => conditional format
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    Quote Originally Posted by GazB View Post
    On conditional formatting, you should be able to use:

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

    that formula doesn't work the way I wanted. I want only cells that contain same number, but must also found from immediate cells, e.g. #29 from found in row 4 and row 5.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    Untested, try this one.

    Please Login or Register  to view this content.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Find Duplicate - Highlight Cells

    CF has an option to highlight duplicate cells, try using that
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    Quote Originally Posted by oeldere View Post
    Untested, try this one.

    Please Login or Register  to view this content.
    sorry, but that formula doesn't highlighted the cells that contain same number, can you please try again

    also, the cells that contain same number MUST follow immediate below each other.

    thanks

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    @FDibbins

    OP writes

    Please Login or Register  to view this content.
    so this wil not be the solution

    Your options will highlight all duplicated values.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    Please Login or Register  to view this content.
    As i wrote, i didn't tested it.

    It's your file so you can test it.

    I tested it (now) in a dummy file, and it works.

    So my advice is try again.

  10. #10
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    I attached my excel file, can you try again.

    thanks
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    See the attached file for the CF.

  12. #12
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    can you test on my attached excel file, sorry for bothering you,

    thanks in advance
    Attached Files Attached Files
    Last edited by da80th; 01-15-2013 at 06:14 PM.

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    Thanks for the reply.

    Glad i could help.

    If the question is solved, will you mark it as solved?

  14. #14
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    Quote Originally Posted by oeldere View Post
    Thanks for the reply.

    Glad i could help.

    If the question is solved, will you mark it as solved?

    I am still having problem, I can't seem to applied the formula to the entire sheet. can you try again

    thanks

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    I don't see a file in your last post.

    Did you copy - format past (with the brush).

    That should do the job for you.

  16. #16
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    Quote Originally Posted by da80th View Post
    can you test on my attached excel file, sorry for bothering you,

    thanks in advance
    thanks again
    Attached Files Attached Files

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    As I said, you can do that using the brush.

    See the attached file.

  18. #18
    Registered User
    Join Date
    12-26-2006
    Posts
    19

    Re: Find Duplicate - Highlight Cells

    Thank you very much

  19. #19
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find Duplicate - Highlight Cells

    Thanks for the reply.

    Glad i could help.

    If the question is solved, will you mark it as solved?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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