+ Reply to Thread
Results 1 to 4 of 4

Data Validation allowing any value

  1. #1
    Registered User
    Join Date
    12-01-2015
    Location
    Selby
    MS-Off Ver
    2013
    Posts
    66

    Data Validation allowing any value

    I have a a couple lists of data that I want in a drop-down but despite setting the Error Alert to Stop and checking the Show error alert after invalid data is entered, the cell is still enabling any values to be entered.

    This is something I have encountered previously and I can't remember how I fixed it but I would have thought this shouldn't happen....?


    TIA

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data Validation allowing any value

    If you are allowing any value as the subject suggests then there is nothing to disallow?

    What have you picked for the 'Allow' box?

    I suggest you upload the workbook so that we can see in context.
    Last edited by Richard Buttrey; 05-26-2016 at 10:37 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-01-2015
    Location
    Selby
    MS-Off Ver
    2013
    Posts
    66

    Re: Data Validation allowing any value

    OK, I managed to establish what was happening and its a seems to be a little strange.

    I am using the drop-down for a dynamic list of data.

    The list of data starts in cell A3 and can be any number of items long.

    Cell A2 has a range name of DataStart (I use the cell directly above the start of the data for the label in case anyone deletes the data by deleting the rows rather than hitting delete and when the headers are protected, this ensures the range name isn't lost).

    Cell A1 has a count of of the items in the list starting at A3 down to A500 and this cell has a name range of DataCount. So if there are 75 items in the list then my count returns 75.

    Cell C1 has the following formula where you can specify the range of data for the drop-down to create a dynamic list =OFFSET(DataStart,1,0,DataCount). All the relevant check boxes to stop invalid entries are checked but this still allows an invalid entry.

    Now if I change the DataStart named range to cell A3 and the Offset formula to =OFFSET(DataStart,0,0,DataCount), this works and stops invalid entries.

    Both options effectively do the same thing but the first one doesn't do as it's told!

    Is this a bug in Excel that needs reporting?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data Validation allowing any value

    Hi,

    As I said, upload the workbook so that we can see the problem of which you speak in context.

+ 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 Allowing Free Text
    By bigtunelover in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-19-2016, 11:55 AM
  2. Data validation not allowing duplicate entries
    By vboz5 in forum Excel General
    Replies: 1
    Last Post: 03-30-2016, 09:41 AM
  3. Data validation allowing multiple choices - issue with Pivot tables
    By AnnieParadis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2016, 10:29 AM
  4. Replies: 3
    Last Post: 01-08-2015, 11:47 AM
  5. Data Validation allowing each option to be chosen only once?
    By soprano_lou in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-28-2013, 03:02 AM
  6. Data validation list allowing errors?
    By Pyrex238 in forum Excel General
    Replies: 5
    Last Post: 01-17-2013, 02:33 PM
  7. Data Validation allowing invalid entries
    By Simon1185 in forum Excel General
    Replies: 7
    Last Post: 10-19-2010, 09:15 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