+ Reply to Thread
Results 1 to 6 of 6

Issue with Data Validation

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Issue with Data Validation

    I am using data validation on one of my columns to only allow the user to enter data from a list. The list sources a dynamic range but the data is usually 1st, 2nd, 3rd. The problem I have is if the user clicks in the bottom right corner of a cell in this column and drags down to copy the data to multiple cells, rather than copying the same data excel automatically goes up (4th, 5th, 6th....etc), and it doesn't get prevented by the data validation. How can I stop this from happening?

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Issue with Data Validation

    hi check whether cell references are locked under data validation> settings> source shoud be like this =$H$1:$H$3 not like this =H1:H3
    Click just below left if it helps, Boo?ath?

  3. #3
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Issue with Data Validation

    The range is defined by a named dynamic range, as the user can add to it using a form. This is the formula for the range:
    =OFFSET(UnitList!$A$1,0,0,COUNTA(UnitList!$A:$A),1)

    I dont think this makes much difference though. I tested a column with a manually defined list of 1st, 2nd, 3rd, and it still allows the user to click in the corner and drag down to input 4th, 5th, 6th etc which isn't in the list. See column A on attached workbook.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Issue with Data Validation

    Anyone have any thoughts on this issue?

  5. #5
    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,936

    Re: Issue with Data Validation

    That is 1 of the short-comings of DV, copy/paste will get past the DD rules
    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

  6. #6
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Issue with Data Validation

    I already have a macro which allows the user to easily duplicate data down to cells below, but users that already have some excel knowledge are used to clicking and dragging down and it really messes things up in the workbook. Is there not a way to disable this, as I dont need this functionality (since I have added macros to basically do the same thing)?

+ 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. Data Validation Issue
    By hemanth01 in forum Excel General
    Replies: 1
    Last Post: 09-04-2014, 11:20 AM
  2. Data Validation issue
    By TranceDiablo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2011, 10:54 PM
  3. Excel 2007 : Data validation issue
    By fastbiker in forum Excel General
    Replies: 2
    Last Post: 02-01-2010, 07:10 PM
  4. Data validation issue
    By fastbiker in forum Excel General
    Replies: 1
    Last Post: 01-29-2010, 08:05 PM
  5. Data Validation issue
    By cispus78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2009, 06:14 PM

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