+ Reply to Thread
Results 1 to 5 of 5

How to prevent input duplicate name of the same date?

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    How to prevent input duplicate name of the same date?

    On my data, one person just for one date on the same date.
    How to prevent input duplicate name on the same date?
    for the explanation. please, look the pic below.

    duplicate.jpg
    Attached Images Attached Images
    Last edited by putritersenyum; 03-15-2016 at 06:13 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: How to prevent input duplicate name of the same date?

    Please post a small sample Excel file as many of us cannot view PNG images plus the file provides data to test any formulae against.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to prevent input duplicate name of the same date?

    You can use data validation to do this.

    Select the entire range B1:B7

    Goto the Data tab>Data Validation
    Allow: Custom
    Formula: =COUNTIFS(A$1:A1,A1,B$1:B1,B1)=1

    You can include custom input/error messages if desired.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to prevent input duplicate name of the same date?

    Thanks Tony Valko it works

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to prevent input duplicate name of the same date?

    You're welcome. Thanks for the feedback!

+ 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. Prevent duplicate entry
    By treyes55 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2014, 01:31 PM
  2. How to prevent duplicate entries due to date.
    By adriel19pr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2014, 01:46 PM
  3. Replies: 0
    Last Post: 06-14-2012, 12:38 PM
  4. How to prevent duplicate using randbetween?
    By kefalo84 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-30-2011, 12:44 PM
  5. Prevent Duplicate Entries
    By whousedmy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-17-2010, 11:40 AM
  6. How to prevent duplicate value printing ?
    By daksh1981 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-13-2010, 11:30 AM
  7. Prevent input of formulas
    By TEAM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-11-2005, 06:40 AM

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