+ Reply to Thread
Results 1 to 3 of 3

check an entered value in a cell in real time, and if the value already exists

  1. #1
    Registered User
    Join Date
    12-01-2006
    Posts
    31

    check an entered value in a cell in real time, and if the value already exists

    Hi all,

    I have a workbook with multiple worksheets that hold customer data. Each list is rather large, so i need a way to control data entry with a view to avoiding data duplication.

    Is there a way (perhaps via VB scripting) that I can have Excel check an entered value in a cell in real time, and if the value already exists elsewhere in the workbook, a message is displayed?

    Million thanks for any feedback.

    de049

  2. #2
    Forum Contributor
    Join Date
    07-23-2006
    Posts
    185
    Hi,

    I am a novice here and although I cannot answer your question with an example, I know that what you are asking can be done.

    One thing your going to have to do so these GuRu's here can knock this out is provide them with more detailed information and any attempts you have made to solve the issue.

    If you have a list of values somewhere else in the Workbook, like in a range or a range name, etc. that would help.

    How are you entering data into the Worksheet? Are you just typing it into a empty cell or is the cell controlled by a macro or a function?

    A macro would solve this issue in a For Each loop.

    You may also be able to record your own macro using Excel "Find".

    Anyway, I've spent enough time replying here for one of these guys to have already figured this all out provided that they had more detailed information.

  3. #3
    Registered User
    Join Date
    12-01-2006
    Posts
    31

    How to avoid users entering duplicated data

    Further details on my case:

    The main data that we cannot have duplicated is that in column A (customer phone number).

    Data is entered manually into each cell.

    As the list is so great now, i'm concerned people are copying and pasting entries as opposed to cutting and pasting these when they require to be moved to another worksheet.

    I need a way (if possible) whereby a user enters phone number 12345678 and as soon as they press enter or leave the active cell, a matching entry is located elsewhere on a different sheet, notifying the user of a duplicate entry.

    My VB is not so good so i dont really know where to start.

    Thanks
    Last edited by de049; 07-08-2008 at 07:16 AM. Reason: wrong title

+ 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