+ Reply to Thread
Results 1 to 3 of 3

Message to alert user of pasting a duplicate number into the same column

  1. #1
    Registered User
    Join Date
    10-19-2015
    Location
    TEXAS
    MS-Off Ver
    EXCEL2013
    Posts
    4

    Message to alert user of pasting a duplicate number into the same column

    Hello, I am looking for a way to make an alert for a user if they paste a duplicate number into a column. Something that states 'duplicate number in column c'. I have looked into the basic functions in excel for manually entering in the number, pasting over-rides the function. Thank you all for your help in advance.

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Message to alert user of pasting a duplicate number into the same column

    Try data validation with a custom formula,

    Select the entire column C > Data (ribbon) > Data Validation > Select "Data Validation..." > Allow: "Custom" and type in the formula:

    =AND(ISNUMBER(C1),COUNTIF(C:C,C1)=1)

    for unique numbers (only).

    Cheers,
    berlan

    EDIT: you also need to edit the "Error Alert" under the data validation, if not "Stop"(as default) then change to "Warning" with an error message...
    Last edited by berlan; 10-19-2015 at 06:30 PM.

  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,929

    Re: Message to alert user of pasting a duplicate number into the same column

    Pasting bypasses DV rules, so perhaps set up another cell somewhere that will alert you to a duplicate entry/pasting?
    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

+ 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] number of word found and alert message
    By GAVIOTA ONE in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-26-2015, 06:31 AM
  2. Replies: 8
    Last Post: 06-25-2015, 08:59 AM
  3. Message Alert for Missing Serial Number: chhalleng
    By Jinn.star in forum Excel General
    Replies: 6
    Last Post: 01-23-2014, 07:37 AM
  4. Replies: 2
    Last Post: 03-09-2013, 10:14 PM
  5. New message alert... doesn't ALERT me very well
    By Xx7 in forum Outlook Formatting & Functions
    Replies: 6
    Last Post: 07-20-2011, 03:54 PM
  6. Alert User of Duplicate Entry
    By dreicer_Jarr in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-16-2011, 03:32 AM
  7. Replies: 1
    Last Post: 07-12-2006, 05:48 PM

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