• Data Validation

    Author
    Topic
    #466196

    Lounger,

    I have data validation using the following formula – =OFFSET(Planner!$C$8,0,0,COUNTA(Planner!$C:$C),1)

    This works fine, however it appeas that there is no protection to prevent invalid data being entered into the cell as with normal data validation.

    Am I doing something wrong or can the offset formula be altered to prevent this.

    Any thoughts

    Viewing 4 reply threads
    Author
    Replies
    • #1206989

      I can only add data that is contained within the cells specified by your offset formula.
      Can you post a sample workbook that is exhibiting the issue?

    • #1206993

      Mbarron

      Thanks for your reply – please see the cut down version of the spread sheet showing the entry into a cell with a data validation list.

      Cheers

    • #1206996

      Change the offset to not include the entire C column. Something like “=OFFSET(Planner!$C$8,0,0,COUNTA(Planner!$C$8:$C$100),1).
      or
      You can keep the Offset() as is but make sure the Ignore Blanks is not checked

      and

      Make sure the Error Alert Type is set to Stop and not Warning or Information. D7:D9 are Stops, while D10 is set as a Warning will still allow for items not on the list to be accepted

    • #1206997

      Lounger,

      I have data validation using the following formula – =OFFSET(Planner!$C$8,0,0,COUNTA(Planner!$C:$C),1)

      This works fine, however it appeas that there is no protection to prevent invalid data being entered into the cell as with normal data validation.

      Am I doing something wrong or can the offset formula be altered to prevent this.

      Any thoughts

      When setting up data validation you have the option of setting an error message when invalid data is entered. See attached picture.

      Regards,
      Maria

    • #1206999

      Thanks for all your replies.

      Will give your suggestions a go

      Cheers

    Viewing 4 reply threads
    Reply To: Data Validation

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: