+ Reply to Thread
Results 1 to 7 of 7

Data Validation List based on criteria

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Data Validation List based on criteria

    Hello,

    I have column A which could have 3 Products - ProductA, ProductB & ProductC.

    My question now, whenever it's ProductC, how do I list out (i.e. Canada, USA, Mexico) on Column B through Data Validation List?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data Validation List based on criteria

    Follow instructions here: http://www.contextures.com/xlDataVal02.html
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Data Validation List based on criteria

    Hi dluhut..

    This type of Data Validation are known as "Dependent Data Validation" Check the below link for more detail..
    http://www.contextures.com/xlDataVal02.html
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Data Validation List based on criteria

    Thanks...quick question, is it possible for the named range to use the INDIRECT fuction be multiple words with spaces? If not, is there any way around it?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data Validation List based on criteria

    The named ranges must be single words, but you can then change the indirect formula to match those names with SUBSTITUTE function.

    Eg. If you have "Product A" as a selection, then name the related table ProductA

    Then you can use formula: =INDIRECT(SUBSTITITE(A2," ",""))

    It's shown in same article, further down under title: Using Two-Word Items
    Last edited by NBVC; 11-27-2014 at 04:41 PM.

  6. #6
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: Data Validation List based on criteria

    Wondering if it's possible to have column B, using data validation or anything, to reference a cell when column A is ProductA.

    In Short:
    If column A is ProductC, dependent data validation.
    If Column A is ProductA, =somecolumn of the same row. i.e. ZA1
    If Column A is ProductB or blank, blank

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data Validation List based on criteria

    No, not without involving possible some VBA.

+ 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. Replies: 1
    Last Post: 07-13-2012, 10:11 AM
  2. [SOLVED] Create Dynamic Data Validation List based upon Criteria
    By stubbsj in forum Excel General
    Replies: 6
    Last Post: 06-04-2012, 08:33 AM
  3. Replies: 0
    Last Post: 02-13-2012, 07:18 AM
  4. Replies: 3
    Last Post: 08-21-2011, 08:22 PM
  5. data validation list should have opt. to select based on criteria
    By be in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-15-2005, 09:05 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