Share via

Validation rules in excel not working?

Anonymous
2018-05-08T19:56:14+00:00

If you Drag cells down to Auto-fill they ignore validation rules?

I've created a two part validation for data entry.  The first allows you to enter a site name from a list of sites.  If you enter an inappropriate name you get an error message, perfect.  Each of those sites has four possible survey stations at it.  I set up a second validation that only allows you to enter one of the 4 stations that go with a given site.  The station names are whole numbers.  If you enter the value in the cell and it is not correct you get the error message I set up.  However if you drag the cell to autofill a column it will increase the value by one (like a normal autofill) but it will allow values that do not fit the validation with no error message.

Why is it allowing cells that don't fit the validation with the drag feature?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2018-05-12T09:43:34+00:00

    Sorry Sunjellie

    There is no official way to keep Validation form Auto-fill in excel.

    Any member who has similar experiences are welcome to share your solution here.

    Regards

    Alex

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-05-11T14:52:56+00:00

    Okay, Thank you.

    Is there a way to change this?

    For most of the data entry it is not an issue because the cells are being entered individually.  But since the metadata for each of these files is the same for all the records it is common and easiest for these columns to be autofilled after the first entry.  My enterers are weary of the sequential auto-fill but through a couple of hundred files per year one or two always slips through. 

    Thanks again for your response

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-05-09T07:55:49+00:00

    Hi Sunjellie,

    When you use Drag to Auto-Fill the cells, it removes the validations you set for the cells, because Auto-Fill have higher priority for cells.

    If you have ideas about this, welcome to post and vote for your ideas in Microsoft User Voice.

    Regards,

    Alex

    Was this answer helpful?

    0 comments No comments