+ Reply to Thread
Results 1 to 8 of 8

Macro to highlight duplicate fields [in Blue]

  1. #1
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Wink Macro to highlight duplicate fields [in Blue]

    Good day all,
    I would like to know how I can have a macro run on an excel sheet of mine.

    I have a little database with a few names and email addresses submitted to me via web.

    But some people tried to register to my services TWICE with a different name, but same email address (not smart eh)

    I would like to run a macro on a column and have it search for duplicate values and highlight them in... blue perhaps.?

    P.s. the column format is set to 'TEXT'

    Your help is much appreciated.
    Last edited by anonymust; 02-28-2013 at 08:41 AM. Reason: state call format as TEXT
    * * * * * * *
    How beautiful it is to excel, and the goodness of giving from your heart. || Always strive to excel, but only on weekends. - Richard Rorty & Robert Mondavi

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Macro to highlight duplicate fields [in Blue]

    You'll find 3 methods here.

    http://www.brighthub.com/computing/w...les/42515.aspx
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Macro to highlight duplicate fields [in Blue]

    Hi.

    Post a sample data file.
    Click *, if my suggestion helps you. Have a good day!!

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Macro to highlight duplicate fields [in Blue]

    check thea attached file i think this will be useful to you....

    conditional formatting is used by me....

    if this was helpful to you then dont forget to hit * button for user reputation...

    Regards
    CA Mahaveer Somani
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Re: Macro to highlight duplicate fields [in Blue]

    Quote Originally Posted by mahaveersomani View Post
    check thea attached file i think this will be useful to you....

    conditional formatting is used by me....

    if this was helpful to you then dont forget to hit * button for user reputation...

    Regards
    CA Mahaveer Somani

    Thats a good sample Mahaveer,

    but how Id prefer to highlight the cell (background color) so it can stand out more to me. because some time the "TEXT" field see's an email as a hyperlink and turns it into a clickable link. (which I hate having to remove all hyperlinks)

  6. #6
    Registered User
    Join Date
    01-24-2011
    Location
    In a House on earth
    MS-Off Ver
    Excel 2013 MAC
    Posts
    29

    Re: Macro to highlight duplicate fields [in Blue]

    Quote Originally Posted by mahaveersomani View Post
    check thea attached file i think this will be useful to you....

    conditional formatting is used by me....

    if this was helpful to you then dont forget to hit * button for user reputation...

    Regards
    CA Mahaveer Somani

    Thats a good sample Mahaveer,

    but how Id prefer to highlight the cell (background color) so it can stand out more to me. because some time the "TEXT" field see's an email as a hyperlink and turns it into a clickable link. (which I hate having to remove all hyperlinks)

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro to highlight duplicate fields [in Blue]

    I think conditional foramatting with duplicate will do the job. CF-Duplicate -highlight the column -choose the colour

  8. #8
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Macro to highlight duplicate fields [in Blue]

    check the attached file now....and tell me is it cool to you....


    If this was helpful for you then dont forget to hit * button for user reputation...


    Regard
    CA Mahaveer Somani
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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