+ Reply to Thread
Results 1 to 10 of 10

Check list for duplicates and display message

  1. #1
    Registered User
    Join Date
    08-30-2008
    Location
    USA
    Posts
    12

    Question Check list for duplicates and display message

    Hello,

    This may be a simple question, but I only know the basics of Excel.

    I have been given the assignment of creating a spreadsheet that needs to "flag" or give me some sort of prompt when the same name is being added.
    For example I have 300 user names on a spreadsheet and if I were to type a name that is already on the list< I would like for Excel to prompt me or flag that name and notify that the name is already in the list. Is this possible?
    If so could someone please step me thru this process.

    Thanks Alot
    Last edited by shg; 08-30-2008 at 06:36 PM. Reason: Change title from "Need Help with a Excel Project

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    use conditional formatting a good explanation is given here

    http://www.cpearson.com/excel/Duplicates.aspx
    scroll down to
    "Highlighting Duplicate Entries"

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Vote4pedro,

    Welcome to the Forum!

    Your title is important. It will help others to answer your question quickly and enable others seeking answers to the same or similar problems.

    Please change your title to accurately reflect your question. In this case, something like "Check list for duplicates and display message". The forum rules will explain how to change your title.

    Sincerely,
    Leith Ross

  4. #4
    Registered User
    Join Date
    08-30-2008
    Location
    USA
    Posts
    12

    Check list for duplicates and display message

    Hello,

    Thanks martindwilson for your reply and information, I do greatly appreciate it.


    Leith Ross, sorry for the wrong title of thread, it has been more than 2 hours and the directions say to get an moderator to correct this. Thanks again


    * To change a Title on your post, Click EDIT then GO Advanced and Change your title, if 2 hours have passed ask a moderator to do it for you...

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi,
    which thread title do you want to use?

  6. #6
    Registered User
    Join Date
    08-30-2008
    Location
    USA
    Posts
    12
    "Check list for duplicates and display message" will be fine

    thanks alot

  7. #7
    Registered User
    Join Date
    08-30-2008
    Location
    USA
    Posts
    12
    I know that I'm doing something wrong, but I cant get the code to work.

    I only know the basics, how would I insert this code if I wanted it to highlight usernames when one is typed as a duplicate?

    Example: Lastname, First
    and if I was to put the use in again on say cell J100 then I would receive a notification of this duplicate.

    Sorry for bugging you guys, this is new territory for me.

    Thanks

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    select cells in column J down to where your list is likely to end
    say J1 to J300
    from toolbar select
    format
    then select
    conditional formating
    a new menu window will appear
    from the drop down menu on left change from
    cell value is
    to
    formula is
    enter this formula in box to the right
    =COUNTIF($J$1:$J$300,J1)>1
    click the format button
    click the patterns tab
    choose a colour
    click ok
    click ok again
    now any duplicate value typed in j1:j300 will change to that colour
    please note duplicate means just that
    wilson,martin is not a duplicate of wilson , martin
    as spaces are looked at as well.

  9. #9
    Registered User
    Join Date
    08-30-2008
    Location
    USA
    Posts
    12
    Thanks, martindwilson

    I got that to work, perfect

    One more question....

    Say I have 3 sheets within a spreadsheet and i would like the data I enter in sheet 1 to flag duplicates that may be entered already into sheet 2

    Thanks again

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    er um don't know that!!!!

+ 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. Read Line or Arrow ( shapes ) from excel
    By tlgkumar in forum Excel General
    Replies: 1
    Last Post: 10-16-2007, 04:26 AM
  2. processing a string by Excel
    By mark_neil2 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-20-2007, 07:35 AM
  3. Excel project report
    By LondonCityGuy in forum Excel General
    Replies: 1
    Last Post: 06-08-2007, 04:47 AM
  4. Going insane!
    By kik in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 01-31-2007, 08:21 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