+ Reply to Thread
Results 1 to 2 of 2

Data validation based on other criteria.

Hybrid View

  1. #1
    Registered User
    Join Date
    10-01-2006
    Posts
    15

    Data validation based on other criteria.

    Hello,


    I want to validate the data in each cell in a given column, based on the data in another column for the same row, then move to the next row and so on.


    Example


    A1 = APPLE so B1 must be GREEN or RED.


    I want to put the list of acceptable inputs in another worksheet so they can be referenced and amended easily.


    Any errors identified would need to be counted and the row copied to a report worksheet



    Can someone help?


    Ps – I have tried using normal data validation but am unsure of how to have the input checked against another column entry. I would like to try out both methods if it can be done?


    Matt

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    If i follow you you want to pick apple in Col A and then Col B would give you the option of Green or Red.

    If that's the case this link should help. There are examples you can dowload

    http://www.contextures.com/xlDataVal13.html#Depend

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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