+ Reply to Thread
Results 1 to 11 of 11

Highlight values that are repeated more than twice

  1. #1
    Registered User
    Join Date
    04-07-2013
    Location
    Isfahan, Iran
    MS-Off Ver
    Excel 2010
    Posts
    5

    Highlight values that are repeated more than twice

    Dear Friends
    I have a long list of data, now I want to highlight all the values that are repeated for 3 times or more.
    Now I now of the formula Countif(A:A, a1)>2 but this only highlight values equal to a1.
    like the duplicate option I want to highlight all the repeated data but instead of being repeated twice it should be repeated 3 time or more.

    Thanx to all!

  2. #2
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Highlight values that are repeated more than twice

    Hi,

    for eg. if values are in range =$A$1:$A$12 , then

    select range $A$1:$A$12 >>go to home>conditional formatting > new rule > use formula -

    then type the below formula in the formula bar

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


    select the format as desired
    If this helped and you wish to say thanks, then Please click on the Star* icon below this post.

  3. #3
    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,936

    Re: Highlight values that are repeated more than twice

    Bhuvi, nice solution

    2 observations....
    1. you need to put the > before the =
    2. because CF works only on TRUE/FALSE, you dont need the IF() function, just use =COUNTIF($A$1:$A$12,$A1)>=3
    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

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Highlight values that are repeated more than twice

    Actually your formula should work fine.

    You just need to apply Conditional formatting to the entire range.



    A
    B
    1
    29
    FALSE
    2
    25
    TRUE
    3
    13
    TRUE
    4
    25
    TRUE
    5
    15
    FALSE
    6
    25
    TRUE
    7
    16
    FALSE
    8
    13
    TRUE
    9
    13
    TRUE
    10
    17
    FALSE
    11
    17
    FALSE
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    04-07-2013
    Location
    Isfahan, Iran
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Highlight values that are repeated more than twice

    Thanks guys problem solved.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Highlight values that are repeated more than twice

    You're welcome and thank you for the feedback

  7. #7
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Highlight values that are repeated more than twice

    Quote Originally Posted by FDibbins View Post
    Bhuvi, nice solution

    2 observations....
    1. you need to put the > before the =
    2. because CF works only on TRUE/FALSE, you dont need the IF() function, just use =COUNTIF($A$1:$A$12,$A1)>=3
    Thanks for the information

  8. #8
    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,936

    Re: Highlight values that are repeated more than twice

    Happy to help

  9. #9
    Registered User
    Join Date
    08-20-2016
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Highlight values that are repeated more than twice

    Tried this but it does not highlight the correct cells...highlighted some random blank cells in the range.

  10. #10
    Registered User
    Join Date
    08-20-2016
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Highlight values that are repeated more than twice

    Quote Originally Posted by FDibbins View Post
    Bhuvi, nice solution

    2 observations....
    1. you need to put the > before the =
    2. because CF works only on TRUE/FALSE, you dont need the IF() function, just use =COUNTIF($A$1:$A$12,$A1)>=3


    Tried this but it does not highlight the correct cells...highlighted some random blank cells in the range.

  11. #11
    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,936

    Re: Highlight values that are repeated more than twice

    psks welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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] Macro To Highlight Repeated Data On Worksheet
    By SilverFox in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-20-2012, 04:58 AM
  2. how to highlight repeated information
    By TheMightyFederer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-04-2012, 10:43 AM
  3. 2003 - Highlight only repeated cells
    By samboytor in forum Excel General
    Replies: 1
    Last Post: 06-21-2011, 12:13 PM
  4. [SOLVED] Append data to repeated values with a fixed array to be repeated on value change
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-06-2011, 12:30 AM
  5. Highlight repeated numbers
    By Alicia0096 in forum Excel General
    Replies: 2
    Last Post: 08-03-2010, 09:57 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