+ Reply to Thread
Results 1 to 6 of 6

how to make a conditional AND with limited selection drop down list

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    8

    Question how to make a conditional AND with limited selection drop down list

    Hi all,

    I want to make a conditionnal drop down list and also limit the selection to the data input in my source column.
    I know how to do these two things separatly, but when I try to use them both it doesn't work.

    Here is what I've tried to do : I first name my source column and limit it to the data input : Company=OFFSET('Data'!$A$2;0;0;COUNTA('Data'!$A:$A)-1;1)
    Then I use the indirect formula for the conditional list in B2 : Data Validation / List =INDIRECT($A2)
    (A2=Company)

    But then I cannot select anything.

    Does anyone know how to make this work ?

    Many thanks!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: how to make a conditional AND with limited selection drop down list

    Both OFFSET and INDIRECT are volatile functions, and as such you can't use them in conjunction with one another. You will need to define Company using INDEX rather than OFFSET.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-18-2013
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to make a conditional AND with limited selection drop down list

    Thank you for your answer, but I've tried it using
    Company='Data'!$A$2:INDEX('Data'!$A:$A;COUNTA('Data'!$A:$A)-1
    but it doesn't work as well.

    Do you think that I could try something else ?

    Thanks a lot

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: how to make a conditional AND with limited selection drop down list

    In Name Manager you need to define Company as follows:

    =Data!$A$2:INDEX(Data!$A:$A,COUNTA(Data!$A:$A))

    which assumes that data is contiguous and that A1 is the header.

    Hope this helps.

    Pete

    EDIT: you should use a semicolon ( ; ) instead of the comma ( , )
    Last edited by Pete_UK; 12-11-2015 at 07:42 PM.

  5. #5
    Registered User
    Join Date
    11-18-2013
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to make a conditional AND with limited selection drop down list

    Hi,

    I don't understand what I'm doing wrong but it still doesn't work. Here is my file.
    Test list indirect.xlsx

    Could anyone help me?

    Thanks a lot

  6. #6
    Registered User
    Join Date
    11-18-2013
    Location
    Paris
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: how to make a conditional AND with limited selection drop down list

    Help anyone? Thank you!

+ 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: 4
    Last Post: 05-15-2015, 11:29 AM
  2. Make same selection for multiple drop down list and clear all for all dropdown list
    By salomip13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2014, 01:34 PM
  3. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  4. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  5. Replies: 0
    Last Post: 08-01-2012, 08:44 PM
  6. How to make a multiple-selection drop down list?
    By Cuibi in forum Excel General
    Replies: 1
    Last Post: 06-24-2009, 01:09 AM
  7. Drop Down List:make the selection
    By diannk in forum Excel General
    Replies: 4
    Last Post: 08-19-2007, 01:59 PM

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