+ Reply to Thread
Results 1 to 6 of 6

DropDown list of Column A based on Column B of a table

  1. #1
    Registered User
    Join Date
    07-01-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Unhappy DropDown list of Column A based on Column B of a table

    Hi All,

    I have a table like

    Test No Validity
    1 TRUE
    2 TRUE
    3 FALSE
    4 TRUE
    5 FALSE
    6 FALSE



    I want to create a dropdown which shows only the 'Test No' whose validity is TRUE. In this case only 1,2,4
    The list should dnamically change when i change the validity.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: DropDown list of Column A based on Column B of a table

    extract the values that meets the criteria "yes" then from those extracted values create the validation.

    look sample attachment.

    validation list.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    07-01-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: DropDown list of Column A based on Column B of a table

    Thanks a ton vlady... \m/

  4. #4
    Registered User
    Join Date
    07-01-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Red face Re: DropDown list of Column A based on Column B of a table

    Dear vlady,
    Could you please explain the usage SMALL(IF(yes="yes",ROW(sam)-ROW($A$2)+1),ROWS($E$2:E2)) esp the what you intend to do with ROW(sam)-ROW($A$2)+1 in the formula: IFERROR(INDEX(sam,SMALL(IF(yes="yes",ROW(sam)-ROW($A$2)+1),ROWS($E$2:E2))),"")

    My brain is too tiny to understand this.

    Thanks in advance.

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: DropDown list of Column A based on Column B of a table

    I have trouble explaining things but try my best

    yes and sam are the named ranges

    IF(yes="yes" -> array returns true or false
    ROW(sam)-ROW($A$2)+1 -> ROW(sam) get array count position row 2,3,4,5,6 -ROW($A$2) subtract 2 come 0,1,2,3,4 +1 drops 0 add one position becomes 1,2,3,4,5

    if statement then compares the values of sam that became true and false to the position 1,2,3,4,5 in the sample that is true,true,false,false,true so 1,2,false,false,5

    ROWS($E$2:E2) gets how many cells are there so 1
    1 becomes 1st smallest in the function small(range,1)

    small({1,2,false,false,5},1

    when you drag down ROWS($E$2:E3) so there are 2 cells small(range,2)

  6. #6
    Registered User
    Join Date
    07-01-2013
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: DropDown list of Column A based on Column B of a table

    Thank u... u r actually good in it..

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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